From bb78551058b2774911d2d4fd29043faf23097067 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 02:12:52 +0000 Subject: [PATCH] SDK regeneration --- src/zep_cloud/user/client.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/zep_cloud/user/client.py b/src/zep_cloud/user/client.py index 8525a30..59c8c25 100644 --- a/src/zep_cloud/user/client.py +++ b/src/zep_cloud/user/client.py @@ -364,7 +364,7 @@ def get_facts(self, user_id: str, *, request_options: typing.Optional[RequestOpt def get_sessions( self, user_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[typing.List[Session]]: + ) -> typing.List[Session]: """ list all sessions for a user by user id @@ -378,7 +378,7 @@ def get_sessions( Returns ------- - typing.List[typing.List[Session]] + typing.List[Session] OK Examples @@ -396,7 +396,7 @@ def get_sessions( f"users/{jsonable_encoder(user_id)}/sessions", method="GET", request_options=request_options ) if 200 <= _response.status_code < 300: - return pydantic_v1.parse_obj_as(typing.List[typing.List[Session]], _response.json()) # type: ignore + return pydantic_v1.parse_obj_as(typing.List[Session], _response.json()) # type: ignore if _response.status_code == 500: raise InternalServerError( pydantic_v1.parse_obj_as(types_api_error_ApiError, _response.json()) # type: ignore @@ -752,7 +752,7 @@ async def get_facts( async def get_sessions( self, user_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[typing.List[Session]]: + ) -> typing.List[Session]: """ list all sessions for a user by user id @@ -766,7 +766,7 @@ async def get_sessions( Returns ------- - typing.List[typing.List[Session]] + typing.List[Session] OK Examples @@ -784,7 +784,7 @@ async def get_sessions( f"users/{jsonable_encoder(user_id)}/sessions", method="GET", request_options=request_options ) if 200 <= _response.status_code < 300: - return pydantic_v1.parse_obj_as(typing.List[typing.List[Session]], _response.json()) # type: ignore + return pydantic_v1.parse_obj_as(typing.List[Session], _response.json()) # type: ignore if _response.status_code == 500: raise InternalServerError( pydantic_v1.parse_obj_as(types_api_error_ApiError, _response.json()) # type: ignore