Skip to content

Commit

Permalink
[bot] Updated client based on openapi-2841ebe/clientgen (#354)
Browse files Browse the repository at this point in the history
Co-authored-by: API Engineering <api-engineering@digitalocean.com>
  • Loading branch information
digitalocean-engineering and API Engineering authored Oct 1, 2024
1 parent 7ce1d91 commit 037fd96
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 19 deletions.
2 changes: 1 addition & 1 deletion DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c90af3a
2841ebe
24 changes: 15 additions & 9 deletions src/pydo/aio/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -87776,9 +87776,11 @@ async def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down Expand Up @@ -87831,9 +87833,11 @@ async def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down Expand Up @@ -87873,9 +87877,11 @@ async def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down
24 changes: 15 additions & 9 deletions src/pydo/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -95602,9 +95602,11 @@ def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down Expand Up @@ -95657,9 +95659,11 @@ def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down Expand Up @@ -95699,9 +95703,11 @@ def purge_cache(
``/v2/cdn/endpoints/$ENDPOINT_ID/cache``. The body of the request should include
a ``files`` attribute containing a list of cached file paths to be purged. A
path may be for a single file or may contain a wildcard (\\ ``*``\\ ) to recursively
purge all files under a directory. When only a wildcard is provided, all
cached files will be purged. There is a rate limit of 50 files per 20 seconds
that can be purged.
purge all files under a directory. When only a wildcard is provided, all cached
files will be purged. There is a rate limit of 50 files per 20 seconds that can
be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds.
Purging files using a wildcard path counts as a single request against the API's
rate limit. Two identical purge requests cannot be sent at the same time.

:param cdn_id: A unique identifier for a CDN endpoint. Required.
:type cdn_id: str
Expand Down

0 comments on commit 037fd96

Please sign in to comment.