diff --git a/libs/sdk-py/langgraph_sdk/client/sync_client.py b/libs/sdk-py/langgraph_sdk/client/sync_client.py index 1c99625f8..1b21d2afc 100644 --- a/libs/sdk-py/langgraph_sdk/client/sync_client.py +++ b/libs/sdk-py/langgraph_sdk/client/sync_client.py @@ -378,7 +378,7 @@ class SyncAssistantsClient: """ # noqa: E501 return self.http.get(f"/assistants/{assistant_id}/schemas") - async def get_subgraphs( + def get_subgraphs( self, assistant_id: str, namespace: Optional[str] = None, recurse: bool = False ) -> Subgraphs: """Get the schemas of an assistant by ID. @@ -391,12 +391,12 @@ class SyncAssistantsClient: """ # noqa: E501 if namespace is not None: - return await self.http.get( + return self.http.get( f"/assistants/{assistant_id}/subgraphs/{namespace}", params={"recurse": recurse}, ) else: - return await self.http.get( + return self.http.get( f"/assistants/{assistant_id}/subgraphs", params={"recurse": recurse}, )