MCPcopy Create free account
hub / github.com/LabPy/lantz / initialize

Method initialize

lantz/drivers/legacy/network.py:63–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61 raise LantzSocketTimeoutError(str(e))
62
63 def initialize(self):
64 self.log_debug('Opening port {}', self.host_port)
65 return self.socket.connect(self.host_port)
66
67 def finalize(self):
68 self.log_debug('Closing port {}', self.host_port)

Callers

nothing calls this directly

Calls 2

log_debugMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected