Skip to content

Commit 2a590e6

Browse files
SDK regeneration
1 parent 5aa6f56 commit 2a590e6

File tree

21 files changed

+487
-76
lines changed

21 files changed

+487
-76
lines changed

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"cliVersion": "3.5.0",
2+
"cliVersion": "3.65.1",
33
"generatorName": "fernapi/fern-python-sdk",
44
"generatorVersion": "4.45.0",
55
"generatorConfig": {

poetry.lock

Lines changed: 54 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version"]
44

55
[tool.poetry]
66
name = "pipedream"
7-
version = "1.1.3"
7+
version = "1.1.4"
88
description = ""
99
readme = "README.md"
1010
authors = []

src/pipedream/actions/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def list(
7474
Returns
7575
-------
7676
SyncPager[Component, GetComponentsResponse]
77-
behaves like registry=all
77+
returns public + private without permission
7878
7979
Examples
8080
--------
@@ -425,7 +425,7 @@ async def list(
425425
Returns
426426
-------
427427
AsyncPager[Component, GetComponentsResponse]
428-
behaves like registry=all
428+
returns public + private without permission
429429
430430
Examples
431431
--------

src/pipedream/actions/raw_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def list(
7171
Returns
7272
-------
7373
SyncPager[Component, GetComponentsResponse]
74-
behaves like registry=all
74+
returns public + private without permission
7575
"""
7676
_response = self._client_wrapper.httpx_client.request(
7777
f"v1/connect/{jsonable_encoder(self._client_wrapper._project_id)}/actions",
@@ -523,7 +523,7 @@ async def list(
523523
Returns
524524
-------
525525
AsyncPager[Component, GetComponentsResponse]
526-
behaves like registry=all
526+
returns public + private without permission
527527
"""
528528
_response = await self._client_wrapper.httpx_client.request(
529529
f"v1/connect/{jsonable_encoder(self._client_wrapper._project_id)}/actions",

src/pipedream/client.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import typing
77

88
import httpx
9-
from .types.project_environment import ProjectEnvironment
9+
from ._.types.project_environment import ProjectEnvironment
1010
from .core.api_error import ApiError
1111
from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
1212
from .core.oauth_token_provider import AsyncOAuthTokenProvider, OAuthTokenProvider
@@ -25,6 +25,7 @@
2525
from .proxy.client import AsyncProxyClient, ProxyClient
2626
from .tokens.client import AsyncTokensClient, TokensClient
2727
from .triggers.client import AsyncTriggersClient, TriggersClient
28+
from .usage.client import AsyncUsageClient, UsageClient
2829
from .users.client import AsyncUsersClient, UsersClient
2930

3031

@@ -191,6 +192,7 @@ def __init__(
191192
self._file_stash: typing.Optional[FileStashClient] = None
192193
self._proxy: typing.Optional[ProxyClient] = None
193194
self._tokens: typing.Optional[TokensClient] = None
195+
self._usage: typing.Optional[UsageClient] = None
194196
self._oauth_tokens: typing.Optional[OauthTokensClient] = None
195197

196198
@property
@@ -289,6 +291,14 @@ def tokens(self):
289291
self._tokens = TokensClient(client_wrapper=self._client_wrapper)
290292
return self._tokens
291293

294+
@property
295+
def usage(self):
296+
if self._usage is None:
297+
from .usage.client import UsageClient # noqa: E402
298+
299+
self._usage = UsageClient(client_wrapper=self._client_wrapper)
300+
return self._usage
301+
292302
@property
293303
def oauth_tokens(self):
294304
if self._oauth_tokens is None:
@@ -462,6 +472,7 @@ def __init__(
462472
self._file_stash: typing.Optional[AsyncFileStashClient] = None
463473
self._proxy: typing.Optional[AsyncProxyClient] = None
464474
self._tokens: typing.Optional[AsyncTokensClient] = None
475+
self._usage: typing.Optional[AsyncUsageClient] = None
465476
self._oauth_tokens: typing.Optional[AsyncOauthTokensClient] = None
466477

467478
@property
@@ -560,6 +571,14 @@ def tokens(self):
560571
self._tokens = AsyncTokensClient(client_wrapper=self._client_wrapper)
561572
return self._tokens
562573

574+
@property
575+
def usage(self):
576+
if self._usage is None:
577+
from .usage.client import AsyncUsageClient # noqa: E402
578+
579+
self._usage = AsyncUsageClient(client_wrapper=self._client_wrapper)
580+
return self._usage
581+
563582
@property
564583
def oauth_tokens(self):
565584
if self._oauth_tokens is None:

src/pipedream/components/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def list(
7777
Returns
7878
-------
7979
SyncPager[Component, GetComponentsResponse]
80-
behaves like registry=all
80+
returns public + private without permission
8181
8282
Examples
8383
--------
@@ -374,7 +374,7 @@ async def list(
374374
Returns
375375
-------
376376
AsyncPager[Component, GetComponentsResponse]
377-
behaves like registry=all
377+
returns public + private without permission
378378
379379
Examples
380380
--------

0 commit comments

Comments
 (0)