Skip to content

Commit

Permalink
Python: Update docstring links (valkey-io#1755)
Browse files Browse the repository at this point in the history
Update python functions docstring links

A number of the docstrings for python functions are using an old URL
pattern which currently results in 404 errors. Updating URLs to new
pattern.
  • Loading branch information
Cole-Greer authored and cyip10 committed Jul 16, 2024
1 parent 685595a commit 8e2693b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions python/python/glide/async_commands/cluster_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ async def function_load(
"""
Loads a library to Redis.
See https://valkey.io/docs/latest/commands/function-load/ for more details.
See https://valkey.io/commands/function-load/ for more details.
Args:
library_code (TEncodable): The source code that implements the library.
Expand Down Expand Up @@ -367,7 +367,7 @@ async def function_flush(
"""
Deletes all function libraries.
See https://valkey.io/docs/latest/commands/function-flush/ for more details.
See https://valkey.io/commands/function-flush/ for more details.
Args:
mode (Optional[FlushMode]): The flushing mode, could be either `SYNC` or `ASYNC`.
Expand Down Expand Up @@ -398,7 +398,7 @@ async def function_delete(
"""
Deletes a library and all its functions.
See https://valkey.io/docs/latest/commands/function-delete/ for more details.
See https://valkey.io/commands/function-delete/ for more details.
Args:
library_code (TEncodable): The library name to delete
Expand Down
6 changes: 3 additions & 3 deletions python/python/glide/async_commands/standalone_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async def function_load(
"""
Loads a library to Redis.
See https://valkey.io/docs/latest/commands/function-load/ for more details.
See https://valkey.io/commands/function-load/ for more details.
Args:
library_code (TEncodable): The source code that implements the library.
Expand Down Expand Up @@ -269,7 +269,7 @@ async def function_flush(self, mode: Optional[FlushMode] = None) -> TOK:
"""
Deletes all function libraries.
See https://valkey.io/docs/latest/commands/function-flush/ for more details.
See https://valkey.io/commands/function-flush/ for more details.
Args:
mode (Optional[FlushMode]): The flushing mode, could be either `SYNC` or `ASYNC`.
Expand All @@ -295,7 +295,7 @@ async def function_delete(self, library_name: TEncodable) -> TOK:
"""
Deletes a library and all its functions.
See https://valkey.io/docs/latest/commands/function-delete/ for more details.
See https://valkey.io/commands/function-delete/ for more details.
Args:
library_code (TEncodable): The library name to delete
Expand Down
6 changes: 3 additions & 3 deletions python/python/glide/async_commands/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,7 @@ def function_load(
"""
Loads a library to Redis.
See https://valkey.io/docs/latest/commands/function-load/ for more details.
See https://valkey.io/commands/function-load/ for more details.
Args:
library_code (TEncodable): The source code that implements the library.
Expand All @@ -1891,7 +1891,7 @@ def function_flush(
"""
Deletes all function libraries.
See https://valkey.io/docs/latest/commands/function-flush/ for more details.
See https://valkey.io/commands/function-flush/ for more details.
Args:
mode (Optional[FlushMode]): The flushing mode, could be either `SYNC` or `ASYNC`.
Expand All @@ -1910,7 +1910,7 @@ def function_delete(self: TTransaction, library_name: TEncodable) -> TTransactio
"""
Deletes a library and all its functions.
See https://valkey.io/docs/latest/commands/function-delete/ for more details.
See https://valkey.io/commands/function-delete/ for more details.
Args:
library_code (TEncodable): The library name to delete
Expand Down

0 comments on commit 8e2693b

Please sign in to comment.