Skip to content

Commit a1b05c6

Browse files
committed
SDK regeneration
1 parent 20ae792 commit a1b05c6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/zep_cloud/memory/client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ def get_session_facts(
751751
*,
752752
min_rating: typing.Optional[float] = None,
753753
request_options: typing.Optional[RequestOptions] = None,
754-
) -> typing.List[typing.List[FactsResponse]]:
754+
) -> FactsResponse:
755755
"""
756756
get facts for a session
757757
@@ -768,7 +768,7 @@ def get_session_facts(
768768
769769
Returns
770770
-------
771-
typing.List[typing.List[FactsResponse]]
771+
FactsResponse
772772
The facts for the session.
773773
774774
Examples
@@ -789,7 +789,7 @@ def get_session_facts(
789789
request_options=request_options,
790790
)
791791
if 200 <= _response.status_code < 300:
792-
return pydantic_v1.parse_obj_as(typing.List[typing.List[FactsResponse]], _response.json()) # type: ignore
792+
return pydantic_v1.parse_obj_as(FactsResponse, _response.json()) # type: ignore
793793
if _response.status_code == 404:
794794
raise NotFoundError(pydantic_v1.parse_obj_as(types_api_error_ApiError, _response.json())) # type: ignore
795795
if _response.status_code == 500:
@@ -2069,7 +2069,7 @@ async def get_session_facts(
20692069
*,
20702070
min_rating: typing.Optional[float] = None,
20712071
request_options: typing.Optional[RequestOptions] = None,
2072-
) -> typing.List[typing.List[FactsResponse]]:
2072+
) -> FactsResponse:
20732073
"""
20742074
get facts for a session
20752075
@@ -2086,7 +2086,7 @@ async def get_session_facts(
20862086
20872087
Returns
20882088
-------
2089-
typing.List[typing.List[FactsResponse]]
2089+
FactsResponse
20902090
The facts for the session.
20912091
20922092
Examples
@@ -2107,7 +2107,7 @@ async def get_session_facts(
21072107
request_options=request_options,
21082108
)
21092109
if 200 <= _response.status_code < 300:
2110-
return pydantic_v1.parse_obj_as(typing.List[typing.List[FactsResponse]], _response.json()) # type: ignore
2110+
return pydantic_v1.parse_obj_as(FactsResponse, _response.json()) # type: ignore
21112111
if _response.status_code == 404:
21122112
raise NotFoundError(pydantic_v1.parse_obj_as(types_api_error_ApiError, _response.json())) # type: ignore
21132113
if _response.status_code == 500:

0 commit comments

Comments
 (0)