Skip to content

Commit 248e971

Browse files
committed
Release 1.3.6
1 parent 80eb328 commit 248e971

File tree

6 files changed

+16
-8
lines changed

6 files changed

+16
-8
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "multion"
3-
version = "1.3.5"
3+
version = "1.3.6"
44
description = ""
55
readme = "README.md"
66
authors = []

src/multion/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from .types import (
44
BadRequestResponse,
55
BrowseOutput,
6+
Format,
67
HttpValidationError,
78
InternalServerErrorResponse,
89
Metadata,
@@ -50,6 +51,7 @@
5051
"BadRequestResponse",
5152
"BrowseOutput",
5253
"CreateSessionInputBrowserParams",
54+
"Format",
5355
"HttpValidationError",
5456
"InternalServerError",
5557
"InternalServerErrorResponse",

src/multion/base_client.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from .sessions.client import AsyncSessionsClient, SessionsClient
2020
from .types.bad_request_response import BadRequestResponse
2121
from .types.browse_output import BrowseOutput
22+
from .types.format import Format
2223
from .types.http_validation_error import HttpValidationError
2324
from .types.internal_server_error_response import InternalServerErrorResponse
2425
from .types.mode import Mode
@@ -219,7 +220,7 @@ def retrieve(
219220
session_id: typing.Optional[str] = OMIT,
220221
local: typing.Optional[bool] = OMIT,
221222
fields: typing.Optional[typing.Sequence[str]] = OMIT,
222-
format: typing.Optional[typing.Literal["json"]] = OMIT,
223+
format: typing.Optional[Format] = OMIT,
223224
max_items: typing.Optional[float] = OMIT,
224225
full_page: typing.Optional[bool] = OMIT,
225226
render_js: typing.Optional[bool] = OMIT,
@@ -249,8 +250,7 @@ def retrieve(
249250
fields : typing.Optional[typing.Sequence[str]]
250251
List of fields (columns) to be outputted in data.
251252
252-
format : typing.Optional[typing.Literal["json"]]
253-
Format of response data. (Default: json)
253+
format : typing.Optional[Format]
254254
255255
max_items : typing.Optional[float]
256256
Maximum number of data items to retrieve. (Default: 100)
@@ -509,7 +509,7 @@ async def retrieve(
509509
session_id: typing.Optional[str] = OMIT,
510510
local: typing.Optional[bool] = OMIT,
511511
fields: typing.Optional[typing.Sequence[str]] = OMIT,
512-
format: typing.Optional[typing.Literal["json"]] = OMIT,
512+
format: typing.Optional[Format] = OMIT,
513513
max_items: typing.Optional[float] = OMIT,
514514
full_page: typing.Optional[bool] = OMIT,
515515
render_js: typing.Optional[bool] = OMIT,
@@ -539,8 +539,7 @@ async def retrieve(
539539
fields : typing.Optional[typing.Sequence[str]]
540540
List of fields (columns) to be outputted in data.
541541
542-
format : typing.Optional[typing.Literal["json"]]
543-
Format of response data. (Default: json)
542+
format : typing.Optional[Format]
544543
545544
max_items : typing.Optional[float]
546545
Maximum number of data items to retrieve. (Default: 100)

src/multion/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1717
headers: typing.Dict[str, str] = {
1818
"X-Fern-Language": "Python",
1919
"X-Fern-SDK-Name": "multion",
20-
"X-Fern-SDK-Version": "1.3.5",
20+
"X-Fern-SDK-Version": "1.3.6",
2121
}
2222
headers["X_MULTION_API_KEY"] = self.api_key
2323
return headers

src/multion/types/__init__.py

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

33
from .bad_request_response import BadRequestResponse
44
from .browse_output import BrowseOutput
5+
from .format import Format
56
from .http_validation_error import HttpValidationError
67
from .internal_server_error_response import InternalServerErrorResponse
78
from .metadata import Metadata
@@ -30,6 +31,7 @@
3031
__all__ = [
3132
"BadRequestResponse",
3233
"BrowseOutput",
34+
"Format",
3335
"HttpValidationError",
3436
"InternalServerErrorResponse",
3537
"Metadata",

src/multion/types/format.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file was auto-generated by Fern from our API Definition.
2+
3+
import typing
4+
5+
Format = typing.Union[typing.Literal["json", "markdown"], typing.Any]

0 commit comments

Comments
 (0)