Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeOpcUa/python-opcua
/ __enter__
Method
__enter__
opcua/client/client.py:141–143 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
139
self.max_chunkcount = 0
# No limits
140
141
def
__enter__(self):
142
self.connect()
143
return
self
144
145
def
__exit__(self, exc_type, exc_value, traceback):
146
self.disconnect()
Callers
nothing calls this directly
Calls
1
connect
Method · 0.95
Tested by
no test coverage detected