class documentation

Callable interface, shared base for AbstractSkill and AbstractMethod.

Async Method _condition_access_allowed Check if the provided user has access to this skill.
Async Method _condition_dependencies_ready Check whether ALL dependencies are ready (different meaning for different types).
Async Method _condition_startup_completed Check whether the parent component/machine startup is completed.

Inherited from AbstractUaObject:

Method access_allowed Check whether user is currently allowed access to this UaObject.
Async Method condition_as_dependency_ready Check whether this object is ready as a dependency in composite skills, etc.
Property full_name Return the full name including the names of all parents, separated by '/'.
Property lock Lock instance protecting this UaObject.
Property logger Logger associated with the UaObject instance.
Property name Name of the UaObject.
Property path Return the full path of the object.
Property server Server instance.
Property ua_node Raw OPC UA node.
@abstractmethod
async def _condition_access_allowed(self, user: UserAuthorization) -> bool:

Check if the provided user has access to this skill.

The User must either be an admin (asyncua internal user), or must own the Lock protecting this skill and a current access level greater or equal to this skill's minimum access level.

@abstractmethod
async def _condition_dependencies_ready(self, _user: UserAuthorization) -> bool:

Check whether ALL dependencies are ready (different meaning for different types).

Returns
boolAlways True, else an exception is raised.
Raises
UaStatusCodeErrorIf any dependency is not ready.
@abstractmethod
async def _condition_startup_completed(self, user: UserAuthorization) -> bool:

Check whether the parent component/machine startup is completed.