TaurusConfigurationProxy

Inheritance diagram of TaurusConfigurationProxy
class TaurusConfigurationProxy(**kwargs)[source]

TaurusAttribute has a reference to TaurusConfiguration and it should also have a reference to TaurusAttribute. To solve this cyclic dependency, TaurusConfiguration has a weak reference to TaurusAttribute. But then we must be sure that no other references to TaurusConfiguration exist so that no one tries to use it after its TaurusAttribute has disappeared. That’s why to the outside world we don’t give access to it directly but to objects of this new TaurusConfigurationProxy class.

Import from taurus.core.taurusconfiguration as:

from taurus.core.taurusconfiguration import TaurusConfigurationProxy
getRealConfigClass()[source]