Skip to content

🌿 Fern Regeneration -- August 1, 2025 #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ client = Pipedream(
client_id="YOUR_CLIENT_ID",
client_secret="YOUR_CLIENT_SECRET",
)
client.accounts.create(
app_slug="app_slug",
cfmap_json="cfmap_json",
connect_token="connect_token",
client.actions.run(
id="id",
external_user_id="external_user_id",
)
```

Expand All @@ -53,10 +52,9 @@ client = AsyncPipedream(


async def main() -> None:
await client.accounts.create(
app_slug="app_slug",
cfmap_json="cfmap_json",
connect_token="connect_token",
await client.actions.run(
id="id",
external_user_id="external_user_id",
)


Expand All @@ -72,7 +70,7 @@ will be thrown.
from pipedream.core.api_error import ApiError

try:
client.accounts.create(...)
client.actions.run(...)
except ApiError as e:
print(e.status_code)
print(e.body)
Expand Down Expand Up @@ -112,7 +110,7 @@ from pipedream import Pipedream
client = Pipedream(
...,
)
response = client.accounts.with_raw_response.create(...)
response = client.actions.with_raw_response.run(...)
print(response.headers) # access the response headers
print(response.data) # access the underlying object
pager = client.apps.list(...)
Expand Down Expand Up @@ -140,7 +138,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret
Use the `max_retries` request option to configure this behavior.

```python
client.accounts.create(..., request_options={
client.actions.run(..., request_options={
"max_retries": 1
})
```
Expand All @@ -160,7 +158,7 @@ client = Pipedream(


# Override timeout for a specific method
client.accounts.create(..., request_options={
client.actions.run(..., request_options={
"timeout_in_seconds": 1
})
```
Expand Down
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.1"
version = "1.0.2"
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 @@ -4,7 +4,7 @@
import typing

import httpx
from .types.project_environment import ProjectEnvironment
from ._.types.project_environment import ProjectEnvironment
from .accounts.client import AccountsClient, AsyncAccountsClient
from .actions.client import ActionsClient, AsyncActionsClient
from .app_categories.client import AppCategoriesClient, AsyncAppCategoriesClient
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.1",
"User-Agent": "pipedream/1.0.2",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "pipedream",
"X-Fern-SDK-Version": "1.0.1",
"X-Fern-SDK-Version": "1.0.2",
**(self.get_custom_headers() or {}),
}
if self._project_environment is not None:
Expand Down
5 changes: 0 additions & 5 deletions src/pipedream/workflows/__init__.py

This file was deleted.

Loading
Loading