Skip to content
Merged
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
28 changes: 14 additions & 14 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ id: 897b2045-55e2-49ca-a37b-2daf10d4e6ea
management:
docChecksum: 7cce29887afb438b21f3e5023ab944b8
docVersion: "1.0"
speakeasyVersion: 1.757.0
generationVersion: 2.866.0
releaseVersion: 0.3.0rc8
configChecksum: 8d17e028140c74b57dab030a231ced04
speakeasyVersion: 1.759.2
generationVersion: 2.869.23
releaseVersion: 0.3.0rc9
configChecksum: 26a4a387c702b55762d2d1d95a6aa535
repoURL: https://github.com/criblio/cribl_cloud_management_sdk_python.git
installationURL: https://github.com/criblio/cribl_cloud_management_sdk_python.git
published: true
persistentEdits:
generation_id: a61eb1a5-34fc-499c-8090-aa5668106da3
pristine_commit_hash: 366ac063c9b8d570f96219189f773ec31db67f94
pristine_tree_hash: 9652bff7dc399c023b70a9f5b1f39007681a7d2b
generation_id: 7d1072dd-4c9e-40ba-8746-700156e42ccb
pristine_commit_hash: 85fa44114edf49e3e92b8b543b371b56c4764a9b
pristine_tree_hash: f2ac2bfa08f5846ff98631cb0816cbff3429055f
features:
python:
additionalDependencies: 1.0.0
core: 6.0.19
core: 6.0.20
defaultEnabledRetries: 0.2.0
devContainers: 3.0.0
enumUnions: 0.1.1
Expand Down Expand Up @@ -250,8 +250,8 @@ trackedFiles:
pristine_git_object: fde5e0418e98324b2b3b2a8e02559e575b2f6cfa
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:21e975a32ae4913f98d585135513fdbc3fefde58
pristine_git_object: 4856749d223f7f00b1cecc967ae8d2a0a7ecd749
last_write_checksum: sha1:45ecea21979454fbd4100afc41a15bb43580a04e
pristine_git_object: 39c068335d6a5b1799506d66da8951fac7e1f57e
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:24bfcb3bc609310d0b86cb75ca844b42d4c9c248
Expand Down Expand Up @@ -282,16 +282,16 @@ trackedFiles:
pristine_git_object: 8660a4d81ec54cbc43bcb4ed058985af8dcc715b
src/cribl_mgmt_plane/_version.py:
id: 8ec199fcd31a
last_write_checksum: sha1:cb00e94bfbf32c7d6f270104c19f66fb3df1428a
pristine_git_object: 46076b98259c2dd6044bdc0b10faf337c1ed87cd
last_write_checksum: sha1:26481f8c848dae1fb8b44f2486739e400b53c30f
pristine_git_object: 56c245617035999aa0116448aa42bf2204f3c89c
src/cribl_mgmt_plane/apicredentials.py:
id: d344dfa0de1f
last_write_checksum: sha1:d7866a3b5eedc24fece57dc06bbc24603ce2875d
pristine_git_object: 630ce8d1bf5011a090e68effcd370096fc9f54e2
src/cribl_mgmt_plane/basesdk.py:
id: 024a102b240a
last_write_checksum: sha1:b8593745cc00e1a12a12cf04a1385a5a0b3a08c0
pristine_git_object: f7926a47bc4a90de84612f20b2b6a08260d98cbe
last_write_checksum: sha1:408304f25fd966296eca6c9f1ee67201b50458a0
pristine_git_object: 9f23a26240bc4201589f77002e74fb49b3c16901
src/cribl_mgmt_plane/errors/__init__.py:
id: 53763ce236b6
last_write_checksum: sha1:959bb14a8cad993c700d93bec2ee8ce68833270c
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 0.3.0rc8
version: 0.3.0rc9
additionalDependencies:
dev: {}
main: {}
Expand Down
15 changes: 7 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
speakeasyVersion: 1.757.0
speakeasyVersion: 1.759.2
sources:
Cribl Cloud Management API:
sourceNamespace: cribl-cloud-management-api
sourceRevisionDigest: sha256:53c445fc05fb5410dc90c2a9211e3fbe8a4f4d01d41f9024b8ae1c92b2b11e1f
sourceBlobDigest: sha256:1ccb8a118e39dc1d930b6a59e2d3b4826bb7e3e3817c2fee6c848bbd9c339539
sourceRevisionDigest: sha256:61286b8bb776b9016c3b53b9b2b29456e7d328e34a20e4586b7895f09022069a
sourceBlobDigest: sha256:9b195b89ffce142a75b2d4e18ea9d8218e9d905cb81323d47d9261e79cb65dce
tags:
- latest
- speakeasy-sdk-regen-1761227591
- "1.0"
targets:
cribl-mgmt-plane:
source: Cribl Cloud Management API
sourceNamespace: cribl-cloud-management-api
sourceRevisionDigest: sha256:53c445fc05fb5410dc90c2a9211e3fbe8a4f4d01d41f9024b8ae1c92b2b11e1f
sourceBlobDigest: sha256:1ccb8a118e39dc1d930b6a59e2d3b4826bb7e3e3817c2fee6c848bbd9c339539
sourceRevisionDigest: sha256:61286b8bb776b9016c3b53b9b2b29456e7d328e34a20e4586b7895f09022069a
sourceBlobDigest: sha256:9b195b89ffce142a75b2d4e18ea9d8218e9d905cb81323d47d9261e79cb65dce
codeSamplesNamespace: cribl-cloud-management-api-python-code-samples
codeSamplesRevisionDigest: sha256:f651db7bafd20774ab0f943abb53acfd69e0b114ebadf24a80c8b3255bc40fa0
codeSamplesRevisionDigest: sha256:5d18c9d3e34e4c59ccadfcc04a7ec4f6175b82f81eca163c7cd047319d5568ea
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.757.0
speakeasyVersion: 1.759.2
sources:
Cribl Cloud Management API:
inputs:
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,4 +318,14 @@ Based on:
### Generated
- [python v0.3.0rc8] .
### Releases
- [PyPI v0.3.0rc8] https://pypi.org/project/cribl-mgmt-plane/0.3.0rc8 - .
- [PyPI v0.3.0rc8] https://pypi.org/project/cribl-mgmt-plane/0.3.0rc8 - .

## 2026-03-25 07:49:53
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.759.2 (2.869.23) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.3.0rc9] .
### Releases
- [PyPI v0.3.0rc9] https://pypi.org/project/cribl-mgmt-plane/0.3.0rc9 - .
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[project]
name = "cribl-mgmt-plane"
version = "0.3.0rc8"
version = "0.3.0rc9"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Speakeasy" },]
readme = "README-PYPI.md"
Expand Down
6 changes: 3 additions & 3 deletions src/cribl_mgmt_plane/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "cribl-mgmt-plane"
__version__: str = "0.3.0rc8"
__version__: str = "0.3.0rc9"
__openapi_doc_version__: str = "1.0"
__gen_version__: str = "2.866.0"
__user_agent__: str = "speakeasy-sdk/python 0.3.0rc8 2.866.0 1.0 cribl-mgmt-plane"
__gen_version__: str = "2.869.23"
__user_agent__: str = "speakeasy-sdk/python 0.3.0rc9 2.869.23 1.0 cribl-mgmt-plane"

try:
if __package__ is not None:
Expand Down
6 changes: 5 additions & 1 deletion src/cribl_mgmt_plane/basesdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _build_request_with_client(
data=serialized_request_body.data,
files=serialized_request_body.files,
headers=headers,
timeout=timeout,
timeout=timeout if timeout is not None else httpx.USE_CLIENT_DEFAULT,
)

def do_request(
Expand All @@ -245,6 +245,8 @@ def do():
http_res = None
try:
req = hooks.before_request(BeforeRequestContext(hook_ctx), request)
if "timeout" in request.extensions and "timeout" not in req.extensions:
req.extensions["timeout"] = request.extensions["timeout"]
logger.debug(
"Request:\nMethod: %s\nURL: %s\nHeaders: %s\nBody: %s",
req.method,
Expand Down Expand Up @@ -320,6 +322,8 @@ async def do():
hooks.before_request, BeforeRequestContext(hook_ctx), request
)

if "timeout" in request.extensions and "timeout" not in req.extensions:
req.extensions["timeout"] = request.extensions["timeout"]
logger.debug(
"Request:\nMethod: %s\nURL: %s\nHeaders: %s\nBody: %s",
req.method,
Expand Down
Loading