Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Release 1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Aug 19, 2024
1 parent 248e971 commit aadadbf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "multion"
version = "1.3.6"
version = "1.3.7"
description = ""
readme = "README.md"
authors = []
Expand Down
10 changes: 10 additions & 0 deletions src/multion/base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def retrieve(
full_page: typing.Optional[bool] = OMIT,
render_js: typing.Optional[bool] = OMIT,
scroll_to_bottom: typing.Optional[bool] = OMIT,
mode: typing.Optional[str] = OMIT,
include_screenshot: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None
) -> RetrieveOutput:
Expand Down Expand Up @@ -264,6 +265,9 @@ def retrieve(
scroll_to_bottom : typing.Optional[bool]
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.
mode : typing.Optional[str]
The mode you would like to use for the session. 'standard', 'fast' or 'ludicrous'
include_screenshot : typing.Optional[bool]
Flag to include a screenshot with the response. (Default: False)
Expand Down Expand Up @@ -302,6 +306,7 @@ def retrieve(
"full_page": full_page,
"render_js": render_js,
"scroll_to_bottom": scroll_to_bottom,
"mode": mode,
"include_screenshot": include_screenshot,
},
request_options=request_options,
Expand Down Expand Up @@ -514,6 +519,7 @@ async def retrieve(
full_page: typing.Optional[bool] = OMIT,
render_js: typing.Optional[bool] = OMIT,
scroll_to_bottom: typing.Optional[bool] = OMIT,
mode: typing.Optional[str] = OMIT,
include_screenshot: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None
) -> RetrieveOutput:
Expand Down Expand Up @@ -553,6 +559,9 @@ async def retrieve(
scroll_to_bottom : typing.Optional[bool]
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.
mode : typing.Optional[str]
The mode you would like to use for the session. 'standard', 'fast' or 'ludicrous'
include_screenshot : typing.Optional[bool]
Flag to include a screenshot with the response. (Default: False)
Expand Down Expand Up @@ -591,6 +600,7 @@ async def retrieve(
"full_page": full_page,
"render_js": render_js,
"scroll_to_bottom": scroll_to_bottom,
"mode": mode,
"include_screenshot": include_screenshot,
},
request_options=request_options,
Expand Down
2 changes: 1 addition & 1 deletion src/multion/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "multion",
"X-Fern-SDK-Version": "1.3.6",
"X-Fern-SDK-Version": "1.3.7",
}
headers["X_MULTION_API_KEY"] = self.api_key
return headers
Expand Down

0 comments on commit aadadbf

Please sign in to comment.