Skip to content

Commit 8c20920

Browse files
committed
SDK regeneration
1 parent 1e4556c commit 8c20920

13 files changed

+16
-16
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.3"
6+
version = "1.0.4"
77
description = ""
88
readme = "README.md"
99
authors = []

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.3",
30+
"User-Agent": "pipedream/1.0.4",
3131
"X-Fern-Language": "Python",
3232
"X-Fern-SDK-Name": "pipedream",
33-
"X-Fern-SDK-Version": "1.0.3",
33+
"X-Fern-SDK-Version": "1.0.4",
3434
**(self.get_custom_headers() or {}),
3535
}
3636
if self._project_environment is not None:

src/pipedream/types/configurable_prop.py

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

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

21-
type: typing.Optional[str] = None
21+
type: str
2222
label: typing.Optional[str] = pydantic.Field(default=None)
2323
"""
2424
Value to use as an input label. In cases where `type` is "app", should load the app via `getApp`, etc. and show `app.name` instead.

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

src/pipedream/types/configurable_prop_any.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class ConfigurablePropAny(UniversalBaseModel):
1212
type: typing.Optional[typing.Literal["any"]] = None
13-
name: typing.Optional[str] = pydantic.Field(default=None)
13+
name: str = pydantic.Field()
1414
"""
1515
When building `configuredProps`, make sure to use this field as the key when setting the prop value
1616
"""

src/pipedream/types/configurable_prop_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ConfigurablePropApp(UniversalBaseModel):
1515
The name slug of the app, e.g. 'github', 'slack', etc. This is used to identify the app for which the account is being configured.
1616
"""
1717

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

src/pipedream/types/configurable_prop_boolean.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class ConfigurablePropBoolean(UniversalBaseModel):
1212
type: typing.Optional[typing.Literal["boolean"]] = None
13-
name: typing.Optional[str] = pydantic.Field(default=None)
13+
name: str = pydantic.Field()
1414
"""
1515
When building `configuredProps`, make sure to use this field as the key when setting the prop value
1616
"""

src/pipedream/types/configurable_prop_discord.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class ConfigurablePropDiscord(UniversalBaseModel):
1212
type: typing.Optional[typing.Literal["$.discord.channel"]] = None
13-
name: typing.Optional[str] = pydantic.Field(default=None)
13+
name: str = pydantic.Field()
1414
"""
1515
When building `configuredProps`, make sure to use this field as the key when setting the prop value
1616
"""

src/pipedream/types/configurable_prop_integer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ConfigurablePropInteger(UniversalBaseModel):
2020
The maximum value for this integer prop.
2121
"""
2222

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

0 commit comments

Comments
 (0)