Skip to content

Commit 91db684

Browse files
authored
Merge pull request #186 from criblio/speakeasy-sdk-regen-dev-1762455000
chore: 🐝 Update SDK - Generate Dev SDK [dev] 0.3.0b12
2 parents e8c610e + 8528004 commit 91db684

File tree

152 files changed

+7929
-150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+7929
-150
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: cfa345be-20bc-4980-a260-c3fa74040ac2
33
management:
44
docChecksum: d5e71c600b11bf9409114d9016fe6d31
55
docVersion: 4.15.0-alpha.1762383805913-2ea53e6b
6-
speakeasyVersion: 1.643.2
7-
generationVersion: 2.731.6
8-
releaseVersion: 0.3.0b11
9-
configChecksum: 0a88a55f320699760f6cc03b31ddef2b
6+
speakeasyVersion: 1.650.0
7+
generationVersion: 2.743.2
8+
releaseVersion: 0.3.0b12
9+
configChecksum: 6070b9b6f8c8523796b8c68371665929
1010
repoURL: https://github.com/criblio/cribl_control_plane_sdk_python.git
1111
installationURL: https://github.com/criblio/cribl_control_plane_sdk_python.git
1212
published: true
@@ -15,7 +15,7 @@ features:
1515
additionalDependencies: 1.0.0
1616
additionalProperties: 1.0.1
1717
constsAndDefaults: 1.0.5
18-
core: 5.23.0
18+
core: 5.23.5
1919
defaultEnabledRetries: 0.2.0
2020
devContainers: 3.0.0
2121
enumUnions: 0.1.0
@@ -25,7 +25,7 @@ features:
2525
flattening: 3.1.1
2626
globalSecurity: 3.0.4
2727
globalSecurityCallbacks: 1.0.0
28-
globalServerURLs: 3.1.1
28+
globalServerURLs: 3.2.0
2929
groups: 3.0.1
3030
methodArguments: 1.0.2
3131
nameOverrides: 3.0.1
@@ -3447,4 +3447,3 @@ generatedTests:
34473447
updatePacksById: "2025-08-01T02:34:48Z"
34483448
deleteGroupsById: "2025-08-04T02:32:44Z"
34493449
updateGroupsById: "2025-08-04T02:32:44Z"
3450-
releaseNotes: "## Python SDK Changes Detected:\n* `cribl_control_plane.destinations.list()`: `response.items.[].[databricks]` **Changed** **Breaking** :warning:\n* `cribl_control_plane.destinations.create()`: \n * `request.[databricks]` **Changed** **Breaking** :warning:\n * `response.items.[].[databricks]` **Changed** **Breaking** :warning:\n* `cribl_control_plane.destinations.get()`: `response.items.[].[databricks]` **Changed** **Breaking** :warning:\n* `cribl_control_plane.destinations.update()`: \n * `request.output.[databricks]` **Changed** **Breaking** :warning:\n * `response.items.[].[databricks]` **Changed** **Breaking** :warning:\n* `cribl_control_plane.destinations.delete()`: `response.items.[].[databricks]` **Changed** **Breaking** :warning:\n"

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ generation:
2323
sdkHooksConfigAccess: true
2424
schemas:
2525
allOfMergeStrategy: shallowMerge
26+
requestBodyFieldName: ""
2627
tests:
2728
generateTests: true
2829
generateNewTests: false
2930
skipResponseBodyAssertions: false
3031
python:
31-
version: 0.3.0b11
32+
version: 0.3.0b12
3233
additionalDependencies:
3334
dev: {}
3435
main: {}

.speakeasy/workflow.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.643.2
1+
speakeasyVersion: 1.650.0
22
sources:
33
Cribl API Reference:
44
sourceNamespace: cribl-api-reference
55
sourceRevisionDigest: sha256:be2d2d3a548781eacc96ef0182f178cd0aded9ee984a158da740de8b8de6a7e0
66
sourceBlobDigest: sha256:661e85d7af03ce10599286614ba66fc735c2a2372f83f91a2bc9dcf2434a6ae1
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-dev-1762390756
9+
- speakeasy-sdk-regen-dev-1762455000
1010
- 4.15.0-alpha.1762383805913-2ea53e6b
1111
targets:
1212
cribl-control-plane:
@@ -15,10 +15,10 @@ targets:
1515
sourceRevisionDigest: sha256:be2d2d3a548781eacc96ef0182f178cd0aded9ee984a158da740de8b8de6a7e0
1616
sourceBlobDigest: sha256:661e85d7af03ce10599286614ba66fc735c2a2372f83f91a2bc9dcf2434a6ae1
1717
codeSamplesNamespace: cribl-api-reference-python-code-samples
18-
codeSamplesRevisionDigest: sha256:06b04edf78c8b2b58e12dd5d97dbc80383e4c56606b8db6c73cc3b356b43c2e0
18+
codeSamplesRevisionDigest: sha256:3e9aeeee59c775f4d237c4ab8f8973a9002afe3db14c86f5f64ec9e6e1509813
1919
workflow:
2020
workflowVersion: 1.0.0
21-
speakeasyVersion: 1.643.2
21+
speakeasyVersion: 1.650.0
2222
sources:
2323
Cribl API Reference:
2424
inputs:

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,4 +618,14 @@ Based on:
618618
### Generated
619619
- [python v0.3.0b11] .
620620
### Releases
621-
- [PyPI v0.3.0b11] https://pypi.org/project/cribl-control-plane/0.3.0b11 - .
621+
- [PyPI v0.3.0b11] https://pypi.org/project/cribl-control-plane/0.3.0b11 - .
622+
623+
## 2025-11-06 18:49:39
624+
### Changes
625+
Based on:
626+
- OpenAPI Doc
627+
- Speakeasy CLI 1.650.0 (2.743.2) https://github.com/speakeasy-api/speakeasy
628+
### Generated
629+
- [python v0.3.0b12] .
630+
### Releases
631+
- [PyPI v0.3.0b12] https://pypi.org/project/cribl-control-plane/0.3.0b12 - .

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[project]
33
name = "cribl-control-plane"
4-
version = "0.3.0b11"
4+
version = "0.3.0b12"
55
description = "Python Client SDK Generated by Speakeasy."
66
authors = [{ name = "Speakeasy" },]
77
readme = "README-PYPI.md"

src/cribl_control_plane/_version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "cribl-control-plane"
6-
__version__: str = "0.3.0b11"
6+
__version__: str = "0.3.0b12"
77
__openapi_doc_version__: str = "4.15.0-alpha.1762383805913-2ea53e6b"
8-
__gen_version__: str = "2.731.6"
9-
__user_agent__: str = "speakeasy-sdk/python 0.3.0b11 2.731.6 4.15.0-alpha.1762383805913-2ea53e6b cribl-control-plane"
8+
__gen_version__: str = "2.743.2"
9+
__user_agent__: str = "speakeasy-sdk/python 0.3.0b12 2.743.2 4.15.0-alpha.1762383805913-2ea53e6b cribl-control-plane"
1010

1111
try:
1212
if __package__ is not None:

src/cribl_control_plane/models/cacheconnection.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
from __future__ import annotations
44
from .cacheconnectionbackfillstatus import CacheConnectionBackfillStatus
55
from .lakehouseconnectiontype import LakehouseConnectionType
6+
from cribl_control_plane import models
67
from cribl_control_plane.types import BaseModel
78
from cribl_control_plane.utils import validate_open_enum
89
import pydantic
10+
from pydantic import field_serializer
911
from pydantic.functional_validators import PlainValidator
1012
from typing import List, Optional
1113
from typing_extensions import Annotated, NotRequired, TypedDict
@@ -50,3 +52,21 @@ class CacheConnection(BaseModel):
5052
migration_query_id: Annotated[
5153
Optional[str], pydantic.Field(alias="migrationQueryId")
5254
] = None
55+
56+
@field_serializer("backfill_status")
57+
def serialize_backfill_status(self, value):
58+
if isinstance(value, str):
59+
try:
60+
return models.CacheConnectionBackfillStatus(value)
61+
except ValueError:
62+
return value
63+
return value
64+
65+
@field_serializer("lakehouse_connection_type")
66+
def serialize_lakehouse_connection_type(self, value):
67+
if isinstance(value, str):
68+
try:
69+
return models.LakehouseConnectionType(value)
70+
except ValueError:
71+
return value
72+
return value

src/cribl_control_plane/models/configgroup.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
from .commit import Commit, CommitTypedDict
55
from .configgroupcloud import ConfigGroupCloud, ConfigGroupCloudTypedDict
66
from .configgrouplookups import ConfigGroupLookups, ConfigGroupLookupsTypedDict
7-
from cribl_control_plane import utils
7+
from cribl_control_plane import models, utils
88
from cribl_control_plane.types import BaseModel
99
from cribl_control_plane.utils import validate_open_enum
1010
from enum import Enum
1111
import pydantic
12+
from pydantic import field_serializer
1213
from pydantic.functional_validators import PlainValidator
1314
from typing import List, Optional
1415
from typing_extensions import Annotated, NotRequired, TypedDict
@@ -150,3 +151,21 @@ class ConfigGroup(BaseModel):
150151
worker_remote_access: Annotated[
151152
Optional[bool], pydantic.Field(alias="workerRemoteAccess")
152153
] = None
154+
155+
@field_serializer("estimated_ingest_rate")
156+
def serialize_estimated_ingest_rate(self, value):
157+
if isinstance(value, str):
158+
try:
159+
return models.ConfigGroupEstimatedIngestRate(value)
160+
except ValueError:
161+
return value
162+
return value
163+
164+
@field_serializer("type")
165+
def serialize_type(self, value):
166+
if isinstance(value, str):
167+
try:
168+
return models.ConfigGroupType(value)
169+
except ValueError:
170+
return value
171+
return value

src/cribl_control_plane/models/configgroupcloud.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
from __future__ import annotations
44
from .cloudprovider import CloudProvider
5+
from cribl_control_plane import models
56
from cribl_control_plane.types import BaseModel, Nullable, UNSET_SENTINEL
67
from cribl_control_plane.utils import validate_open_enum
7-
from pydantic import model_serializer
8+
from pydantic import field_serializer, model_serializer
89
from pydantic.functional_validators import PlainValidator
910
from typing_extensions import Annotated, TypedDict
1011

@@ -21,6 +22,15 @@ class ConfigGroupCloud(BaseModel):
2122

2223
region: str
2324

25+
@field_serializer("provider")
26+
def serialize_provider(self, value):
27+
if isinstance(value, str):
28+
try:
29+
return models.CloudProvider(value)
30+
except ValueError:
31+
return value
32+
return value
33+
2434
@model_serializer(mode="wrap")
2535
def serialize_model(self, handler):
2636
optional_fields = []

src/cribl_control_plane/models/createconfiggroupbyproductop.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
from .configgroup import ConfigGroup, ConfigGroupTypedDict
55
from .groupcreaterequest import GroupCreateRequest, GroupCreateRequestTypedDict
66
from .productscore import ProductsCore
7+
from cribl_control_plane import models
78
from cribl_control_plane.types import BaseModel
89
from cribl_control_plane.utils import (
910
FieldMetadata,
1011
PathParamMetadata,
1112
RequestMetadata,
1213
validate_open_enum,
1314
)
15+
from pydantic import field_serializer
1416
from pydantic.functional_validators import PlainValidator
1517
from typing import List, Optional
1618
from typing_extensions import Annotated, NotRequired, TypedDict
@@ -36,6 +38,15 @@ class CreateConfigGroupByProductRequest(BaseModel):
3638
]
3739
r"""GroupCreateRequest object"""
3840

41+
@field_serializer("product")
42+
def serialize_product(self, value):
43+
if isinstance(value, str):
44+
try:
45+
return models.ProductsCore(value)
46+
except ValueError:
47+
return value
48+
return value
49+
3950

4051
class CreateConfigGroupByProductResponseTypedDict(TypedDict):
4152
r"""a list of ConfigGroup objects"""

0 commit comments

Comments
 (0)