Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4aef71e

Browse files
committedMar 13, 2025·
feat(api): api update (#2531)
1 parent bf8a0fa commit 4aef71e

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1610
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-f353fb6c40faa2fe33f397fc26931746c1f2b0847c351d430982c192ac3ed50b.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a12181ca63b025eede38ed1d247317c04b78470605ae6f255595d39888cbbb20.yml

‎src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/secrets.py

+8-6
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def update(
6868
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
6969
) -> Optional[SecretUpdateResponse]:
7070
"""
71-
Put secrets to a script uploaded to a Workers for Platforms namespace.
71+
Add a secret to a script uploaded to a Workers for Platforms namespace.
7272
7373
Args:
7474
account_id: Identifier
@@ -132,7 +132,7 @@ def list(
132132
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
133133
) -> SyncSinglePage[SecretListResponse]:
134134
"""
135-
List secrets from a script uploaded to a Workers for Platforms namespace.
135+
List secrets bound to a script uploaded to a Workers for Platforms namespace.
136136
137137
Args:
138138
account_id: Identifier
@@ -179,7 +179,8 @@ def get(
179179
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
180180
) -> Optional[SecretGetResponse]:
181181
"""
182-
Get secret from a script uploaded to a Workers for Platforms namespace.
182+
Get a given secret binding (value omitted) on a script uploaded to a Workers for
183+
Platforms namespace.
183184
184185
Args:
185186
account_id: Identifier
@@ -256,7 +257,7 @@ async def update(
256257
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
257258
) -> Optional[SecretUpdateResponse]:
258259
"""
259-
Put secrets to a script uploaded to a Workers for Platforms namespace.
260+
Add a secret to a script uploaded to a Workers for Platforms namespace.
260261
261262
Args:
262263
account_id: Identifier
@@ -320,7 +321,7 @@ def list(
320321
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
321322
) -> AsyncPaginator[SecretListResponse, AsyncSinglePage[SecretListResponse]]:
322323
"""
323-
List secrets from a script uploaded to a Workers for Platforms namespace.
324+
List secrets bound to a script uploaded to a Workers for Platforms namespace.
324325
325326
Args:
326327
account_id: Identifier
@@ -367,7 +368,8 @@ async def get(
367368
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
368369
) -> Optional[SecretGetResponse]:
369370
"""
370-
Get secret from a script uploaded to a Workers for Platforms namespace.
371+
Get a given secret binding (value omitted) on a script uploaded to a Workers for
372+
Platforms namespace.
371373
372374
Args:
373375
account_id: Identifier

0 commit comments

Comments
 (0)
Please sign in to comment.