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.10"
version = "1.0.11"
description = ""
readme = "README.md"
authors = []
Expand Down
2 changes: 1 addition & 1 deletion src/pipedream/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import typing

import httpx
from .types.project_environment import ProjectEnvironment
from ._.types.project_environment import ProjectEnvironment
from .core.api_error import ApiError
from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from .core.oauth_token_provider import OAuthTokenProvider
Expand Down
6 changes: 3 additions & 3 deletions src/pipedream/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import typing

import httpx
from ..types.project_environment import ProjectEnvironment
from .._.types.project_environment import ProjectEnvironment
from .http_client import AsyncHttpClient, HttpClient


Expand All @@ -27,10 +27,10 @@ def __init__(

def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"User-Agent": "pipedream/1.0.10",
"User-Agent": "pipedream/1.0.11",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "pipedream",
"X-Fern-SDK-Version": "1.0.10",
"X-Fern-SDK-Version": "1.0.11",
**(self.get_custom_headers() or {}),
}
if self._project_environment is not None:
Expand Down
112 changes: 0 additions & 112 deletions src/pipedream/core/http_sse/_api.py

This file was deleted.

61 changes: 0 additions & 61 deletions src/pipedream/core/http_sse/_decoders.py

This file was deleted.

7 changes: 0 additions & 7 deletions src/pipedream/core/http_sse/_exceptions.py

This file was deleted.

17 changes: 0 additions & 17 deletions src/pipedream/core/http_sse/_models.py

This file was deleted.

30 changes: 30 additions & 0 deletions src/pipedream/deployed_triggers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,33 @@

# isort: skip_file

import typing
from importlib import import_module

if typing.TYPE_CHECKING:
from .types import DeployedTriggersListRequestEmitterType
_dynamic_imports: typing.Dict[str, str] = {"DeployedTriggersListRequestEmitterType": ".types"}


def __getattr__(attr_name: str) -> typing.Any:
module_name = _dynamic_imports.get(attr_name)
if module_name is None:
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
try:
module = import_module(module_name, __package__)
if module_name == f".{attr_name}":
return module
else:
return getattr(module, attr_name)
except ImportError as e:
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
except AttributeError as e:
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e


def __dir__():
lazy_attrs = list(_dynamic_imports.keys())
return sorted(lazy_attrs)


__all__ = ["DeployedTriggersListRequestEmitterType"]
Loading
Loading