Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
60
def
get_ip() -> str:
61
return
socket.gethostbyname(socket.gethostname())
62
63
64
def
get_open_port() -> int:
Callers
3
get_node_ip
Method · 0.90
_init_workers
Method · 0.90
_init_workers_ray
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected