Skip to content

Commit a1544fd

Browse files
committed
SDK regeneration
1 parent 9f7c1f2 commit a1544fd

File tree

60 files changed

+212
-574
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+212
-574
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pipedream"
33

44
[tool.poetry]
55
name = "pipedream"
6-
version = "1.0.8"
6+
version = "1.0.9"
77
description = ""
88
readme = "README.md"
99
authors = []

src/pipedream/actions/client.py

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from ..core.request_options import RequestOptions
88
from ..types.component import Component
99
from ..types.configure_prop_response import ConfigurePropResponse
10-
from ..types.configured_props import ConfiguredProps
1110
from ..types.reload_props_response import ReloadPropsResponse
1211
from ..types.run_action_opts_stash_id import RunActionOptsStashId
1312
from ..types.run_action_response import RunActionResponse
@@ -132,7 +131,7 @@ def configure_prop(
132131
external_user_id: str,
133132
prop_name: str,
134133
blocking: typing.Optional[bool] = OMIT,
135-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
134+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
136135
dynamic_props_id: typing.Optional[str] = OMIT,
137136
page: typing.Optional[float] = OMIT,
138137
prev_context: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
@@ -156,7 +155,8 @@ def configure_prop(
156155
blocking : typing.Optional[bool]
157156
Whether this operation should block until completion
158157
159-
configured_props : typing.Optional[ConfiguredProps]
158+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
159+
The configured properties for the component
160160
161161
dynamic_props_id : typing.Optional[str]
162162
The ID for dynamic props
@@ -214,7 +214,7 @@ def reload_props(
214214
id: str,
215215
external_user_id: str,
216216
blocking: typing.Optional[bool] = OMIT,
217-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
217+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
218218
dynamic_props_id: typing.Optional[str] = OMIT,
219219
request_options: typing.Optional[RequestOptions] = None,
220220
) -> ReloadPropsResponse:
@@ -232,7 +232,8 @@ def reload_props(
232232
blocking : typing.Optional[bool]
233233
Whether this operation should block until completion
234234
235-
configured_props : typing.Optional[ConfiguredProps]
235+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
236+
The configured properties for the component
236237
237238
dynamic_props_id : typing.Optional[str]
238239
The ID for dynamic props
@@ -275,7 +276,7 @@ def run(
275276
*,
276277
id: str,
277278
external_user_id: str,
278-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
279+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
279280
dynamic_props_id: typing.Optional[str] = OMIT,
280281
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
281282
request_options: typing.Optional[RequestOptions] = None,
@@ -291,7 +292,8 @@ def run(
291292
external_user_id : str
292293
The external user ID
293294
294-
configured_props : typing.Optional[ConfiguredProps]
295+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
296+
The configured properties for the action
295297
296298
dynamic_props_id : typing.Optional[str]
297299
The ID for dynamic props
@@ -466,7 +468,7 @@ async def configure_prop(
466468
external_user_id: str,
467469
prop_name: str,
468470
blocking: typing.Optional[bool] = OMIT,
469-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
471+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
470472
dynamic_props_id: typing.Optional[str] = OMIT,
471473
page: typing.Optional[float] = OMIT,
472474
prev_context: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
@@ -490,7 +492,8 @@ async def configure_prop(
490492
blocking : typing.Optional[bool]
491493
Whether this operation should block until completion
492494
493-
configured_props : typing.Optional[ConfiguredProps]
495+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
496+
The configured properties for the component
494497
495498
dynamic_props_id : typing.Optional[str]
496499
The ID for dynamic props
@@ -556,7 +559,7 @@ async def reload_props(
556559
id: str,
557560
external_user_id: str,
558561
blocking: typing.Optional[bool] = OMIT,
559-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
562+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
560563
dynamic_props_id: typing.Optional[str] = OMIT,
561564
request_options: typing.Optional[RequestOptions] = None,
562565
) -> ReloadPropsResponse:
@@ -574,7 +577,8 @@ async def reload_props(
574577
blocking : typing.Optional[bool]
575578
Whether this operation should block until completion
576579
577-
configured_props : typing.Optional[ConfiguredProps]
580+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
581+
The configured properties for the component
578582
579583
dynamic_props_id : typing.Optional[str]
580584
The ID for dynamic props
@@ -625,7 +629,7 @@ async def run(
625629
*,
626630
id: str,
627631
external_user_id: str,
628-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
632+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
629633
dynamic_props_id: typing.Optional[str] = OMIT,
630634
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
631635
request_options: typing.Optional[RequestOptions] = None,
@@ -641,7 +645,8 @@ async def run(
641645
external_user_id : str
642646
The external user ID
643647
644-
configured_props : typing.Optional[ConfiguredProps]
648+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
649+
The configured properties for the action
645650
646651
dynamic_props_id : typing.Optional[str]
647652
The ID for dynamic props

src/pipedream/actions/raw_client.py

Lines changed: 24 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from ..errors.too_many_requests_error import TooManyRequestsError
1515
from ..types.component import Component
1616
from ..types.configure_prop_response import ConfigurePropResponse
17-
from ..types.configured_props import ConfiguredProps
1817
from ..types.get_component_response import GetComponentResponse
1918
from ..types.get_components_response import GetComponentsResponse
2019
from ..types.reload_props_response import ReloadPropsResponse
@@ -179,7 +178,7 @@ def configure_prop(
179178
external_user_id: str,
180179
prop_name: str,
181180
blocking: typing.Optional[bool] = OMIT,
182-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
181+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
183182
dynamic_props_id: typing.Optional[str] = OMIT,
184183
page: typing.Optional[float] = OMIT,
185184
prev_context: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
@@ -203,7 +202,8 @@ def configure_prop(
203202
blocking : typing.Optional[bool]
204203
Whether this operation should block until completion
205204
206-
configured_props : typing.Optional[ConfiguredProps]
205+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
206+
The configured properties for the component
207207
208208
dynamic_props_id : typing.Optional[str]
209209
The ID for dynamic props
@@ -233,9 +233,7 @@ def configure_prop(
233233
"external_user_id": external_user_id,
234234
"prop_name": prop_name,
235235
"blocking": blocking,
236-
"configured_props": convert_and_respect_annotation_metadata(
237-
object_=configured_props, annotation=ConfiguredProps, direction="write"
238-
),
236+
"configured_props": configured_props,
239237
"dynamic_props_id": dynamic_props_id,
240238
"page": page,
241239
"prev_context": prev_context,
@@ -279,7 +277,7 @@ def reload_props(
279277
id: str,
280278
external_user_id: str,
281279
blocking: typing.Optional[bool] = OMIT,
282-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
280+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
283281
dynamic_props_id: typing.Optional[str] = OMIT,
284282
request_options: typing.Optional[RequestOptions] = None,
285283
) -> HttpResponse[ReloadPropsResponse]:
@@ -297,7 +295,8 @@ def reload_props(
297295
blocking : typing.Optional[bool]
298296
Whether this operation should block until completion
299297
300-
configured_props : typing.Optional[ConfiguredProps]
298+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
299+
The configured properties for the component
301300
302301
dynamic_props_id : typing.Optional[str]
303302
The ID for dynamic props
@@ -317,9 +316,7 @@ def reload_props(
317316
"id": id,
318317
"external_user_id": external_user_id,
319318
"blocking": blocking,
320-
"configured_props": convert_and_respect_annotation_metadata(
321-
object_=configured_props, annotation=ConfiguredProps, direction="write"
322-
),
319+
"configured_props": configured_props,
323320
"dynamic_props_id": dynamic_props_id,
324321
},
325322
headers={
@@ -359,7 +356,7 @@ def run(
359356
*,
360357
id: str,
361358
external_user_id: str,
362-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
359+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
363360
dynamic_props_id: typing.Optional[str] = OMIT,
364361
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
365362
request_options: typing.Optional[RequestOptions] = None,
@@ -375,7 +372,8 @@ def run(
375372
external_user_id : str
376373
The external user ID
377374
378-
configured_props : typing.Optional[ConfiguredProps]
375+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
376+
The configured properties for the action
379377
380378
dynamic_props_id : typing.Optional[str]
381379
The ID for dynamic props
@@ -396,9 +394,7 @@ def run(
396394
json={
397395
"id": id,
398396
"external_user_id": external_user_id,
399-
"configured_props": convert_and_respect_annotation_metadata(
400-
object_=configured_props, annotation=ConfiguredProps, direction="write"
401-
),
397+
"configured_props": configured_props,
402398
"dynamic_props_id": dynamic_props_id,
403399
"stash_id": convert_and_respect_annotation_metadata(
404400
object_=stash_id, annotation=RunActionOptsStashId, direction="write"
@@ -594,7 +590,7 @@ async def configure_prop(
594590
external_user_id: str,
595591
prop_name: str,
596592
blocking: typing.Optional[bool] = OMIT,
597-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
593+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
598594
dynamic_props_id: typing.Optional[str] = OMIT,
599595
page: typing.Optional[float] = OMIT,
600596
prev_context: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
@@ -618,7 +614,8 @@ async def configure_prop(
618614
blocking : typing.Optional[bool]
619615
Whether this operation should block until completion
620616
621-
configured_props : typing.Optional[ConfiguredProps]
617+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
618+
The configured properties for the component
622619
623620
dynamic_props_id : typing.Optional[str]
624621
The ID for dynamic props
@@ -648,9 +645,7 @@ async def configure_prop(
648645
"external_user_id": external_user_id,
649646
"prop_name": prop_name,
650647
"blocking": blocking,
651-
"configured_props": convert_and_respect_annotation_metadata(
652-
object_=configured_props, annotation=ConfiguredProps, direction="write"
653-
),
648+
"configured_props": configured_props,
654649
"dynamic_props_id": dynamic_props_id,
655650
"page": page,
656651
"prev_context": prev_context,
@@ -694,7 +689,7 @@ async def reload_props(
694689
id: str,
695690
external_user_id: str,
696691
blocking: typing.Optional[bool] = OMIT,
697-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
692+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
698693
dynamic_props_id: typing.Optional[str] = OMIT,
699694
request_options: typing.Optional[RequestOptions] = None,
700695
) -> AsyncHttpResponse[ReloadPropsResponse]:
@@ -712,7 +707,8 @@ async def reload_props(
712707
blocking : typing.Optional[bool]
713708
Whether this operation should block until completion
714709
715-
configured_props : typing.Optional[ConfiguredProps]
710+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
711+
The configured properties for the component
716712
717713
dynamic_props_id : typing.Optional[str]
718714
The ID for dynamic props
@@ -732,9 +728,7 @@ async def reload_props(
732728
"id": id,
733729
"external_user_id": external_user_id,
734730
"blocking": blocking,
735-
"configured_props": convert_and_respect_annotation_metadata(
736-
object_=configured_props, annotation=ConfiguredProps, direction="write"
737-
),
731+
"configured_props": configured_props,
738732
"dynamic_props_id": dynamic_props_id,
739733
},
740734
headers={
@@ -774,7 +768,7 @@ async def run(
774768
*,
775769
id: str,
776770
external_user_id: str,
777-
configured_props: typing.Optional[ConfiguredProps] = OMIT,
771+
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
778772
dynamic_props_id: typing.Optional[str] = OMIT,
779773
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
780774
request_options: typing.Optional[RequestOptions] = None,
@@ -790,7 +784,8 @@ async def run(
790784
external_user_id : str
791785
The external user ID
792786
793-
configured_props : typing.Optional[ConfiguredProps]
787+
configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
788+
The configured properties for the action
794789
795790
dynamic_props_id : typing.Optional[str]
796791
The ID for dynamic props
@@ -811,9 +806,7 @@ async def run(
811806
json={
812807
"id": id,
813808
"external_user_id": external_user_id,
814-
"configured_props": convert_and_respect_annotation_metadata(
815-
object_=configured_props, annotation=ConfiguredProps, direction="write"
816-
),
809+
"configured_props": configured_props,
817810
"dynamic_props_id": dynamic_props_id,
818811
"stash_id": convert_and_respect_annotation_metadata(
819812
object_=stash_id, annotation=RunActionOptsStashId, direction="write"

src/pipedream/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import typing
77

88
import httpx
9-
from .types.project_environment import ProjectEnvironment
9+
from ._.types.project_environment import ProjectEnvironment
1010
from .core.api_error import ApiError
1111
from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
1212
from .core.oauth_token_provider import OAuthTokenProvider

0 commit comments

Comments
 (0)