MCPcopy Create free account
hub / github.com/MLSysU/TD-Pipe / get_ip

Function get_ip

TD_Pipe/utils.py:60–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58
59
60def get_ip() -> str:
61 return socket.gethostbyname(socket.gethostname())
62
63
64def get_open_port() -> int:

Callers 3

get_node_ipMethod · 0.90
_init_workersMethod · 0.90
_init_workers_rayMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected