Skip to content

Commit

Permalink
Python: replace all commands links to valkey (#1762)
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamazon authored Jul 3, 2024
1 parent 3168f34 commit f7ba355
Show file tree
Hide file tree
Showing 5 changed files with 185 additions and 185 deletions.
24 changes: 12 additions & 12 deletions python/python/glide/async_commands/cluster_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def info(
) -> TClusterResponse[bytes]:
"""
Get information and statistics about the Redis server.
See https://redis.io/commands/info/ for details.
See https://valkey.io/commands/info/ for details.
Args:
sections (Optional[List[InfoSection]]): A list of InfoSection values specifying which sections of
Expand Down Expand Up @@ -109,7 +109,7 @@ async def config_resetstat(
) -> TOK:
"""
Resets the statistics reported by Redis using the INFO and LATENCY HISTOGRAM commands.
See https://redis.io/commands/config-resetstat/ for details.
See https://valkey.io/commands/config-resetstat/ for details.
Args:
route (Optional[Route]): The command will be routed automatically to all nodes, unless `route` is provided, in which
Expand All @@ -128,7 +128,7 @@ async def config_rewrite(
) -> TOK:
"""
Rewrite the configuration file with the current configuration.
See https://redis.io/commands/config-rewrite/ for details.
See https://valkey.io/commands/config-rewrite/ for details.
Args:
route (Optional[TRoute]): The command will be routed automatically to all nodes, unless `route` is provided, in which
Expand All @@ -151,7 +151,7 @@ async def client_id(
) -> TClusterResponse[int]:
"""
Returns the current connection id.
See https://redis.io/commands/client-id/ for more information.
See https://valkey.io/commands/client-id/ for more information.
Args:
route (Optional[Route]): The command will be sent to a random node, unless `route` is provided, in which
Expand All @@ -173,7 +173,7 @@ async def ping(
) -> bytes:
"""
Ping the Redis server.
See https://redis.io/commands/ping/ for more details.
See https://valkey.io/commands/ping/ for more details.
Args:
message (Optional[TEncodable]): An optional message to include in the PING command. If not provided,
Expand Down Expand Up @@ -201,7 +201,7 @@ async def config_get(
) -> TClusterResponse[Dict[bytes, bytes]]:
"""
Get the values of configuration parameters.
See https://redis.io/commands/config-get/ for details.
See https://valkey.io/commands/config-get/ for details.
Args:
parameters (List[TEncodable]): A list of configuration parameter names to retrieve values for.
Expand Down Expand Up @@ -233,7 +233,7 @@ async def config_set(
) -> TOK:
"""
Set configuration parameters to the specified values.
See https://redis.io/commands/config-set/ for details.
See https://valkey.io/commands/config-set/ for details.
Args:
parameters_map (Mapping[TEncodable, TEncodable]): A map consisting of configuration
Expand Down Expand Up @@ -262,7 +262,7 @@ async def client_getname(
) -> TClusterResponse[Optional[bytes]]:
"""
Get the name of the connection to which the request is routed.
See https://redis.io/commands/client-getname/ for more details.
See https://valkey.io/commands/client-getname/ for more details.
Args:
route (Optional[Route]): The command will be routed to a random node, unless `route` is provided,
Expand All @@ -288,7 +288,7 @@ async def client_getname(
async def dbsize(self, route: Optional[Route] = None) -> int:
"""
Returns the number of keys in the database.
See https://redis.io/commands/dbsize for more details.
See https://valkey.io/commands/dbsize for more details.
Args:
route (Optional[Route]): The command will be routed to all primaries, unless `route` is provided,
Expand All @@ -310,7 +310,7 @@ async def echo(
"""
Echoes the provided `message` back.
See https://redis.io/commands/echo for more details.
See https://valkey.io/commands/echo for more details.
Args:
message (TEncodable): The message to be echoed back.
Expand Down Expand Up @@ -490,7 +490,7 @@ async def fcall_route(
) -> TClusterResponse[TResult]:
"""
Invokes a previously loaded function.
See https://redis.io/commands/fcall/ for more details.
See https://valkey.io/commands/fcall/ for more details.
Args:
function (TEncodable): The function name.
Expand Down Expand Up @@ -560,7 +560,7 @@ async def time(
"""
Returns the server time.
See https://redis.io/commands/time/ for more details.
See https://valkey.io/commands/time/ for more details.
Args:
route (Optional[Route]): The command will be routed to a random node, unless `route` is provided,
Expand Down
Loading

0 comments on commit f7ba355

Please sign in to comment.