MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / get_access_level

Method get_access_level

opcua/common/node.py:104–109  ·  view source on GitHub ↗

Get the access level attribute of the node as a set of AccessLevel enum values.

(self)

Source from the content-addressed store, hash-verified

102 return opcua.common.ua_utils.data_type_to_variant_type(Node(self.server, result.Value.Value))
103
104 def get_access_level(self):
105 """
106 Get the access level attribute of the node as a set of AccessLevel enum values.
107 """
108 result = self.get_attribute(ua.AttributeIds.AccessLevel)
109 return ua.AccessLevel.parse_bitfield(result.Value.Value)
110
111 def get_user_access_level(self):
112 """

Callers

nothing calls this directly

Calls 2

get_attributeMethod · 0.95
parse_bitfieldMethod · 0.80

Tested by

no test coverage detected