Skip to content
Open
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pipedream"

[tool.poetry]
name = "pipedream"
version = "1.0.8"
version = "1.0.9"
description = ""
readme = "README.md"
authors = []
Expand Down
24 changes: 12 additions & 12 deletions src/pipedream/accounts/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def with_raw_response(self) -> RawAccountsClient:
def list(
self,
*,
app_id: typing.Optional[str] = None,
app: typing.Optional[str] = None,
external_user_id: typing.Optional[str] = None,
oauth_app_id: typing.Optional[str] = None,
after: typing.Optional[str] = None,
Expand All @@ -44,7 +44,7 @@ def list(

Parameters
----------
app_id : typing.Optional[str]
app : typing.Optional[str]
The app slug or ID to filter accounts by.

external_user_id : typing.Optional[str]
Expand Down Expand Up @@ -90,7 +90,7 @@ def list(
yield page
"""
return self._raw_client.list(
app_id=app_id,
app=app,
external_user_id=external_user_id,
oauth_app_id=oauth_app_id,
after=after,
Expand All @@ -106,7 +106,7 @@ def create(
app_slug: str,
cfmap_json: str,
connect_token: str,
app_id: typing.Optional[str] = None,
app: typing.Optional[str] = None,
external_user_id: typing.Optional[str] = None,
oauth_app_id: typing.Optional[str] = None,
name: typing.Optional[str] = OMIT,
Expand All @@ -126,7 +126,7 @@ def create(
connect_token : str
The connect token for authentication

app_id : typing.Optional[str]
app : typing.Optional[str]
The app slug or ID to filter accounts by.

external_user_id : typing.Optional[str]
Expand Down Expand Up @@ -165,7 +165,7 @@ def create(
app_slug=app_slug,
cfmap_json=cfmap_json,
connect_token=connect_token,
app_id=app_id,
app=app,
external_user_id=external_user_id,
oauth_app_id=oauth_app_id,
name=name,
Expand Down Expand Up @@ -300,7 +300,7 @@ def with_raw_response(self) -> AsyncRawAccountsClient:
async def list(
self,
*,
app_id: typing.Optional[str] = None,
app: typing.Optional[str] = None,
external_user_id: typing.Optional[str] = None,
oauth_app_id: typing.Optional[str] = None,
after: typing.Optional[str] = None,
Expand All @@ -314,7 +314,7 @@ async def list(

Parameters
----------
app_id : typing.Optional[str]
app : typing.Optional[str]
The app slug or ID to filter accounts by.

external_user_id : typing.Optional[str]
Expand Down Expand Up @@ -369,7 +369,7 @@ async def main() -> None:
asyncio.run(main())
"""
return await self._raw_client.list(
app_id=app_id,
app=app,
external_user_id=external_user_id,
oauth_app_id=oauth_app_id,
after=after,
Expand All @@ -385,7 +385,7 @@ async def create(
app_slug: str,
cfmap_json: str,
connect_token: str,
app_id: typing.Optional[str] = None,
app: typing.Optional[str] = None,
external_user_id: typing.Optional[str] = None,
oauth_app_id: typing.Optional[str] = None,
name: typing.Optional[str] = OMIT,
Expand All @@ -405,7 +405,7 @@ async def create(
connect_token : str
The connect token for authentication

app_id : typing.Optional[str]
app : typing.Optional[str]
The app slug or ID to filter accounts by.

external_user_id : typing.Optional[str]
Expand Down Expand Up @@ -452,7 +452,7 @@ async def main() -> None:
app_slug=app_slug,
cfmap_json=cfmap_json,
connect_token=connect_token,
app_id=app_id,
app=app,
external_user_id=external_user_id,
oauth_app_id=oauth_app_id,
name=name,
Expand Down
28 changes: 14 additions & 14 deletions src/pipedream/accounts/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper):
def list(
self,
*,
app_id: typing.Optional[str] = None,
app: typing.Optional[str] = None,
external_user_id: typing.Optional[str] = None,
oauth_app_id: typing.Optional[str] = None,
after: typing.Optional[str] = None,
Expand All @@ -39,7 +39,7 @@ def list(

Parameters
----------
app_id : typing.Optional[str]
app : typing.Optional[str]
The app slug or ID to filter accounts by.

external_user_id : typing.Optional[str]
Expand Down Expand Up @@ -71,7 +71,7 @@ def list(
f"v1/connect/{jsonable_encoder(self._client_wrapper._project_id)}/accounts",
method="GET",
params={
"app_id": app_id,
"app": app,
"external_user_id": external_user_id,
"oauth_app_id": oauth_app_id,
"after": after,
Expand All @@ -97,7 +97,7 @@ def list(
_parsed_next = _parsed_response.page_info.end_cursor
_has_next = _parsed_next is not None and _parsed_next != ""
_get_next = lambda: self.list(
app_id=app_id,
app=app,
external_user_id=external_user_id,
oauth_app_id=oauth_app_id,
after=_parsed_next,
Expand Down Expand Up @@ -131,7 +131,7 @@ def create(
app_slug: str,
cfmap_json: str,
connect_token: str,
app_id: typing.Optional[str] = None,
app: typing.Optional[str] = None,
external_user_id: typing.Optional[str] = None,
oauth_app_id: typing.Optional[str] = None,
name: typing.Optional[str] = OMIT,
Expand All @@ -151,7 +151,7 @@ def create(
connect_token : str
The connect token for authentication

app_id : typing.Optional[str]
app : typing.Optional[str]
The app slug or ID to filter accounts by.

external_user_id : typing.Optional[str]
Expand All @@ -174,7 +174,7 @@ def create(
f"v1/connect/{jsonable_encoder(self._client_wrapper._project_id)}/accounts",
method="POST",
params={
"app_id": app_id,
"app": app,
"external_user_id": external_user_id,
"oauth_app_id": oauth_app_id,
},
Expand Down Expand Up @@ -363,7 +363,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
async def list(
self,
*,
app_id: typing.Optional[str] = None,
app: typing.Optional[str] = None,
external_user_id: typing.Optional[str] = None,
oauth_app_id: typing.Optional[str] = None,
after: typing.Optional[str] = None,
Expand All @@ -377,7 +377,7 @@ async def list(

Parameters
----------
app_id : typing.Optional[str]
app : typing.Optional[str]
The app slug or ID to filter accounts by.

external_user_id : typing.Optional[str]
Expand Down Expand Up @@ -409,7 +409,7 @@ async def list(
f"v1/connect/{jsonable_encoder(self._client_wrapper._project_id)}/accounts",
method="GET",
params={
"app_id": app_id,
"app": app,
"external_user_id": external_user_id,
"oauth_app_id": oauth_app_id,
"after": after,
Expand Down Expand Up @@ -437,7 +437,7 @@ async def list(

async def _get_next():
return await self.list(
app_id=app_id,
app=app,
external_user_id=external_user_id,
oauth_app_id=oauth_app_id,
after=_parsed_next,
Expand Down Expand Up @@ -472,7 +472,7 @@ async def create(
app_slug: str,
cfmap_json: str,
connect_token: str,
app_id: typing.Optional[str] = None,
app: typing.Optional[str] = None,
external_user_id: typing.Optional[str] = None,
oauth_app_id: typing.Optional[str] = None,
name: typing.Optional[str] = OMIT,
Expand All @@ -492,7 +492,7 @@ async def create(
connect_token : str
The connect token for authentication

app_id : typing.Optional[str]
app : typing.Optional[str]
The app slug or ID to filter accounts by.

external_user_id : typing.Optional[str]
Expand All @@ -515,7 +515,7 @@ async def create(
f"v1/connect/{jsonable_encoder(self._client_wrapper._project_id)}/accounts",
method="POST",
params={
"app_id": app_id,
"app": app,
"external_user_id": external_user_id,
"oauth_app_id": oauth_app_id,
},
Expand Down
31 changes: 18 additions & 13 deletions src/pipedream/actions/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from ..core.request_options import RequestOptions
from ..types.component import Component
from ..types.configure_prop_response import ConfigurePropResponse
from ..types.configured_props import ConfiguredProps
from ..types.reload_props_response import ReloadPropsResponse
from ..types.run_action_opts_stash_id import RunActionOptsStashId
from ..types.run_action_response import RunActionResponse
Expand Down Expand Up @@ -132,7 +131,7 @@ def configure_prop(
external_user_id: str,
prop_name: str,
blocking: typing.Optional[bool] = OMIT,
configured_props: typing.Optional[ConfiguredProps] = OMIT,
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
dynamic_props_id: typing.Optional[str] = OMIT,
page: typing.Optional[float] = OMIT,
prev_context: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
Expand All @@ -156,7 +155,8 @@ def configure_prop(
blocking : typing.Optional[bool]
Whether this operation should block until completion

configured_props : typing.Optional[ConfiguredProps]
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
The configured properties for the component

dynamic_props_id : typing.Optional[str]
The ID for dynamic props
Expand Down Expand Up @@ -214,7 +214,7 @@ def reload_props(
id: str,
external_user_id: str,
blocking: typing.Optional[bool] = OMIT,
configured_props: typing.Optional[ConfiguredProps] = OMIT,
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
dynamic_props_id: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> ReloadPropsResponse:
Expand All @@ -232,7 +232,8 @@ def reload_props(
blocking : typing.Optional[bool]
Whether this operation should block until completion

configured_props : typing.Optional[ConfiguredProps]
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
The configured properties for the component

dynamic_props_id : typing.Optional[str]
The ID for dynamic props
Expand Down Expand Up @@ -275,7 +276,7 @@ def run(
*,
id: str,
external_user_id: str,
configured_props: typing.Optional[ConfiguredProps] = OMIT,
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
dynamic_props_id: typing.Optional[str] = OMIT,
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
Expand All @@ -291,7 +292,8 @@ def run(
external_user_id : str
The external user ID

configured_props : typing.Optional[ConfiguredProps]
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
The configured properties for the action

dynamic_props_id : typing.Optional[str]
The ID for dynamic props
Expand Down Expand Up @@ -466,7 +468,7 @@ async def configure_prop(
external_user_id: str,
prop_name: str,
blocking: typing.Optional[bool] = OMIT,
configured_props: typing.Optional[ConfiguredProps] = OMIT,
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
dynamic_props_id: typing.Optional[str] = OMIT,
page: typing.Optional[float] = OMIT,
prev_context: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
Expand All @@ -490,7 +492,8 @@ async def configure_prop(
blocking : typing.Optional[bool]
Whether this operation should block until completion

configured_props : typing.Optional[ConfiguredProps]
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
The configured properties for the component

dynamic_props_id : typing.Optional[str]
The ID for dynamic props
Expand Down Expand Up @@ -556,7 +559,7 @@ async def reload_props(
id: str,
external_user_id: str,
blocking: typing.Optional[bool] = OMIT,
configured_props: typing.Optional[ConfiguredProps] = OMIT,
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
dynamic_props_id: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> ReloadPropsResponse:
Expand All @@ -574,7 +577,8 @@ async def reload_props(
blocking : typing.Optional[bool]
Whether this operation should block until completion

configured_props : typing.Optional[ConfiguredProps]
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
The configured properties for the component

dynamic_props_id : typing.Optional[str]
The ID for dynamic props
Expand Down Expand Up @@ -625,7 +629,7 @@ async def run(
*,
id: str,
external_user_id: str,
configured_props: typing.Optional[ConfiguredProps] = OMIT,
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
dynamic_props_id: typing.Optional[str] = OMIT,
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
Expand All @@ -641,7 +645,8 @@ async def run(
external_user_id : str
The external user ID

configured_props : typing.Optional[ConfiguredProps]
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
The configured properties for the action

dynamic_props_id : typing.Optional[str]
The ID for dynamic props
Expand Down
Loading
Loading