Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
106
def
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_name
Method · 0.90
test_get_node_name
Method · 0.90
test_initialize_reuses_nodes_cache_nodes_in_slots_cache
Method · 0.90
_execute_command
Method · 0.90
__init__
Method · 0.90
get_node
Method · 0.90
initialize
Method · 0.90
_execute_command
Method · 0.85
__init__
Method · 0.85
get_node
Method · 0.85
_get_or_create_cluster_node
Method · 0.85
find_connection_owner
Method · 0.85
Calls
no outgoing calls
Tested by
3
test_get_node_name
Method · 0.72
test_get_node_name
Method · 0.72
test_initialize_reuses_nodes_cache_nodes_in_slots_cache
Method · 0.72