Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dynamic = ["version"]

[tool.poetry]
name = "pipedream"
version = "1.1.10"
version = "1.1.11"
description = ""
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions src/pipedream/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def __init__(

def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"User-Agent": "pipedream/1.1.10",
"User-Agent": "pipedream/1.1.11",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "pipedream",
"X-Fern-SDK-Version": "1.1.10",
"X-Fern-SDK-Version": "1.1.11",
**(self.get_custom_headers() or {}),
}
if self._project_environment is not None:
Expand Down
10 changes: 10 additions & 0 deletions src/pipedream/tokens/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def create(
scope: typing.Optional[str] = OMIT,
success_redirect_uri: typing.Optional[str] = OMIT,
webhook_uri: typing.Optional[str] = OMIT,
allow_progressive_scopes: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> CreateTokenResponse:
"""
Expand Down Expand Up @@ -66,6 +67,9 @@ def create(
webhook_uri : typing.Optional[str]
Webhook URI for notifications

allow_progressive_scopes : typing.Optional[bool]
When true, end users may authorize a subset of the app's OAuth scopes; only the app's functional scopes (needed for the post-OAuth test request) are enforced. Defaults to false.

request_options : typing.Optional[RequestOptions]
Request-specific configuration.

Expand Down Expand Up @@ -96,6 +100,7 @@ def create(
scope=scope,
success_redirect_uri=success_redirect_uri,
webhook_uri=webhook_uri,
allow_progressive_scopes=allow_progressive_scopes,
request_options=request_options,
)
return _response.data
Expand Down Expand Up @@ -176,6 +181,7 @@ async def create(
scope: typing.Optional[str] = OMIT,
success_redirect_uri: typing.Optional[str] = OMIT,
webhook_uri: typing.Optional[str] = OMIT,
allow_progressive_scopes: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> CreateTokenResponse:
"""
Expand Down Expand Up @@ -204,6 +210,9 @@ async def create(
webhook_uri : typing.Optional[str]
Webhook URI for notifications

allow_progressive_scopes : typing.Optional[bool]
When true, end users may authorize a subset of the app's OAuth scopes; only the app's functional scopes (needed for the post-OAuth test request) are enforced. Defaults to false.

request_options : typing.Optional[RequestOptions]
Request-specific configuration.

Expand Down Expand Up @@ -242,6 +251,7 @@ async def main() -> None:
scope=scope,
success_redirect_uri=success_redirect_uri,
webhook_uri=webhook_uri,
allow_progressive_scopes=allow_progressive_scopes,
request_options=request_options,
)
return _response.data
Expand Down
10 changes: 10 additions & 0 deletions src/pipedream/tokens/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def create(
scope: typing.Optional[str] = OMIT,
success_redirect_uri: typing.Optional[str] = OMIT,
webhook_uri: typing.Optional[str] = OMIT,
allow_progressive_scopes: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[CreateTokenResponse]:
"""
Expand Down Expand Up @@ -60,6 +61,9 @@ def create(
webhook_uri : typing.Optional[str]
Webhook URI for notifications

allow_progressive_scopes : typing.Optional[bool]
When true, end users may authorize a subset of the app's OAuth scopes; only the app's functional scopes (needed for the post-OAuth test request) are enforced. Defaults to false.

request_options : typing.Optional[RequestOptions]
Request-specific configuration.

Expand All @@ -79,6 +83,7 @@ def create(
"scope": scope,
"success_redirect_uri": success_redirect_uri,
"webhook_uri": webhook_uri,
"allow_progressive_scopes": allow_progressive_scopes,
},
headers={
"content-type": "application/json",
Expand Down Expand Up @@ -191,6 +196,7 @@ async def create(
scope: typing.Optional[str] = OMIT,
success_redirect_uri: typing.Optional[str] = OMIT,
webhook_uri: typing.Optional[str] = OMIT,
allow_progressive_scopes: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpResponse[CreateTokenResponse]:
"""
Expand Down Expand Up @@ -219,6 +225,9 @@ async def create(
webhook_uri : typing.Optional[str]
Webhook URI for notifications

allow_progressive_scopes : typing.Optional[bool]
When true, end users may authorize a subset of the app's OAuth scopes; only the app's functional scopes (needed for the post-OAuth test request) are enforced. Defaults to false.

request_options : typing.Optional[RequestOptions]
Request-specific configuration.

Expand All @@ -238,6 +247,7 @@ async def create(
"scope": scope,
"success_redirect_uri": success_redirect_uri,
"webhook_uri": webhook_uri,
"allow_progressive_scopes": allow_progressive_scopes,
},
headers={
"content-type": "application/json",
Expand Down
Loading