From ead9c1084392bbf8af26787570e3f4f8746cc151 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 22:42:29 +0000 Subject: [PATCH 1/2] SDK regeneration --- poetry.lock | 18 +++++++++--------- pyproject.toml | 2 +- src/pipedream/client.py | 2 +- src/pipedream/core/client_wrapper.py | 6 +++--- src/pipedream/tokens/client.py | 10 ++++++++++ src/pipedream/tokens/raw_client.py | 10 ++++++++++ 6 files changed, 34 insertions(+), 14 deletions(-) diff --git a/poetry.lock b/poetry.lock index 086974a..129bf49 100644 --- a/poetry.lock +++ b/poetry.lock @@ -38,13 +38,13 @@ trio = ["trio (>=0.26.1)"] [[package]] name = "certifi" -version = "2026.2.25" +version = "2026.4.22" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.7" files = [ - {file = "certifi-2026.2.25-py3-none-any.whl", hash = "sha256:027692e4402ad994f1c42e52a4997a9763c646b73e4096e4d5d6db8af1d6f0fa"}, - {file = "certifi-2026.2.25.tar.gz", hash = "sha256:e887ab5cee78ea814d3472169153c2d12cd43b14bd03329a39a9c6e2e80bfba7"}, + {file = "certifi-2026.4.22-py3-none-any.whl", hash = "sha256:3cb2210c8f88ba2318d29b0388d1023c8492ff72ecdde4ebdaddbb13a31b1c4a"}, + {file = "certifi-2026.4.22.tar.gz", hash = "sha256:8d455352a37b71bf76a79caa83a3d6c25afee4a385d632127b6afb3963f1c580"}, ] [[package]] @@ -147,13 +147,13 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "idna" -version = "3.12" +version = "3.13" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.8" files = [ - {file = "idna-3.12-py3-none-any.whl", hash = "sha256:60ffaa1858fac94c9c124728c24fcde8160f3fb4a7f79aa8cdd33a9d1af60a67"}, - {file = "idna-3.12.tar.gz", hash = "sha256:724e9952cc9e2bd7550ea784adb098d837ab5267ef67a1ab9cf7846bdbdd8254"}, + {file = "idna-3.13-py3-none-any.whl", hash = "sha256:892ea0cde124a99ce773decba204c5552b69c3c67ffd5f232eb7696135bc8bb3"}, + {file = "idna-3.13.tar.gz", hash = "sha256:585ea8fe5d69b9181ec1afba340451fba6ba764af97026f92a91d4eef164a242"}, ] [package.extras] @@ -236,13 +236,13 @@ files = [ [[package]] name = "packaging" -version = "26.1" +version = "26.2" description = "Core utilities for Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "packaging-26.1-py3-none-any.whl", hash = "sha256:5d9c0669c6285e491e0ced2eee587eaf67b670d94a19e94e3984a481aba6802f"}, - {file = "packaging-26.1.tar.gz", hash = "sha256:f042152b681c4bfac5cae2742a55e103d27ab2ec0f3d88037136b6bfe7c9c5de"}, + {file = "packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e"}, + {file = "packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 89dca46..f751d0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ dynamic = ["version"] [tool.poetry] name = "pipedream" -version = "1.1.10" +version = "1.1.11" description = "" readme = "README.md" authors = [] diff --git a/src/pipedream/client.py b/src/pipedream/client.py index 097a503..a5e7e10 100644 --- a/src/pipedream/client.py +++ b/src/pipedream/client.py @@ -6,7 +6,7 @@ import typing import httpx -from .types.project_environment import ProjectEnvironment +from ._.types.project_environment import ProjectEnvironment from .core.api_error import ApiError from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .core.oauth_token_provider import AsyncOAuthTokenProvider, OAuthTokenProvider diff --git a/src/pipedream/core/client_wrapper.py b/src/pipedream/core/client_wrapper.py index 1717a15..82bea32 100644 --- a/src/pipedream/core/client_wrapper.py +++ b/src/pipedream/core/client_wrapper.py @@ -3,7 +3,7 @@ import typing import httpx -from ..types.project_environment import ProjectEnvironment +from .._.types.project_environment import ProjectEnvironment from .http_client import AsyncHttpClient, HttpClient @@ -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: diff --git a/src/pipedream/tokens/client.py b/src/pipedream/tokens/client.py index 61ecb91..584efaa 100644 --- a/src/pipedream/tokens/client.py +++ b/src/pipedream/tokens/client.py @@ -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: """ @@ -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. @@ -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 @@ -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: """ @@ -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. @@ -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 diff --git a/src/pipedream/tokens/raw_client.py b/src/pipedream/tokens/raw_client.py index 96f32a3..5592355 100644 --- a/src/pipedream/tokens/raw_client.py +++ b/src/pipedream/tokens/raw_client.py @@ -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]: """ @@ -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. @@ -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", @@ -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]: """ @@ -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. @@ -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", From 2f82f1e6b13e2c7e2b7deae0b209e71a7a23d298 Mon Sep 17 00:00:00 2001 From: Jay Vercellone Date: Tue, 28 Apr 2026 10:54:17 -0700 Subject: [PATCH 2/2] Fix annoying typo --- src/pipedream/client.py | 2 +- src/pipedream/core/client_wrapper.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pipedream/client.py b/src/pipedream/client.py index a5e7e10..097a503 100644 --- a/src/pipedream/client.py +++ b/src/pipedream/client.py @@ -6,7 +6,7 @@ import typing import httpx -from ._.types.project_environment import ProjectEnvironment +from .types.project_environment import ProjectEnvironment from .core.api_error import ApiError from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .core.oauth_token_provider import AsyncOAuthTokenProvider, OAuthTokenProvider diff --git a/src/pipedream/core/client_wrapper.py b/src/pipedream/core/client_wrapper.py index 82bea32..0bce8a3 100644 --- a/src/pipedream/core/client_wrapper.py +++ b/src/pipedream/core/client_wrapper.py @@ -3,7 +3,7 @@ import typing import httpx -from .._.types.project_environment import ProjectEnvironment +from ..types.project_environment import ProjectEnvironment from .http_client import AsyncHttpClient, HttpClient