Skip to content

Commit aadadbf

Browse files
committed
Release 1.3.7
1 parent 248e971 commit aadadbf

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
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.6"
3+
version = "1.3.7"
44
description = ""
55
readme = "README.md"
66
authors = []

src/multion/base_client.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ def retrieve(
225225
full_page: typing.Optional[bool] = OMIT,
226226
render_js: typing.Optional[bool] = OMIT,
227227
scroll_to_bottom: typing.Optional[bool] = OMIT,
228+
mode: typing.Optional[str] = OMIT,
228229
include_screenshot: typing.Optional[bool] = OMIT,
229230
request_options: typing.Optional[RequestOptions] = None
230231
) -> RetrieveOutput:
@@ -264,6 +265,9 @@ def retrieve(
264265
scroll_to_bottom : typing.Optional[bool]
265266
Flag to scroll to the bottom of the page (Default: False). If set to true, the page will be scrolled to the bottom for a maximum of 5 seconds before data is retrieved.
266267
268+
mode : typing.Optional[str]
269+
The mode you would like to use for the session. 'standard', 'fast' or 'ludicrous'
270+
267271
include_screenshot : typing.Optional[bool]
268272
Flag to include a screenshot with the response. (Default: False)
269273
@@ -302,6 +306,7 @@ def retrieve(
302306
"full_page": full_page,
303307
"render_js": render_js,
304308
"scroll_to_bottom": scroll_to_bottom,
309+
"mode": mode,
305310
"include_screenshot": include_screenshot,
306311
},
307312
request_options=request_options,
@@ -514,6 +519,7 @@ async def retrieve(
514519
full_page: typing.Optional[bool] = OMIT,
515520
render_js: typing.Optional[bool] = OMIT,
516521
scroll_to_bottom: typing.Optional[bool] = OMIT,
522+
mode: typing.Optional[str] = OMIT,
517523
include_screenshot: typing.Optional[bool] = OMIT,
518524
request_options: typing.Optional[RequestOptions] = None
519525
) -> RetrieveOutput:
@@ -553,6 +559,9 @@ async def retrieve(
553559
scroll_to_bottom : typing.Optional[bool]
554560
Flag to scroll to the bottom of the page (Default: False). If set to true, the page will be scrolled to the bottom for a maximum of 5 seconds before data is retrieved.
555561
562+
mode : typing.Optional[str]
563+
The mode you would like to use for the session. 'standard', 'fast' or 'ludicrous'
564+
556565
include_screenshot : typing.Optional[bool]
557566
Flag to include a screenshot with the response. (Default: False)
558567
@@ -591,6 +600,7 @@ async def retrieve(
591600
"full_page": full_page,
592601
"render_js": render_js,
593602
"scroll_to_bottom": scroll_to_bottom,
603+
"mode": mode,
594604
"include_screenshot": include_screenshot,
595605
},
596606
request_options=request_options,

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.6",
20+
"X-Fern-SDK-Version": "1.3.7",
2121
}
2222
headers["X_MULTION_API_KEY"] = self.api_key
2323
return headers

0 commit comments

Comments
 (0)