Skip to content

Commit

Permalink
[bot] Updated client based on openapi-b5b24d0/clientgen (#297)
Browse files Browse the repository at this point in the history
Co-authored-by: API Engineering <[email protected]>
  • Loading branch information
digitalocean-engineering and API Engineering authored May 30, 2024
1 parent e86244b commit 3e3ebc9
Show file tree
Hide file tree
Showing 6 changed files with 670 additions and 1,235 deletions.
2 changes: 1 addition & 1 deletion DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8ce96ef
b5b24d0
58 changes: 29 additions & 29 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
aiohttp==3.8.5 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
aiosignal==1.3.1 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
async-timeout==4.0.2 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
asynctest==0.13.0 ; python_full_version >= "3.7.2" and python_version < "3.8"
attrs==22.1.0 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
azure-core==1.26.1 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
azure-identity==1.12.0 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
certifi==2023.7.22 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
cffi==1.15.1 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0" and platform_python_implementation != "PyPy"
charset-normalizer==2.1.1 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
cryptography==42.0.4 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
frozenlist==1.3.3 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
idna==3.7 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
isodate==0.6.1 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
msal-extensions==1.0.0 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
msal==1.24.1 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
msrest==0.7.1 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
multidict==6.0.2 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
oauthlib==3.2.2 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
portalocker==2.6.0 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
pycparser==2.21 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0" and platform_python_implementation != "PyPy"
pyjwt[crypto]==2.6.0 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
pywin32==305 ; python_full_version >= "3.7.2" and platform_system == "Windows" and python_full_version < "4.0.0"
requests-oauthlib==1.3.1 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
requests==2.31.0 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
six==1.16.0 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
typing-extensions==4.4.0 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
urllib3==1.26.18 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
yarl==1.8.1 ; python_full_version >= "3.7.2" and python_full_version < "4.0.0"
aiohttp==3.9.5 ; python_version >= "3.8" and python_full_version < "4.0.0"
aiosignal==1.3.1 ; python_version >= "3.8" and python_full_version < "4.0.0"
async-timeout==4.0.3 ; python_version >= "3.8" and python_version < "3.11"
attrs==23.2.0 ; python_version >= "3.8" and python_full_version < "4.0.0"
azure-core==1.30.1 ; python_version >= "3.8" and python_full_version < "4.0.0"
azure-identity==1.16.0 ; python_version >= "3.8" and python_full_version < "4.0.0"
certifi==2024.2.2 ; python_version >= "3.8" and python_full_version < "4.0.0"
cffi==1.16.0 ; python_version >= "3.8" and python_full_version < "4.0.0" and platform_python_implementation != "PyPy"
charset-normalizer==3.3.2 ; python_version >= "3.8" and python_full_version < "4.0.0"
cryptography==42.0.7 ; python_version >= "3.8" and python_full_version < "4.0.0"
frozenlist==1.4.1 ; python_version >= "3.8" and python_full_version < "4.0.0"
idna==3.7 ; python_version >= "3.8" and python_full_version < "4.0.0"
isodate==0.6.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
msal-extensions==1.1.0 ; python_version >= "3.8" and python_full_version < "4.0.0"
msal==1.28.0 ; python_version >= "3.8" and python_full_version < "4.0.0"
msrest==0.7.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
multidict==6.0.5 ; python_version >= "3.8" and python_full_version < "4.0.0"
oauthlib==3.2.2 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
packaging==24.0 ; python_version >= "3.8" and python_full_version < "4.0.0"
portalocker==2.8.2 ; python_version >= "3.8" and python_full_version < "4.0.0"
pycparser==2.22 ; python_version >= "3.8" and python_full_version < "4.0.0" and platform_python_implementation != "PyPy"
pyjwt[crypto]==2.8.0 ; python_version >= "3.8" and python_full_version < "4.0.0"
pywin32==306 ; python_version >= "3.8" and python_full_version < "4.0.0" and platform_system == "Windows"
requests-oauthlib==2.0.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
requests==2.32.2 ; python_version >= "3.8" and python_full_version < "4.0.0"
six==1.16.0 ; python_version >= "3.8" and python_full_version < "4.0.0"
typing-extensions==4.12.0 ; python_version >= "3.8" and python_full_version < "4.0.0"
urllib3==2.2.1 ; python_version >= "3.8" and python_full_version < "4.0.0"
yarl==1.9.4 ; python_version >= "3.8" and python_full_version < "4.0.0"
8 changes: 5 additions & 3 deletions src/pydo/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,9 +657,11 @@ def __init__(
self._config.custom_hook_policy,
self._config.logging_policy,
policies.DistributedTracingPolicy(**kwargs),
policies.SensitiveHeaderCleanupPolicy(**kwargs)
if self._config.redirect_policy
else None,
(
policies.SensitiveHeaderCleanupPolicy(**kwargs)
if self._config.redirect_policy
else None
),
self._config.http_logging_policy,
]
self._client: PipelineClient = PipelineClient(
Expand Down
8 changes: 5 additions & 3 deletions src/pydo/aio/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,9 +657,11 @@ def __init__(
self._config.custom_hook_policy,
self._config.logging_policy,
policies.DistributedTracingPolicy(**kwargs),
policies.SensitiveHeaderCleanupPolicy(**kwargs)
if self._config.redirect_policy
else None,
(
policies.SensitiveHeaderCleanupPolicy(**kwargs)
if self._config.redirect_policy
else None
),
self._config.http_logging_policy,
]
self._client: AsyncPipelineClient = AsyncPipelineClient(
Expand Down
Loading

0 comments on commit 3e3ebc9

Please sign in to comment.