class documentation

class Dependency:

View In Hierarchy

Dataclass to hold information about a dependency.

Class Variable attributeName Name of the attribute that holds the dependency in the PluginManager instance.
Class Variable className Name of the class that provides the dependency.
Class Variable isFunction Whether the dependency is a function (provided by @provide)
Class Variable pluginName Name of the plugin that provides the dependency.
Class Variable provided Dependency is provided by other class instances or a functions.
Class Variable required Whether the dependency is required or optional.
Class Variable resolved Whether the dependency is resolved.
attributeName: str =

Name of the attribute that holds the dependency in the PluginManager instance.

className: str =

Name of the class that provides the dependency.

isFunction: bool =

Whether the dependency is a function (provided by @provide)

pluginName: str =

Name of the plugin that provides the dependency.

provided: bool =

Dependency is provided by other class instances or a functions.

required: bool =

Whether the dependency is required or optional.

resolved: bool =

Whether the dependency is resolved.