Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeOpcUa/python-opcua
/ __enter__
Method
__enter__
opcua/server/server.py:115–117 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
113
self._policyIDs = [
"Anonymous"
,
"Basic256Sha256"
,
"Username"
]
114
115
def
__enter__(self):
116
self.start()
117
return
self
118
119
def
__exit__(self, exc_type, exc_value, traceback):
120
self.stop()
Callers
nothing calls this directly
Calls
1
start
Method · 0.95
Tested by
no test coverage detected