Skip to content
Open
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
85 changes: 38 additions & 47 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
lockVersion: 2.0.0
id: 897b2045-55e2-49ca-a37b-2daf10d4e6ea
management:
docChecksum: ff02bf1e8c144fe95e7799aea0b1be3c
docChecksum: cc67ab449e92722187b0df80458d268a
docVersion: "1.0"
speakeasyVersion: 1.761.9
generationVersion: 2.881.4
releaseVersion: 0.3.1
configChecksum: 0ffe3a6fad91754af4cab7bb8a6be1e6
speakeasyVersion: 1.781.0
generationVersion: 2.907.0
releaseVersion: 0.4.0
configChecksum: 6613ddd73135b1cd3e2993db17993149
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: 861964fc-6c49-439c-8bc5-2e25bc9ab6c7
pristine_commit_hash: f33925ba856139d650650c3aa9034bd7341d2d86
pristine_tree_hash: 9dc6307eb8659c35a2b556911442236262efc8bb
generation_id: 1f6137f3-d732-4791-8aff-f7c4140c50ed
pristine_commit_hash: efe410f1071c1860fa25985926a8b7df84162832
pristine_tree_hash: ef75a476fc86361e1796379cde79a82169fb0bf6
features:
python:
additionalDependencies: 1.0.0
core: 6.0.21
additionalDependencies: 1.1.0
core: 6.0.30
defaultEnabledRetries: 0.2.0
devContainers: 3.0.0
enumUnions: 0.1.1
envVarSecurityUsage: 0.3.2
envVarSecurityUsage: 0.3.3
flatRequests: 1.0.1
flattening: 3.1.1
globalSecurity: 3.0.7
globalSecurityCallbacks: 1.0.0
globalServerURLs: 3.2.1
groups: 3.0.1
methodArguments: 1.0.2
methodArguments: 1.1.1
nameOverrides: 3.0.3
oauth2ClientCredentials: 2.1.5
openEnums: 1.0.4
responseFormat: 1.1.0
retries: 3.0.5
sdkHooks: 1.2.1
retries: 3.0.6
sdkHooks: 1.2.2
trackedFiles:
.devcontainer/README.md:
id: b170c0f184ac
Expand Down Expand Up @@ -250,8 +250,8 @@ trackedFiles:
pristine_git_object: fde5e0418e98324b2b3b2a8e02559e575b2f6cfa
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:599078c7d085e65429e5684022f52a776e59a681
pristine_git_object: af28195bd6f2f6132a0741eb9abb7c2dfd8a0f0d
last_write_checksum: sha1:ce88e79d6477b62b6b855d2084f582e37d15ddd2
pristine_git_object: ab9ba401ab5745e007bce59f86825b538a7d662d
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:24bfcb3bc609310d0b86cb75ca844b42d4c9c248
Expand Down Expand Up @@ -282,12 +282,12 @@ trackedFiles:
pristine_git_object: 8660a4d81ec54cbc43bcb4ed058985af8dcc715b
src/cribl_mgmt_plane/_version.py:
id: 8ec199fcd31a
last_write_checksum: sha1:92cf720c84e586fbaeebbc38cb72ebbd072fa0a2
pristine_git_object: 54f4bc2a4a0afba23172a74719c8efe99fe997ae
last_write_checksum: sha1:85454e8c690ccdf7ef88b0773c7875b9c590c49a
pristine_git_object: 99c2167bdb2a48053e1fa29b65371b13536b5c37
src/cribl_mgmt_plane/apicredentials.py:
id: d344dfa0de1f
last_write_checksum: sha1:c0a16485bb38d472aa6972c79a3d6a88efd10861
pristine_git_object: c97b1b181de890ca0fe9b9cf557ba984ed95ffc7
last_write_checksum: sha1:69a683b137ef782c020a9dd50953ee70b1d9f854
pristine_git_object: d6b343d9197dd3f9a587295ff51aeacf72a03627
src/cribl_mgmt_plane/basesdk.py:
id: 024a102b240a
last_write_checksum: sha1:81612e29f97ca18085e9c029df956289aabbad29
Expand Down Expand Up @@ -446,8 +446,12 @@ trackedFiles:
pristine_git_object: 65c499c66e905195a345a02c21a0050685df6926
src/cribl_mgmt_plane/types/__init__.py:
id: ac748e42a9e7
last_write_checksum: sha1:140ebdd01a46f92ffc710c52c958c4eba3cf68ed
pristine_git_object: fc76fe0c5505e29859b5d2bb707d48fd27661b8c
last_write_checksum: sha1:f9ad14217f832e74f594285960125add50324be9
pristine_git_object: faa268137bc01c9d08cfadc4797017db48747a96
src/cribl_mgmt_plane/types/base64fileinput.py:
id: 5a713441aa6e
last_write_checksum: sha1:1522687ae3398374c35710cad993a6e82b5ab99d
pristine_git_object: 862566fe2b1db830276b390e136e65090e5963d2
src/cribl_mgmt_plane/types/basemodel.py:
id: 61728c103c49
last_write_checksum: sha1:10d84aedeb9d35edfdadf2c3020caa1d24d8b584
Expand All @@ -474,12 +478,12 @@ trackedFiles:
pristine_git_object: 3324e1bc2668c54c4d5f5a1a845675319757a828
src/cribl_mgmt_plane/utils/eventstreaming.py:
id: 30f167e350de
last_write_checksum: sha1:620d78a8b4e3b854e08d136e02e40a01a786bd70
pristine_git_object: 3bdcd6d3d4fc772cb7f5fca8685dcdc8c85e13e8
last_write_checksum: sha1:7d1dc68f8b48486ab646653aa05cc38752e1f912
pristine_git_object: a8d4fe5cc88d3c7337339e1b36a61bbf7ca8c4eb
src/cribl_mgmt_plane/utils/forms.py:
id: 89247def37c3
last_write_checksum: sha1:15fa7e9ab1611e062a9984cf06cb20969713d295
pristine_git_object: f961e76beaf0a8b1fe0dda44754a74eebd3608e7
last_write_checksum: sha1:a971cdb120ad3d416d296d5d0ad89e4808350a7f
pristine_git_object: fdf0dc9b2a67bca773eefe6b471498cccaa83424
src/cribl_mgmt_plane/utils/headers.py:
id: 97c0f4ea3c60
last_write_checksum: sha1:7c6df233ee006332b566a8afa9ce9a245941d935
Expand All @@ -498,20 +502,20 @@ trackedFiles:
pristine_git_object: c04e0db82b68eca041f2cb2614d748fbac80fd41
src/cribl_mgmt_plane/utils/requestbodies.py:
id: 91737dcb4d38
last_write_checksum: sha1:41e2d2d2d3ecc394c8122ca4d4b85e1c3e03f054
pristine_git_object: 1de32b6d26f46590232f398fdba6ce0072f1659c
last_write_checksum: sha1:e1fef575283b7fe7fe2ad392dbbb3fb105309124
pristine_git_object: 591415af8e64baa410627b507d2740afb5387d13
src/cribl_mgmt_plane/utils/retries.py:
id: e0e855f01c10
last_write_checksum: sha1:471372f5c5d1dd5583239c9cf3c75f1b636e5d87
pristine_git_object: af07d4e941007af4213c5ec9047ef8a2fca04e5e
last_write_checksum: sha1:9fcb404e0a5113634df964b4f393ba4eea5a76f3
pristine_git_object: bab2066f128973f7a38a94ccc5b378bd849a3cd9
src/cribl_mgmt_plane/utils/security.py:
id: 6e9559bdd145
last_write_checksum: sha1:b978112e0dd964d585f424d151228d1d18995ba0
pristine_git_object: 1aa12865633519ab01b57dd216726fadb56825e2
src/cribl_mgmt_plane/utils/serializers.py:
id: 8199ce0531cd
last_write_checksum: sha1:61009f2e4ef6613a1a5af813fe020373dae5a492
pristine_git_object: d2149f8b909cb96628db140ac3cddb1b1e981367
last_write_checksum: sha1:7485f1425b0661fd84836186570df90207eec6af
pristine_git_object: 1031ed930bad5ece220cf7416a56c29f40f0588b
src/cribl_mgmt_plane/utils/unmarshal_json_response.py:
id: 3441b981eaea
last_write_checksum: sha1:2e70698f9b2355b1a0ff412353333b746d94edd5
Expand All @@ -526,8 +530,8 @@ trackedFiles:
pristine_git_object: dae01a44384ac3bc13ae07453a053bf6c898ebe3
src/cribl_mgmt_plane/workspaces.py:
id: bd7d8da788fc
last_write_checksum: sha1:08a5718813abae69789d2193be6aa4ba30e0435f
pristine_git_object: 4d5efe187cffbab33b37271a6280886f03b8da1e
last_write_checksum: sha1:cb68270b2d2591de26af473314b787f51882c634
pristine_git_object: 68c5bf8775acbb657a42006933a7250e33ff0a81
examples:
dummyServiceStatus: {}
getHealthStatus:
Expand Down Expand Up @@ -650,19 +654,6 @@ examples:
examplesVersion: 1.0.2
generatedTests:
dummyServiceStatus: "2025-07-02T19:49:08+02:00"
releaseNotes: |
## Python SDK Changes

This version of the SDK is generated for Cribl.Cloud.

### API Credentials — IP allowlist

Optional CIDR-based IP restrictions on API credentials: set on create and update; returned on list and get.

* `cribl_mgmt_plane.api_credentials.list()` — `response.items[].ip_allowlist`
* `cribl_mgmt_plane.api_credentials.create()` — `request.ip_allowlist`; `response.ip_allowlist`
* `cribl_mgmt_plane.api_credentials.update()` — `request.ip_allowlist`
* `cribl_mgmt_plane.api_credentials.get()` — `response.ip_allowlist`
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
Expand Down
12 changes: 11 additions & 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.1
version: 0.4.0
additionalDependencies:
dev: {}
main: {}
Expand All @@ -44,13 +44,18 @@ python:
authors:
- Speakeasy
baseErrorName: CriblMgmtPlaneError
bodyVariantOverloads: false
clientServerStatusCodesAsErrors: true
constFieldCasing: upper
defaultErrorName: APIError
description: Python Client SDK Generated by Speakeasy.
enableCustomCodeRegions: false
enumFormat: enum
envVarPrefix: CRIBLMGMTPLANE
errorSchemaValidation: true
eventStreamClassNames:
async: EventStreamAsync
sync: EventStream
fixFlags:
asyncPaginationSep2025: true
conflictResistantModelImportsFeb2026: true
Expand All @@ -70,18 +75,23 @@ python:
webhooks: ""
inferUnionDiscriminators: true
inputModelSuffix: input
inputTypedDictSuffix: TypedDict
legacyPyright: true
license: ""
maxMethodParams: 999
methodArguments: infer-optional-args
methodTimeoutArgument: timeout-ms
methodTimeoutUnits: milliseconds
moduleName: ""
multipartArrayFormat: legacy
optionalDependencies: {}
outputModelSuffix: output
packageManager: poetry
packageName: cribl-mgmt-plane
preApplyUnionDiscriminators: false
pytestFilterWarnings: []
pytestTimeout: 0
rawResponseHelpers: false
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
Expand Down
2 changes: 2 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ info:
tags:
- name: apiCredentials
description: Operations related to API credentials
- name: billing
description: Operations related to Billing and FinOps data
- name: workspaces
description: Operations related to Workspaces
- name: health
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
speakeasyVersion: 1.761.9
speakeasyVersion: 1.781.0
sources:
Cribl Cloud Management API:
sourceNamespace: cribl-cloud-management-api
sourceRevisionDigest: sha256:c77143c6cb9382b2267881145e8d9d5fb9cbf56d913cefe254f03dbc74c7268b
sourceBlobDigest: sha256:32512a0b7eb4acffcb144a9e07fd8a594085173d114e19a807308a643222a105
sourceRevisionDigest: sha256:21497309fe3f8463b9b185a8a7f377b473591c60cdbb3dfb942154dc01e473cb
sourceBlobDigest: sha256:42cd7b87ad65230789e911348371981b059f71cd86c91e9ef1cf258be5ae356c
tags:
- latest
- "1.0"
targets:
cribl-mgmt-plane:
source: Cribl Cloud Management API
sourceNamespace: cribl-cloud-management-api
sourceRevisionDigest: sha256:c77143c6cb9382b2267881145e8d9d5fb9cbf56d913cefe254f03dbc74c7268b
sourceBlobDigest: sha256:32512a0b7eb4acffcb144a9e07fd8a594085173d114e19a807308a643222a105
sourceRevisionDigest: sha256:21497309fe3f8463b9b185a8a7f377b473591c60cdbb3dfb942154dc01e473cb
sourceBlobDigest: sha256:42cd7b87ad65230789e911348371981b059f71cd86c91e9ef1cf258be5ae356c
codeSamplesNamespace: cribl-cloud-management-api-python-code-samples
codeSamplesRevisionDigest: sha256:6b0292034845909d3f5d909538c14250410c28d4972c282ddc9e1b869a75fe24
codeSamplesRevisionDigest: sha256:b86158ab3e371d7c6601b13055466f2ac8e4a17efed3e7d4bec34d839bf6af1a
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.761.9
speakeasyVersion: 1.781.0
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 @@ -358,4 +358,14 @@ Based on:
### Generated
- [python v0.3.1] .
### Releases
- [PyPI v0.3.1] https://pypi.org/project/cribl-mgmt-plane/0.3.1 - .
- [PyPI v0.3.1] https://pypi.org/project/cribl-mgmt-plane/0.3.1 - .

## 2026-06-27 03:47:42
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.781.0 (2.907.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.4.0] .
### Releases
- [PyPI v0.4.0] https://pypi.org/project/cribl-mgmt-plane/0.4.0 - .
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.1"
version = "0.4.0"
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.1"
__version__: str = "0.4.0"
__openapi_doc_version__: str = "1.0"
__gen_version__: str = "2.881.4"
__user_agent__: str = "speakeasy-sdk/python 0.3.1 2.881.4 1.0 cribl-mgmt-plane"
__gen_version__: str = "2.907.0"
__user_agent__: str = "speakeasy-sdk/python 0.4.0 2.907.0 1.0 cribl-mgmt-plane"

try:
if __package__ is not None:
Expand Down
18 changes: 9 additions & 9 deletions src/cribl_mgmt_plane/apicredentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from cribl_mgmt_plane.types import OptionalNullable, UNSET
from cribl_mgmt_plane.utils import get_security_from_env
from cribl_mgmt_plane.utils.unmarshal_json_response import unmarshal_json_response
from typing import Any, List, Mapping, Optional, Union
from typing import Any, Iterable, List, Mapping, Optional, Union


class APICredentials(BaseSDK):
Expand Down Expand Up @@ -206,7 +206,7 @@ def create(
roles: Union[
models.APICredentialRolesSchema, models.APICredentialRolesSchemaTypedDict
],
ip_allowlist: Optional[List[str]] = None,
ip_allowlist: Optional[Iterable[str]] = None,
retries: OptionalNullable[utils.RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
Expand Down Expand Up @@ -244,7 +244,7 @@ def create(
description=description,
enabled=enabled,
roles=utils.get_pydantic_model(roles, models.APICredentialRolesSchema),
ip_allowlist=ip_allowlist,
ip_allowlist=utils.unmarshal(ip_allowlist, Optional[List[str]]),
),
)

Expand Down Expand Up @@ -330,7 +330,7 @@ async def create_async(
roles: Union[
models.APICredentialRolesSchema, models.APICredentialRolesSchemaTypedDict
],
ip_allowlist: Optional[List[str]] = None,
ip_allowlist: Optional[Iterable[str]] = None,
retries: OptionalNullable[utils.RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
Expand Down Expand Up @@ -368,7 +368,7 @@ async def create_async(
description=description,
enabled=enabled,
roles=utils.get_pydantic_model(roles, models.APICredentialRolesSchema),
ip_allowlist=ip_allowlist,
ip_allowlist=utils.unmarshal(ip_allowlist, Optional[List[str]]),
),
)

Expand Down Expand Up @@ -458,7 +458,7 @@ def update(
models.APICredentialRolesSchemaTypedDict,
]
] = None,
ip_allowlist: Optional[List[str]] = None,
ip_allowlist: Optional[Iterable[str]] = None,
retries: OptionalNullable[utils.RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
Expand Down Expand Up @@ -500,7 +500,7 @@ def update(
roles=utils.get_pydantic_model(
roles, Optional[models.APICredentialRolesSchema]
),
ip_allowlist=ip_allowlist,
ip_allowlist=utils.unmarshal(ip_allowlist, Optional[List[str]]),
),
)

Expand Down Expand Up @@ -582,7 +582,7 @@ async def update_async(
models.APICredentialRolesSchemaTypedDict,
]
] = None,
ip_allowlist: Optional[List[str]] = None,
ip_allowlist: Optional[Iterable[str]] = None,
retries: OptionalNullable[utils.RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
Expand Down Expand Up @@ -624,7 +624,7 @@ async def update_async(
roles=utils.get_pydantic_model(
roles, Optional[models.APICredentialRolesSchema]
),
ip_allowlist=ip_allowlist,
ip_allowlist=utils.unmarshal(ip_allowlist, Optional[List[str]]),
),
)

Expand Down
Loading
Loading