Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Oct 18, 2024
1 parent 1adddfe commit bb78551
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/zep_cloud/user/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -378,7 +378,7 @@ def get_sessions(
Returns
-------
typing.List[typing.List[Session]]
typing.List[Session]
OK
Examples
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -766,7 +766,7 @@ async def get_sessions(
Returns
-------
typing.List[typing.List[Session]]
typing.List[Session]
OK
Examples
Expand All @@ -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
Expand Down

0 comments on commit bb78551

Please sign in to comment.