class documentation
Abstract interface for all UaObject implementations.
| Method | access |
Check whether user is currently allowed access to this UaObject. |
| Async Method | condition |
Check whether this object is ready as a dependency in composite skills, etc. |
| Property | full |
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 |
Raw OPC UA node. |
@abstractmethod
def access_allowed(self, user: UserAuthorization, *, lock_required: bool | None = None) -> bool:
¶
Check whether this object is ready as a dependency in composite skills, etc.
Subclasses that can be used as a dependency must override this method. Raises by default.
| Returns | |
bool | Always True, else an exception is raised. |
| Raises | |
UaStatusCodeError | If any dependency is not ready. |