From 8a0650a46bfb28bc4e19cbfb2d29312425c2b8f4 Mon Sep 17 00:00:00 2001 From: Vadym Barda Date: Tue, 29 Oct 2024 16:31:12 -0400 Subject: [PATCH] sdk-py: update docstrings (#2221) --- libs/sdk-py/langgraph_sdk/client.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libs/sdk-py/langgraph_sdk/client.py b/libs/sdk-py/langgraph_sdk/client.py index 8cf558f48..b523fe1d3 100644 --- a/libs/sdk-py/langgraph_sdk/client.py +++ b/libs/sdk-py/langgraph_sdk/client.py @@ -706,7 +706,10 @@ async def get_versions( """List all versions of an assistant. Args: - assistant_id: The assistant ID to delete. + assistant_id: The assistant ID to get versions for. + metadata: Metadata to filter versions by. Exact match filter for each KV pair. + limit: The maximum number of versions to return. + offset: The number of versions to skip. Returns: list[Assistant]: A list of assistants. @@ -2803,7 +2806,10 @@ def get_versions( """List all versions of an assistant. Args: - assistant_id: The assistant ID to delete. + assistant_id: The assistant ID to get versions for. + metadata: Metadata to filter versions by. Exact match filter for each KV pair. + limit: The maximum number of versions to return. + offset: The number of versions to skip. Returns: list[Assistant]: A list of assistants.