MCPcopy
hub / github.com/redis/redis-py / get_node_name

Function get_node_name

redis/cluster.py:106–107  ·  view source on GitHub ↗
(host: str, port: Union[str, int])

Source from the content-addressed store, hash-verified

104
105
106def get_node_name(host: str, port: Union[str, int]) -> str:
107 return f"{host}:{port}"
108
109
110@deprecated_args(

Callers 12

test_get_node_nameMethod · 0.90
test_get_node_nameMethod · 0.90
_execute_commandMethod · 0.90
__init__Method · 0.90
get_nodeMethod · 0.90
initializeMethod · 0.90
_execute_commandMethod · 0.85
__init__Method · 0.85
get_nodeMethod · 0.85
find_connection_ownerMethod · 0.85

Calls

no outgoing calls