Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/kubernetes-client/python
/ close
Method
close
kubernetes/base/stream/ws_client.py:346–348 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
344
return
self.local_ports[port_number].error
345
346
def
close(self):
347
for
port in self.local_ports.values():
348
port.socket.close()
349
350
class
_Port:
351
def
__init__(self, ix, port_number):
Callers
nothing calls this directly
Calls
2
values
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected