|
2 | 2 |
|
3 | 3 | from __future__ import annotations |
4 | 4 |
|
5 | | -from typing import List |
| 5 | +from typing import List, Optional |
6 | 6 | from typing_extensions import Literal |
7 | 7 |
|
8 | 8 | import httpx |
@@ -53,7 +53,7 @@ def list( |
53 | 53 | limit: int | NotGiven = NOT_GIVEN, |
54 | 54 | offset: int | NotGiven = NOT_GIVEN, |
55 | 55 | order: Literal["asc", "desc"] | NotGiven = NOT_GIVEN, |
56 | | - sort: Literal["created_at", "answered_at", "cluster_frequency_count"] | NotGiven = NOT_GIVEN, |
| 56 | + sort: Optional[Literal["created_at", "answered_at", "cluster_frequency_count"]] | NotGiven = NOT_GIVEN, |
57 | 57 | states: List[Literal["unanswered", "draft", "published", "published_with_draft"]] | NotGiven = NOT_GIVEN, |
58 | 58 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
59 | 59 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -164,7 +164,7 @@ def list( |
164 | 164 | limit: int | NotGiven = NOT_GIVEN, |
165 | 165 | offset: int | NotGiven = NOT_GIVEN, |
166 | 166 | order: Literal["asc", "desc"] | NotGiven = NOT_GIVEN, |
167 | | - sort: Literal["created_at", "answered_at", "cluster_frequency_count"] | NotGiven = NOT_GIVEN, |
| 167 | + sort: Optional[Literal["created_at", "answered_at", "cluster_frequency_count"]] | NotGiven = NOT_GIVEN, |
168 | 168 | states: List[Literal["unanswered", "draft", "published", "published_with_draft"]] | NotGiven = NOT_GIVEN, |
169 | 169 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
170 | 170 | # The extra values given here take precedence over values defined on the client or passed to this method. |
|
0 commit comments