This file contains the static entry point to access the controller instance from anywhere without having a reference
to it and to prevent issues with circular imports.
Please import this from the ``pyplanet.core`` package instead!
def __init__(self, *args, **kwargs):
self.name = None
self.__instance = None
def prepare(self, name):
from pyplanet.core.instance import Instance
self.name = name
self.__instance = Instance(name)
Get active instance in current process.
:return: Controller Instance
Controller = _Controller()
Controller access point to prevent circular imports. This is a lazy provided way to get the instance from anywhere!