diff --git a/pyproject.toml b/pyproject.toml index 6faa1f2..0a5b353 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "pipedream" [tool.poetry] name = "pipedream" -version = "1.0.3" +version = "1.0.4" description = "" readme = "README.md" authors = [] diff --git a/src/pipedream/core/client_wrapper.py b/src/pipedream/core/client_wrapper.py index fbfab9b..2f40735 100644 --- a/src/pipedream/core/client_wrapper.py +++ b/src/pipedream/core/client_wrapper.py @@ -27,10 +27,10 @@ def __init__( def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { - "User-Agent": "pipedream/1.0.3", + "User-Agent": "pipedream/1.0.4", "X-Fern-Language": "Python", "X-Fern-SDK-Name": "pipedream", - "X-Fern-SDK-Version": "1.0.3", + "X-Fern-SDK-Version": "1.0.4", **(self.get_custom_headers() or {}), } if self._project_environment is not None: diff --git a/src/pipedream/types/configurable_prop.py b/src/pipedream/types/configurable_prop.py index df64dc0..37d4394 100644 --- a/src/pipedream/types/configurable_prop.py +++ b/src/pipedream/types/configurable_prop.py @@ -13,7 +13,7 @@ class ConfigurableProp(UniversalBaseModel): A configuration or input field for a component. """ - name: typing.Optional[str] = pydantic.Field(default=None) + name: str = pydantic.Field() """ When building `configuredProps`, make sure to use this field as the key when setting the prop value """ diff --git a/src/pipedream/types/configurable_prop_alert.py b/src/pipedream/types/configurable_prop_alert.py index c6d0c1b..0cd7b5d 100644 --- a/src/pipedream/types/configurable_prop_alert.py +++ b/src/pipedream/types/configurable_prop_alert.py @@ -23,7 +23,7 @@ class ConfigurablePropAlert(UniversalBaseModel): The content of the alert, which can include HTML or plain text. """ - name: typing.Optional[str] = pydantic.Field(default=None) + name: str = pydantic.Field() """ When building `configuredProps`, make sure to use this field as the key when setting the prop value """ diff --git a/src/pipedream/types/configurable_prop_any.py b/src/pipedream/types/configurable_prop_any.py index 88db652..aed6dd5 100644 --- a/src/pipedream/types/configurable_prop_any.py +++ b/src/pipedream/types/configurable_prop_any.py @@ -10,7 +10,7 @@ class ConfigurablePropAny(UniversalBaseModel): type: typing.Optional[typing.Literal["any"]] = None - name: typing.Optional[str] = pydantic.Field(default=None) + name: str = pydantic.Field() """ When building `configuredProps`, make sure to use this field as the key when setting the prop value """ diff --git a/src/pipedream/types/configurable_prop_app.py b/src/pipedream/types/configurable_prop_app.py index 7053f8f..8c1d154 100644 --- a/src/pipedream/types/configurable_prop_app.py +++ b/src/pipedream/types/configurable_prop_app.py @@ -15,7 +15,7 @@ class ConfigurablePropApp(UniversalBaseModel): 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. """ - name: typing.Optional[str] = pydantic.Field(default=None) + name: str = pydantic.Field() """ When building `configuredProps`, make sure to use this field as the key when setting the prop value """ diff --git a/src/pipedream/types/configurable_prop_boolean.py b/src/pipedream/types/configurable_prop_boolean.py index 5209bea..eda5c42 100644 --- a/src/pipedream/types/configurable_prop_boolean.py +++ b/src/pipedream/types/configurable_prop_boolean.py @@ -10,7 +10,7 @@ class ConfigurablePropBoolean(UniversalBaseModel): type: typing.Optional[typing.Literal["boolean"]] = None - name: typing.Optional[str] = pydantic.Field(default=None) + name: str = pydantic.Field() """ When building `configuredProps`, make sure to use this field as the key when setting the prop value """ diff --git a/src/pipedream/types/configurable_prop_discord.py b/src/pipedream/types/configurable_prop_discord.py index 2a93554..a1a8fb2 100644 --- a/src/pipedream/types/configurable_prop_discord.py +++ b/src/pipedream/types/configurable_prop_discord.py @@ -10,7 +10,7 @@ class ConfigurablePropDiscord(UniversalBaseModel): type: typing.Optional[typing.Literal["$.discord.channel"]] = None - name: typing.Optional[str] = pydantic.Field(default=None) + name: str = pydantic.Field() """ When building `configuredProps`, make sure to use this field as the key when setting the prop value """ diff --git a/src/pipedream/types/configurable_prop_integer.py b/src/pipedream/types/configurable_prop_integer.py index ed4d01c..e7caf23 100644 --- a/src/pipedream/types/configurable_prop_integer.py +++ b/src/pipedream/types/configurable_prop_integer.py @@ -20,7 +20,7 @@ class ConfigurablePropInteger(UniversalBaseModel): The maximum value for this integer prop. """ - name: typing.Optional[str] = pydantic.Field(default=None) + name: str = pydantic.Field() """ When building `configuredProps`, make sure to use this field as the key when setting the prop value """ diff --git a/src/pipedream/types/configurable_prop_object.py b/src/pipedream/types/configurable_prop_object.py index f77c16b..0bc4e66 100644 --- a/src/pipedream/types/configurable_prop_object.py +++ b/src/pipedream/types/configurable_prop_object.py @@ -10,7 +10,7 @@ class ConfigurablePropObject(UniversalBaseModel): type: typing.Optional[typing.Literal["object"]] = None - name: typing.Optional[str] = pydantic.Field(default=None) + name: str = pydantic.Field() """ When building `configuredProps`, make sure to use this field as the key when setting the prop value """ diff --git a/src/pipedream/types/configurable_prop_string.py b/src/pipedream/types/configurable_prop_string.py index 6f993ac..1b8fc0d 100644 --- a/src/pipedream/types/configurable_prop_string.py +++ b/src/pipedream/types/configurable_prop_string.py @@ -15,7 +15,7 @@ class ConfigurablePropString(UniversalBaseModel): If true, this prop is a secret and should not be displayed in plain text. """ - name: typing.Optional[str] = pydantic.Field(default=None) + name: str = pydantic.Field() """ When building `configuredProps`, make sure to use this field as the key when setting the prop value """ diff --git a/src/pipedream/types/configurable_prop_string_array.py b/src/pipedream/types/configurable_prop_string_array.py index 1e74b7b..558ec33 100644 --- a/src/pipedream/types/configurable_prop_string_array.py +++ b/src/pipedream/types/configurable_prop_string_array.py @@ -15,7 +15,7 @@ class ConfigurablePropStringArray(UniversalBaseModel): If true, this prop is a secret and should not be displayed in plain text. """ - name: typing.Optional[str] = pydantic.Field(default=None) + name: str = pydantic.Field() """ When building `configuredProps`, make sure to use this field as the key when setting the prop value """