exopy.tasks.infos module¶
Objects used to store tasks, interfaces and configs in the manager.
-
class
exopy.tasks.infos.ObjectDependentInfos(**kwargs)[source]¶ Bases:
atom.atom.AtomBase infos for tasks and interfaces.
-
DRIVER_ANALYSER¶ Id of the runtime dependency analyser to use for driver detection to add to the dependencies if instruments is set.
-
PROFILE_ANALYSER¶ Id of the runtime dependency analyser to use for profile detection to add to the dependencies if instruments is set.
-
instruments¶ Set of instrument supported by this task. This should never be updated in place, it should always be copied and replaced by the new value.
-
dependencies¶ Runtime dependencies ids of this object.
-
interfaces¶ InterfaceInfos}.
- Type
Dict of interfaces supported by this object as {id
-
-
class
exopy.tasks.infos.TaskInfos(**kwargs)[source]¶ Bases:
exopy.tasks.infos.ObjectDependentInfosAn object used to store informations about a task.
-
cls¶ Class representing this task.
-
view¶ Widget associated with this task.
-
metadata¶ Metadata associated with this task such as group, looping capabilities, etc
-
DRIVER_ANALYSER¶ A value of type str.
Under Python 2 this is a byte string and behaves as Bytes with respect to promotion, under Python 3 it is a unicode string and behaves as Unicode with respect to promotion.
The use of this member is discouraged in Python 2/3 compatible codebase as Bytes and Unicode provide a more homogeneous behavior.
-
PROFILE_ANALYSER¶ A value of type str.
Under Python 2 this is a byte string and behaves as Bytes with respect to promotion, under Python 3 it is a unicode string and behaves as Unicode with respect to promotion.
The use of this member is discouraged in Python 2/3 compatible codebase as Bytes and Unicode provide a more homogeneous behavior.
-
-
class
exopy.tasks.infos.InterfaceInfos(**kwargs)[source]¶ Bases:
exopy.tasks.infos.ObjectDependentInfosAn object used to store informations about an interface.
-
cls¶ Class representing this interface.
-
views¶ Widgets associated with this interface.
-
parent¶ Parent task or interface infos.
-
DRIVER_ANALYSER¶ A value of type str.
Under Python 2 this is a byte string and behaves as Bytes with respect to promotion, under Python 3 it is a unicode string and behaves as Unicode with respect to promotion.
The use of this member is discouraged in Python 2/3 compatible codebase as Bytes and Unicode provide a more homogeneous behavior.
-
PROFILE_ANALYSER¶ A value of type str.
Under Python 2 this is a byte string and behaves as Bytes with respect to promotion, under Python 3 it is a unicode string and behaves as Unicode with respect to promotion.
The use of this member is discouraged in Python 2/3 compatible codebase as Bytes and Unicode provide a more homogeneous behavior.
-