Skip to content

Commit c108f4d

Browse files
committed
SDK regeneration
1 parent 504c1df commit c108f4d

18 files changed

+15
-57
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.4"
6+
version = "1.0.5"
77
description = ""
88
readme = "README.md"
99
authors = []

src/pipedream/actions/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@
22

33
# isort: skip_file
44

5-
from .types import RunActionOptsStashId
6-
7-
__all__ = ["RunActionOptsStashId"]

src/pipedream/actions/client.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from ..types.reload_props_response import ReloadPropsResponse
1111
from ..types.run_action_response import RunActionResponse
1212
from .raw_client import AsyncRawActionsClient, RawActionsClient
13-
from .types.run_action_opts_stash_id import RunActionOptsStashId
1413

1514
# this is used as the default value for optional parameters
1615
OMIT = typing.cast(typing.Any, ...)
@@ -289,7 +288,6 @@ def run(
289288
async_handle: typing.Optional[str] = None,
290289
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
291290
dynamic_props_id: typing.Optional[str] = OMIT,
292-
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
293291
request_options: typing.Optional[RequestOptions] = None,
294292
) -> RunActionResponse:
295293
"""
@@ -309,9 +307,6 @@ def run(
309307
dynamic_props_id : typing.Optional[str]
310308
The ID for dynamic props
311309
312-
stash_id : typing.Optional[RunActionOptsStashId]
313-
The ID of the File Stash to use for syncing the action's /tmp directory
314-
315310
request_options : typing.Optional[RequestOptions]
316311
Request-specific configuration.
317312
@@ -341,7 +336,6 @@ def run(
341336
async_handle=async_handle,
342337
configured_props=configured_props,
343338
dynamic_props_id=dynamic_props_id,
344-
stash_id=stash_id,
345339
request_options=request_options,
346340
)
347341
return _response.data
@@ -655,7 +649,6 @@ async def run(
655649
async_handle: typing.Optional[str] = None,
656650
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
657651
dynamic_props_id: typing.Optional[str] = OMIT,
658-
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
659652
request_options: typing.Optional[RequestOptions] = None,
660653
) -> RunActionResponse:
661654
"""
@@ -675,9 +668,6 @@ async def run(
675668
dynamic_props_id : typing.Optional[str]
676669
The ID for dynamic props
677670
678-
stash_id : typing.Optional[RunActionOptsStashId]
679-
The ID of the File Stash to use for syncing the action's /tmp directory
680-
681671
request_options : typing.Optional[RequestOptions]
682672
Request-specific configuration.
683673
@@ -715,7 +705,6 @@ async def main() -> None:
715705
async_handle=async_handle,
716706
configured_props=configured_props,
717707
dynamic_props_id=dynamic_props_id,
718-
stash_id=stash_id,
719708
request_options=request_options,
720709
)
721710
return _response.data

src/pipedream/actions/raw_client.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@
1010
from ..core.pagination import AsyncPager, BaseHttpResponse, SyncPager
1111
from ..core.pydantic_utilities import parse_obj_as
1212
from ..core.request_options import RequestOptions
13-
from ..core.serialization import convert_and_respect_annotation_metadata
1413
from ..types.component import Component
1514
from ..types.configure_prop_response import ConfigurePropResponse
1615
from ..types.get_component_response import GetComponentResponse
1716
from ..types.get_components_response import GetComponentsResponse
1817
from ..types.reload_props_response import ReloadPropsResponse
1918
from ..types.run_action_response import RunActionResponse
20-
from .types.run_action_opts_stash_id import RunActionOptsStashId
2119

2220
# this is used as the default value for optional parameters
2321
OMIT = typing.cast(typing.Any, ...)
@@ -324,7 +322,6 @@ def run(
324322
async_handle: typing.Optional[str] = None,
325323
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
326324
dynamic_props_id: typing.Optional[str] = OMIT,
327-
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
328325
request_options: typing.Optional[RequestOptions] = None,
329326
) -> HttpResponse[RunActionResponse]:
330327
"""
@@ -344,9 +341,6 @@ def run(
344341
dynamic_props_id : typing.Optional[str]
345342
The ID for dynamic props
346343
347-
stash_id : typing.Optional[RunActionOptsStashId]
348-
The ID of the File Stash to use for syncing the action's /tmp directory
349-
350344
request_options : typing.Optional[RequestOptions]
351345
Request-specific configuration.
352346
@@ -363,9 +357,6 @@ def run(
363357
"external_user_id": external_user_id,
364358
"configured_props": configured_props,
365359
"dynamic_props_id": dynamic_props_id,
366-
"stash_id": convert_and_respect_annotation_metadata(
367-
object_=stash_id, annotation=RunActionOptsStashId, direction="write"
368-
),
369360
},
370361
headers={
371362
"content-type": "application/json",
@@ -694,7 +685,6 @@ async def run(
694685
async_handle: typing.Optional[str] = None,
695686
configured_props: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
696687
dynamic_props_id: typing.Optional[str] = OMIT,
697-
stash_id: typing.Optional[RunActionOptsStashId] = OMIT,
698688
request_options: typing.Optional[RequestOptions] = None,
699689
) -> AsyncHttpResponse[RunActionResponse]:
700690
"""
@@ -714,9 +704,6 @@ async def run(
714704
dynamic_props_id : typing.Optional[str]
715705
The ID for dynamic props
716706
717-
stash_id : typing.Optional[RunActionOptsStashId]
718-
The ID of the File Stash to use for syncing the action's /tmp directory
719-
720707
request_options : typing.Optional[RequestOptions]
721708
Request-specific configuration.
722709
@@ -733,9 +720,6 @@ async def run(
733720
"external_user_id": external_user_id,
734721
"configured_props": configured_props,
735722
"dynamic_props_id": dynamic_props_id,
736-
"stash_id": convert_and_respect_annotation_metadata(
737-
object_=stash_id, annotation=RunActionOptsStashId, direction="write"
738-
),
739723
},
740724
headers={
741725
"content-type": "application/json",

src/pipedream/actions/types/__init__.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/pipedream/actions/types/run_action_opts_stash_id.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/pipedream/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import typing
55

66
import httpx
7-
from .types.project_environment import ProjectEnvironment
7+
from ._.types.project_environment import ProjectEnvironment
88
from .accounts.client import AccountsClient, AsyncAccountsClient
99
from .actions.client import ActionsClient, AsyncActionsClient
1010
from .app_categories.client import AppCategoriesClient, AsyncAppCategoriesClient

src/pipedream/core/client_wrapper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import typing
44

55
import httpx
6-
from ..types.project_environment import ProjectEnvironment
6+
from .._.types.project_environment import ProjectEnvironment
77
from .http_client import AsyncHttpClient, HttpClient
88

99

@@ -27,10 +27,10 @@ def __init__(
2727

2828
def get_headers(self) -> typing.Dict[str, str]:
2929
headers: typing.Dict[str, str] = {
30-
"User-Agent": "pipedream/1.0.4",
30+
"User-Agent": "pipedream/1.0.5",
3131
"X-Fern-Language": "Python",
3232
"X-Fern-SDK-Name": "pipedream",
33-
"X-Fern-SDK-Version": "1.0.4",
33+
"X-Fern-SDK-Version": "1.0.5",
3434
**(self.get_custom_headers() or {}),
3535
}
3636
if self._project_environment is not None:

src/pipedream/types/configurable_prop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ConfigurableProp(UniversalBaseModel):
1313
A configuration or input field for a component.
1414
"""
1515

16-
name: str = pydantic.Field()
16+
name: typing.Optional[str] = pydantic.Field(default=None)
1717
"""
1818
When building `configuredProps`, make sure to use this field as the key when setting the prop value
1919
"""

src/pipedream/types/configurable_prop_alert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ConfigurablePropAlert(UniversalBaseModel):
2323
The content of the alert, which can include HTML or plain text.
2424
"""
2525

26-
name: str = pydantic.Field()
26+
name: typing.Optional[str] = pydantic.Field(default=None)
2727
"""
2828
When building `configuredProps`, make sure to use this field as the key when setting the prop value
2929
"""

0 commit comments

Comments
 (0)