Skip to content

Commit 25477c7

Browse files
feat(api): update via SDK Studio (#70)
1 parent 7b8f948 commit 25477c7

3 files changed

Lines changed: 25 additions & 5 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 46
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/contextual-ai%2Fsunrise-e20c18e11af76caf98794e68406fc556cf91d13e8e27a3b1d1909a4f8c2d3eb5.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/contextual-ai%2Fsunrise-a1e925a06906199ea147a4e0fe2d763425765bea27d6c2d3b51111b45fcffabd.yml

src/contextual/types/agents/query_create_params.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing import List, Union, Iterable
5+
from typing import Union, Iterable
66
from datetime import datetime
77
from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
88

@@ -108,7 +108,17 @@ class DocumentsFiltersBaseMetadataFilter(TypedDict, total=False):
108108
"""Operator to be used for the filter."""
109109

110110
value: Annotated[
111-
Union[str, Union[str, datetime], float, bool, Iterable[object], List[Union[str, float, bool]]],
111+
Union[
112+
str,
113+
Union[str, datetime],
114+
float,
115+
bool,
116+
Iterable[object],
117+
Iterable[object],
118+
Iterable[object],
119+
Iterable[object],
120+
Iterable[object],
121+
],
112122
PropertyInfo(format="iso8601"),
113123
]
114124
"""The value to be searched for in the field.

src/contextual/types/datastores/composite_metadata_filter_param.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing import TYPE_CHECKING, List, Union, Iterable, Optional
5+
from typing import TYPE_CHECKING, Union, Iterable, Optional
66
from datetime import datetime
77
from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict, TypeAliasType
88

@@ -22,7 +22,17 @@ class FilterBaseMetadataFilter(TypedDict, total=False):
2222
"""Operator to be used for the filter."""
2323

2424
value: Annotated[
25-
Union[str, Union[str, datetime], float, bool, Iterable[object], List[Union[str, float, bool]]],
25+
Union[
26+
str,
27+
Union[str, datetime],
28+
float,
29+
bool,
30+
Iterable[object],
31+
Iterable[object],
32+
Iterable[object],
33+
Iterable[object],
34+
Iterable[object],
35+
],
2636
PropertyInfo(format="iso8601"),
2737
]
2838
"""The value to be searched for in the field.

0 commit comments

Comments
 (0)