Skip to content

Commit 664f02b

Browse files
feat(api): add in and nin operators to ComparisonFilter type
1 parent 96ccc3c commit 664f02b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 152
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-2ab0731e8c94b7c783b55939d2d2a46c2594c1da2ec444c543e17a9eea6d9164.yml
3-
openapi_spec_hash: 5557d4cd48565e8b98dfcb96a5804965
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-5a660d5b485aae5061d55301f7c8522654a533c7d7d9596c4da54f0e481d8880.yml
3+
openapi_spec_hash: 50297cf7c625ec3c4bb0bc0f5a9d318a
44
config_hash: 96fbf82cf74a44ccd513f5acf0956ffd

src/openai/types/shared/comparison_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ComparisonFilter(BaseModel):
1616
key: str
1717
"""The key to compare against the value."""
1818

19-
type: Literal["eq", "ne", "gt", "gte", "lt", "lte"]
19+
type: Literal["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]
2020
"""
2121
Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`,
2222
`nin`.

src/openai/types/shared_params/comparison_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ComparisonFilter(TypedDict, total=False):
1818
key: Required[str]
1919
"""The key to compare against the value."""
2020

21-
type: Required[Literal["eq", "ne", "gt", "gte", "lt", "lte"]]
21+
type: Required[Literal["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]]
2222
"""
2323
Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`,
2424
`nin`.

0 commit comments

Comments
 (0)