|
19 | 19 | from .sessions.client import AsyncSessionsClient, SessionsClient |
20 | 20 | from .types.bad_request_response import BadRequestResponse |
21 | 21 | from .types.browse_output import BrowseOutput |
| 22 | +from .types.format import Format |
22 | 23 | from .types.http_validation_error import HttpValidationError |
23 | 24 | from .types.internal_server_error_response import InternalServerErrorResponse |
24 | 25 | from .types.mode import Mode |
@@ -219,7 +220,7 @@ def retrieve( |
219 | 220 | session_id: typing.Optional[str] = OMIT, |
220 | 221 | local: typing.Optional[bool] = OMIT, |
221 | 222 | fields: typing.Optional[typing.Sequence[str]] = OMIT, |
222 | | - format: typing.Optional[typing.Literal["json"]] = OMIT, |
| 223 | + format: typing.Optional[Format] = OMIT, |
223 | 224 | max_items: typing.Optional[float] = OMIT, |
224 | 225 | full_page: typing.Optional[bool] = OMIT, |
225 | 226 | render_js: typing.Optional[bool] = OMIT, |
@@ -249,8 +250,7 @@ def retrieve( |
249 | 250 | fields : typing.Optional[typing.Sequence[str]] |
250 | 251 | List of fields (columns) to be outputted in data. |
251 | 252 |
|
252 | | - format : typing.Optional[typing.Literal["json"]] |
253 | | - Format of response data. (Default: json) |
| 253 | + format : typing.Optional[Format] |
254 | 254 |
|
255 | 255 | max_items : typing.Optional[float] |
256 | 256 | Maximum number of data items to retrieve. (Default: 100) |
@@ -509,7 +509,7 @@ async def retrieve( |
509 | 509 | session_id: typing.Optional[str] = OMIT, |
510 | 510 | local: typing.Optional[bool] = OMIT, |
511 | 511 | fields: typing.Optional[typing.Sequence[str]] = OMIT, |
512 | | - format: typing.Optional[typing.Literal["json"]] = OMIT, |
| 512 | + format: typing.Optional[Format] = OMIT, |
513 | 513 | max_items: typing.Optional[float] = OMIT, |
514 | 514 | full_page: typing.Optional[bool] = OMIT, |
515 | 515 | render_js: typing.Optional[bool] = OMIT, |
@@ -539,8 +539,7 @@ async def retrieve( |
539 | 539 | fields : typing.Optional[typing.Sequence[str]] |
540 | 540 | List of fields (columns) to be outputted in data. |
541 | 541 |
|
542 | | - format : typing.Optional[typing.Literal["json"]] |
543 | | - Format of response data. (Default: json) |
| 542 | + format : typing.Optional[Format] |
544 | 543 |
|
545 | 544 | max_items : typing.Optional[float] |
546 | 545 | Maximum number of data items to retrieve. (Default: 100) |
|
0 commit comments