cribl-control-plane 0.3.0b1__py3-none-any.whl → 0.3.0b3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/errors/__init__.py +8 -5
- cribl_control_plane/errors/{healthstatus_error.py → healthserverstatus_error.py} +10 -9
- cribl_control_plane/groups_sdk.py +48 -24
- cribl_control_plane/health.py +22 -16
- cribl_control_plane/models/__init__.py +41 -26
- cribl_control_plane/models/authtoken.py +4 -7
- cribl_control_plane/models/configgroup.py +8 -7
- cribl_control_plane/models/createconfiggroupbyproductop.py +6 -5
- cribl_control_plane/models/createroutesappendbyidop.py +2 -2
- cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
- cribl_control_plane/models/groupcreaterequest.py +152 -0
- cribl_control_plane/models/{healthstatus.py → healthserverstatus.py} +7 -7
- cribl_control_plane/models/logininfo.py +3 -3
- cribl_control_plane/routes_sdk.py +6 -6
- cribl_control_plane/tokens.py +23 -15
- {cribl_control_plane-0.3.0b1.dist-info → cribl_control_plane-0.3.0b3.dist-info}/METADATA +4 -4
- {cribl_control_plane-0.3.0b1.dist-info → cribl_control_plane-0.3.0b3.dist-info}/RECORD +19 -20
- cribl_control_plane/models/error.py +0 -16
- cribl_control_plane/models/gethealthinfoop.py +0 -17
- {cribl_control_plane-0.3.0b1.dist-info → cribl_control_plane-0.3.0b3.dist-info}/WHEEL +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
|
+
from .groupcreaterequest import GroupCreateRequest, GroupCreateRequestTypedDict
|
|
5
6
|
from .productscore import ProductsCore
|
|
6
7
|
from cribl_control_plane.types import BaseModel
|
|
7
8
|
from cribl_control_plane.utils import (
|
|
@@ -18,8 +19,8 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
18
19
|
class CreateConfigGroupByProductRequestTypedDict(TypedDict):
|
|
19
20
|
product: ProductsCore
|
|
20
21
|
r"""Name of the Cribl product to add the Worker Group or Edge Fleet to."""
|
|
21
|
-
|
|
22
|
-
r"""
|
|
22
|
+
group_create_request: GroupCreateRequestTypedDict
|
|
23
|
+
r"""GroupCreateRequest object"""
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
class CreateConfigGroupByProductRequest(BaseModel):
|
|
@@ -29,11 +30,11 @@ class CreateConfigGroupByProductRequest(BaseModel):
|
|
|
29
30
|
]
|
|
30
31
|
r"""Name of the Cribl product to add the Worker Group or Edge Fleet to."""
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
group_create_request: Annotated[
|
|
34
|
+
GroupCreateRequest,
|
|
34
35
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
35
36
|
]
|
|
36
|
-
r"""
|
|
37
|
+
r"""GroupCreateRequest object"""
|
|
37
38
|
|
|
38
39
|
|
|
39
40
|
class CreateConfigGroupByProductResponseTypedDict(TypedDict):
|
|
@@ -11,7 +11,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
11
11
|
|
|
12
12
|
class CreateRoutesAppendByIDRequestTypedDict(TypedDict):
|
|
13
13
|
id: str
|
|
14
|
-
r"""The <code>id</code> of the Routing table to
|
|
14
|
+
r"""The <code>id</code> of the Routing table to add the Route to. The supported value is <code>default</code>."""
|
|
15
15
|
request_body: List[RouteConfTypedDict]
|
|
16
16
|
r"""RouteDefinitions object"""
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ class CreateRoutesAppendByIDRequest(BaseModel):
|
|
|
20
20
|
id: Annotated[
|
|
21
21
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
22
22
|
]
|
|
23
|
-
r"""The <code>id</code> of the Routing table to
|
|
23
|
+
r"""The <code>id</code> of the Routing table to add the Route to. The supported value is <code>default</code>."""
|
|
24
24
|
|
|
25
25
|
request_body: Annotated[
|
|
26
26
|
List[RouteConf],
|
|
@@ -20,7 +20,7 @@ class DeleteOutputPqByIDRequest(BaseModel):
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class DeleteOutputPqByIDResponseTypedDict(TypedDict):
|
|
23
|
-
r"""
|
|
23
|
+
r"""A list of job ids for the background job that clears the persistent queue"""
|
|
24
24
|
|
|
25
25
|
count: NotRequired[int]
|
|
26
26
|
r"""number of items present in the items array"""
|
|
@@ -28,7 +28,7 @@ class DeleteOutputPqByIDResponseTypedDict(TypedDict):
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class DeleteOutputPqByIDResponse(BaseModel):
|
|
31
|
-
r"""
|
|
31
|
+
r"""A list of job ids for the background job that clears the persistent queue"""
|
|
32
32
|
|
|
33
33
|
count: Optional[int] = None
|
|
34
34
|
r"""number of items present in the items array"""
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .commit import Commit, CommitTypedDict
|
|
5
|
+
from .configgroupcloud import ConfigGroupCloud, ConfigGroupCloudTypedDict
|
|
6
|
+
from .configgrouplookups import ConfigGroupLookups, ConfigGroupLookupsTypedDict
|
|
7
|
+
from cribl_control_plane import utils
|
|
8
|
+
from cribl_control_plane.types import BaseModel
|
|
9
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
10
|
+
from enum import Enum
|
|
11
|
+
import pydantic
|
|
12
|
+
from pydantic.functional_validators import PlainValidator
|
|
13
|
+
from typing import List, Optional
|
|
14
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class GroupCreateRequestEstimatedIngestRate(int, Enum, metaclass=utils.OpenEnumMeta):
|
|
18
|
+
r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
|
|
19
|
+
|
|
20
|
+
# 12 MB/sec
|
|
21
|
+
RATE12_MB_PER_SEC = 1024
|
|
22
|
+
# 24 MB/sec
|
|
23
|
+
RATE24_MB_PER_SEC = 2048
|
|
24
|
+
# 36 MB/sec
|
|
25
|
+
RATE36_MB_PER_SEC = 3072
|
|
26
|
+
# 48 MB/sec
|
|
27
|
+
RATE48_MB_PER_SEC = 4096
|
|
28
|
+
# 60 MB/sec
|
|
29
|
+
RATE60_MB_PER_SEC = 5120
|
|
30
|
+
# 84 MB/sec
|
|
31
|
+
RATE84_MB_PER_SEC = 7168
|
|
32
|
+
# 120 MB/sec
|
|
33
|
+
RATE120_MB_PER_SEC = 10240
|
|
34
|
+
# 156 MB/sec
|
|
35
|
+
RATE156_MB_PER_SEC = 13312
|
|
36
|
+
# 180 MB/sec
|
|
37
|
+
RATE180_MB_PER_SEC = 15360
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class GroupCreateRequestGitTypedDict(TypedDict):
|
|
41
|
+
commit: NotRequired[str]
|
|
42
|
+
local_changes: NotRequired[float]
|
|
43
|
+
log: NotRequired[List[CommitTypedDict]]
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class GroupCreateRequestGit(BaseModel):
|
|
47
|
+
commit: Optional[str] = None
|
|
48
|
+
|
|
49
|
+
local_changes: Annotated[Optional[float], pydantic.Field(alias="localChanges")] = (
|
|
50
|
+
None
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
log: Optional[List[Commit]] = None
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class GroupCreateRequestType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
57
|
+
LAKE_ACCESS = "lake_access"
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class GroupCreateRequestTypedDict(TypedDict):
|
|
61
|
+
id: str
|
|
62
|
+
cloud: NotRequired[ConfigGroupCloudTypedDict]
|
|
63
|
+
deploying_worker_count: NotRequired[float]
|
|
64
|
+
description: NotRequired[str]
|
|
65
|
+
estimated_ingest_rate: NotRequired[GroupCreateRequestEstimatedIngestRate]
|
|
66
|
+
r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
|
|
67
|
+
git: NotRequired[GroupCreateRequestGitTypedDict]
|
|
68
|
+
incompatible_worker_count: NotRequired[float]
|
|
69
|
+
inherits: NotRequired[str]
|
|
70
|
+
is_fleet: NotRequired[bool]
|
|
71
|
+
is_search: NotRequired[bool]
|
|
72
|
+
lookup_deployments: NotRequired[List[ConfigGroupLookupsTypedDict]]
|
|
73
|
+
max_worker_age: NotRequired[str]
|
|
74
|
+
name: NotRequired[str]
|
|
75
|
+
on_prem: NotRequired[bool]
|
|
76
|
+
provisioned: NotRequired[bool]
|
|
77
|
+
source_group_id: NotRequired[str]
|
|
78
|
+
streamtags: NotRequired[List[str]]
|
|
79
|
+
tags: NotRequired[str]
|
|
80
|
+
type: NotRequired[GroupCreateRequestType]
|
|
81
|
+
upgrade_version: NotRequired[str]
|
|
82
|
+
worker_count: NotRequired[float]
|
|
83
|
+
worker_remote_access: NotRequired[bool]
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
class GroupCreateRequest(BaseModel):
|
|
87
|
+
id: str
|
|
88
|
+
|
|
89
|
+
cloud: Optional[ConfigGroupCloud] = None
|
|
90
|
+
|
|
91
|
+
deploying_worker_count: Annotated[
|
|
92
|
+
Optional[float], pydantic.Field(alias="deployingWorkerCount")
|
|
93
|
+
] = None
|
|
94
|
+
|
|
95
|
+
description: Optional[str] = None
|
|
96
|
+
|
|
97
|
+
estimated_ingest_rate: Annotated[
|
|
98
|
+
Annotated[
|
|
99
|
+
Optional[GroupCreateRequestEstimatedIngestRate],
|
|
100
|
+
PlainValidator(validate_open_enum(True)),
|
|
101
|
+
],
|
|
102
|
+
pydantic.Field(alias="estimatedIngestRate"),
|
|
103
|
+
] = None
|
|
104
|
+
r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
|
|
105
|
+
|
|
106
|
+
git: Optional[GroupCreateRequestGit] = None
|
|
107
|
+
|
|
108
|
+
incompatible_worker_count: Annotated[
|
|
109
|
+
Optional[float], pydantic.Field(alias="incompatibleWorkerCount")
|
|
110
|
+
] = None
|
|
111
|
+
|
|
112
|
+
inherits: Optional[str] = None
|
|
113
|
+
|
|
114
|
+
is_fleet: Annotated[Optional[bool], pydantic.Field(alias="isFleet")] = None
|
|
115
|
+
|
|
116
|
+
is_search: Annotated[Optional[bool], pydantic.Field(alias="isSearch")] = None
|
|
117
|
+
|
|
118
|
+
lookup_deployments: Annotated[
|
|
119
|
+
Optional[List[ConfigGroupLookups]], pydantic.Field(alias="lookupDeployments")
|
|
120
|
+
] = None
|
|
121
|
+
|
|
122
|
+
max_worker_age: Annotated[Optional[str], pydantic.Field(alias="maxWorkerAge")] = (
|
|
123
|
+
None
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
name: Optional[str] = None
|
|
127
|
+
|
|
128
|
+
on_prem: Annotated[Optional[bool], pydantic.Field(alias="onPrem")] = None
|
|
129
|
+
|
|
130
|
+
provisioned: Optional[bool] = None
|
|
131
|
+
|
|
132
|
+
source_group_id: Annotated[Optional[str], pydantic.Field(alias="sourceGroupId")] = (
|
|
133
|
+
None
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
streamtags: Optional[List[str]] = None
|
|
137
|
+
|
|
138
|
+
tags: Optional[str] = None
|
|
139
|
+
|
|
140
|
+
type: Annotated[
|
|
141
|
+
Optional[GroupCreateRequestType], PlainValidator(validate_open_enum(False))
|
|
142
|
+
] = None
|
|
143
|
+
|
|
144
|
+
upgrade_version: Annotated[
|
|
145
|
+
Optional[str], pydantic.Field(alias="upgradeVersion")
|
|
146
|
+
] = None
|
|
147
|
+
|
|
148
|
+
worker_count: Annotated[Optional[float], pydantic.Field(alias="workerCount")] = None
|
|
149
|
+
|
|
150
|
+
worker_remote_access: Annotated[
|
|
151
|
+
Optional[bool], pydantic.Field(alias="workerRemoteAccess")
|
|
152
|
+
] = None
|
|
@@ -12,25 +12,25 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class Role(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
15
|
-
PRIMARY = "primary"
|
|
16
15
|
STANDBY = "standby"
|
|
16
|
+
PRIMARY = "primary"
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class Status(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
20
|
-
HEALTHY = "healthy"
|
|
21
20
|
SHUTTING_DOWN = "shutting down"
|
|
21
|
+
HEALTHY = "healthy"
|
|
22
22
|
STANDBY = "standby"
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
class
|
|
26
|
-
status: Status
|
|
25
|
+
class HealthServerStatusTypedDict(TypedDict):
|
|
27
26
|
start_time: float
|
|
27
|
+
status: Status
|
|
28
28
|
role: NotRequired[Role]
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
status: Annotated[Status, PlainValidator(validate_open_enum(False))]
|
|
33
|
-
|
|
31
|
+
class HealthServerStatus(BaseModel):
|
|
34
32
|
start_time: Annotated[float, pydantic.Field(alias="startTime")]
|
|
35
33
|
|
|
34
|
+
status: Annotated[Status, PlainValidator(validate_open_enum(False))]
|
|
35
|
+
|
|
36
36
|
role: Annotated[Optional[Role], PlainValidator(validate_open_enum(False))] = None
|
|
@@ -584,11 +584,11 @@ class RoutesSDK(BaseSDK):
|
|
|
584
584
|
timeout_ms: Optional[int] = None,
|
|
585
585
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
586
586
|
) -> models.CreateRoutesAppendByIDResponse:
|
|
587
|
-
r"""
|
|
587
|
+
r"""Add a Route to the end of the Routing table
|
|
588
588
|
|
|
589
|
-
|
|
589
|
+
Add a Route to the end of the specified Routing table.
|
|
590
590
|
|
|
591
|
-
:param id: The <code>id</code> of the Routing table to
|
|
591
|
+
:param id: The <code>id</code> of the Routing table to add the Route to. The supported value is <code>default</code>.
|
|
592
592
|
:param request_body: RouteDefinitions object
|
|
593
593
|
:param retries: Override the default retry configuration for this method
|
|
594
594
|
:param server_url: Override the default server URL for this method
|
|
@@ -679,11 +679,11 @@ class RoutesSDK(BaseSDK):
|
|
|
679
679
|
timeout_ms: Optional[int] = None,
|
|
680
680
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
681
681
|
) -> models.CreateRoutesAppendByIDResponse:
|
|
682
|
-
r"""
|
|
682
|
+
r"""Add a Route to the end of the Routing table
|
|
683
683
|
|
|
684
|
-
|
|
684
|
+
Add a Route to the end of the specified Routing table.
|
|
685
685
|
|
|
686
|
-
:param id: The <code>id</code> of the Routing table to
|
|
686
|
+
:param id: The <code>id</code> of the Routing table to add the Route to. The supported value is <code>default</code>.
|
|
687
687
|
:param request_body: RouteDefinitions object
|
|
688
688
|
:param retries: Override the default retry configuration for this method
|
|
689
689
|
:param server_url: Override the default server URL for this method
|
cribl_control_plane/tokens.py
CHANGED
|
@@ -5,15 +5,15 @@ from cribl_control_plane import errors, models, utils
|
|
|
5
5
|
from cribl_control_plane._hooks import HookContext
|
|
6
6
|
from cribl_control_plane.types import OptionalNullable, UNSET
|
|
7
7
|
from cribl_control_plane.utils.unmarshal_json_response import unmarshal_json_response
|
|
8
|
-
from typing import Mapping, Optional
|
|
8
|
+
from typing import Any, Mapping, Optional
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class Tokens(BaseSDK):
|
|
12
12
|
def get(
|
|
13
13
|
self,
|
|
14
14
|
*,
|
|
15
|
-
username: str,
|
|
16
15
|
password: str,
|
|
16
|
+
username: str,
|
|
17
17
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
18
18
|
server_url: Optional[str] = None,
|
|
19
19
|
timeout_ms: Optional[int] = None,
|
|
@@ -21,10 +21,10 @@ class Tokens(BaseSDK):
|
|
|
21
21
|
) -> models.AuthToken:
|
|
22
22
|
r"""Log in and fetch an authentication token
|
|
23
23
|
|
|
24
|
-
This endpoint is unavailable on Cribl.Cloud.
|
|
24
|
+
This endpoint is unavailable on Cribl.Cloud.Instead, follow the instructions at https://docs.cribl.io/stream/api-tutorials/#criblcloud to get an Auth token for Cribl.Cloud.
|
|
25
25
|
|
|
26
|
-
:param username:
|
|
27
26
|
:param password:
|
|
27
|
+
:param username:
|
|
28
28
|
:param retries: Override the default retry configuration for this method
|
|
29
29
|
:param server_url: Override the default server URL for this method
|
|
30
30
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -41,8 +41,8 @@ class Tokens(BaseSDK):
|
|
|
41
41
|
base_url = self._get_url(base_url, url_variables)
|
|
42
42
|
|
|
43
43
|
request = models.LoginInfo(
|
|
44
|
-
username=username,
|
|
45
44
|
password=password,
|
|
45
|
+
username=username,
|
|
46
46
|
)
|
|
47
47
|
|
|
48
48
|
req = self._build_request(
|
|
@@ -75,18 +75,22 @@ class Tokens(BaseSDK):
|
|
|
75
75
|
hook_ctx=HookContext(
|
|
76
76
|
config=self.sdk_configuration,
|
|
77
77
|
base_url=base_url or "",
|
|
78
|
-
operation_id="
|
|
78
|
+
operation_id="createAuthLogin",
|
|
79
79
|
oauth2_scopes=[],
|
|
80
80
|
security_source=None,
|
|
81
81
|
),
|
|
82
82
|
request=req,
|
|
83
|
-
error_status_codes=["401", "
|
|
83
|
+
error_status_codes=["401", "429", "4XX", "500", "5XX"],
|
|
84
84
|
retry_config=retry_config,
|
|
85
85
|
)
|
|
86
86
|
|
|
87
|
+
response_data: Any = None
|
|
87
88
|
if utils.match_response(http_res, "200", "application/json"):
|
|
88
89
|
return unmarshal_json_response(models.AuthToken, http_res)
|
|
89
|
-
if utils.match_response(http_res,
|
|
90
|
+
if utils.match_response(http_res, "500", "application/json"):
|
|
91
|
+
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
92
|
+
raise errors.Error(response_data, http_res)
|
|
93
|
+
if utils.match_response(http_res, ["401", "429", "4XX"], "*"):
|
|
90
94
|
http_res_text = utils.stream_to_text(http_res)
|
|
91
95
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
92
96
|
if utils.match_response(http_res, "5XX", "*"):
|
|
@@ -98,8 +102,8 @@ class Tokens(BaseSDK):
|
|
|
98
102
|
async def get_async(
|
|
99
103
|
self,
|
|
100
104
|
*,
|
|
101
|
-
username: str,
|
|
102
105
|
password: str,
|
|
106
|
+
username: str,
|
|
103
107
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
104
108
|
server_url: Optional[str] = None,
|
|
105
109
|
timeout_ms: Optional[int] = None,
|
|
@@ -107,10 +111,10 @@ class Tokens(BaseSDK):
|
|
|
107
111
|
) -> models.AuthToken:
|
|
108
112
|
r"""Log in and fetch an authentication token
|
|
109
113
|
|
|
110
|
-
This endpoint is unavailable on Cribl.Cloud.
|
|
114
|
+
This endpoint is unavailable on Cribl.Cloud.Instead, follow the instructions at https://docs.cribl.io/stream/api-tutorials/#criblcloud to get an Auth token for Cribl.Cloud.
|
|
111
115
|
|
|
112
|
-
:param username:
|
|
113
116
|
:param password:
|
|
117
|
+
:param username:
|
|
114
118
|
:param retries: Override the default retry configuration for this method
|
|
115
119
|
:param server_url: Override the default server URL for this method
|
|
116
120
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -127,8 +131,8 @@ class Tokens(BaseSDK):
|
|
|
127
131
|
base_url = self._get_url(base_url, url_variables)
|
|
128
132
|
|
|
129
133
|
request = models.LoginInfo(
|
|
130
|
-
username=username,
|
|
131
134
|
password=password,
|
|
135
|
+
username=username,
|
|
132
136
|
)
|
|
133
137
|
|
|
134
138
|
req = self._build_request_async(
|
|
@@ -161,18 +165,22 @@ class Tokens(BaseSDK):
|
|
|
161
165
|
hook_ctx=HookContext(
|
|
162
166
|
config=self.sdk_configuration,
|
|
163
167
|
base_url=base_url or "",
|
|
164
|
-
operation_id="
|
|
168
|
+
operation_id="createAuthLogin",
|
|
165
169
|
oauth2_scopes=[],
|
|
166
170
|
security_source=None,
|
|
167
171
|
),
|
|
168
172
|
request=req,
|
|
169
|
-
error_status_codes=["401", "
|
|
173
|
+
error_status_codes=["401", "429", "4XX", "500", "5XX"],
|
|
170
174
|
retry_config=retry_config,
|
|
171
175
|
)
|
|
172
176
|
|
|
177
|
+
response_data: Any = None
|
|
173
178
|
if utils.match_response(http_res, "200", "application/json"):
|
|
174
179
|
return unmarshal_json_response(models.AuthToken, http_res)
|
|
175
|
-
if utils.match_response(http_res,
|
|
180
|
+
if utils.match_response(http_res, "500", "application/json"):
|
|
181
|
+
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
182
|
+
raise errors.Error(response_data, http_res)
|
|
183
|
+
if utils.match_response(http_res, ["401", "429", "4XX"], "*"):
|
|
176
184
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
177
185
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
178
186
|
if utils.match_response(http_res, "5XX", "*"):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cribl-control-plane
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.0b3
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -393,7 +393,7 @@ with CriblControlPlane(
|
|
|
393
393
|
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#list) - List all Routes
|
|
394
394
|
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#get) - Get a Routing table
|
|
395
395
|
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#update) - Update a Route
|
|
396
|
-
* [append](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#append) -
|
|
396
|
+
* [append](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#append) - Add a Route to the end of the Routing table
|
|
397
397
|
|
|
398
398
|
### [sources](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md)
|
|
399
399
|
|
|
@@ -669,7 +669,7 @@ with CriblControlPlane(
|
|
|
669
669
|
### Error Classes
|
|
670
670
|
**Primary errors:**
|
|
671
671
|
* [`CriblControlPlaneError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/criblcontrolplaneerror.py): The base class for HTTP error responses.
|
|
672
|
-
* [`Error`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/error.py): Unexpected error. Status code `500`.
|
|
672
|
+
* [`Error`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/error.py): Unexpected error. Status code `500`.
|
|
673
673
|
|
|
674
674
|
<details><summary>Less common errors (6)</summary>
|
|
675
675
|
|
|
@@ -682,7 +682,7 @@ with CriblControlPlane(
|
|
|
682
682
|
|
|
683
683
|
|
|
684
684
|
**Inherit from [`CriblControlPlaneError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/criblcontrolplaneerror.py)**:
|
|
685
|
-
* [`
|
|
685
|
+
* [`HealthServerStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthserverstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of 63 methods.*
|
|
686
686
|
* [`ResponseValidationError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
|
|
687
687
|
|
|
688
688
|
</details>
|
|
@@ -4,7 +4,7 @@ cribl_control_plane/_hooks/clientcredentials.py,sha256=CeI19FzRb2V6kiNPgSFGn0CgI
|
|
|
4
4
|
cribl_control_plane/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
|
5
5
|
cribl_control_plane/_hooks/sdkhooks.py,sha256=ggXjME1_Rdv8CVCg1XHqB83eYtbxzKyhXyfQ36Yc1gA,2816
|
|
6
6
|
cribl_control_plane/_hooks/types.py,sha256=Tw_C4zTZm01rW_89VDEUpvQ8KQr1WxN0Gu_-s_fYSPc,2998
|
|
7
|
-
cribl_control_plane/_version.py,sha256=
|
|
7
|
+
cribl_control_plane/_version.py,sha256=KsEoC5jHvxI-VzdwC4jJyazbQoTD-WFXlqoHALiycQo,544
|
|
8
8
|
cribl_control_plane/acl.py,sha256=8lvYOKAli4PzsQhOVaCU6YCwblPMh9jQo04L0r4HJuQ,9025
|
|
9
9
|
cribl_control_plane/auth_sdk.py,sha256=3sjf1VoyWwfhSyuMDQLixgWISSf03BOZwmkiT8g5Ruw,626
|
|
10
10
|
cribl_control_plane/basesdk.py,sha256=y4yIXSNVXLMd0sLS2htBFdTCI3gkPQbIWd-C671kg1I,12249
|
|
@@ -14,31 +14,31 @@ cribl_control_plane/commits_files.py,sha256=YmLpBefvP28icHA3FqvwVIxmTcgecUnABf5T
|
|
|
14
14
|
cribl_control_plane/configs_versions.py,sha256=Ov9FqT4q9aKcCBUs1Qn65CdjnJK1pXXWPTYlHHHj-gk,8336
|
|
15
15
|
cribl_control_plane/destinations.py,sha256=N5MApCQUc2KpTCFAQHZvXmrweuI0gSQ2mk8uTQhJjww,37519
|
|
16
16
|
cribl_control_plane/destinations_pq.py,sha256=bp25ihNaTH8Je2ifM8EgR9Cc-w4naz-snS2jJlsyq7E,14871
|
|
17
|
-
cribl_control_plane/errors/__init__.py,sha256=
|
|
17
|
+
cribl_control_plane/errors/__init__.py,sha256=6wIINrURgpkshDia3Vek9STh9U0-mEV18rwOQib1hQA,2300
|
|
18
18
|
cribl_control_plane/errors/apierror.py,sha256=jCXjH_rX6hCI3Ka3hWCfLA6k2YD2Mw4z8kWial4XEdQ,1316
|
|
19
19
|
cribl_control_plane/errors/criblcontrolplaneerror.py,sha256=OtQvKiQwsbotChFzuJGbX8Z3UJ_CZK6zDas7NO3XM2A,966
|
|
20
20
|
cribl_control_plane/errors/error.py,sha256=3DUDv7CykNvse-Ecmq028fAGnwP304B6-wQQjKuV9JY,805
|
|
21
|
-
cribl_control_plane/errors/
|
|
21
|
+
cribl_control_plane/errors/healthserverstatus_error.py,sha256=Si7YixCRbgVykthDXNQ8oSWVUhIqq3WqwXbxtnQ1dUw,1370
|
|
22
22
|
cribl_control_plane/errors/no_response_error.py,sha256=DaZukP5ManflzAN-11MtmBitfTIct37sRvfszvfM13o,467
|
|
23
23
|
cribl_control_plane/errors/responsevalidationerror.py,sha256=l8CMARNT46VW1u2GuWlH7Ki_rF8Ulky4J_2fQ7rMwnU,783
|
|
24
24
|
cribl_control_plane/groups_configs.py,sha256=dgi-W0ElnyygaVKXqk5df2ldAAgj9YmXRPCez2hP7yc,695
|
|
25
|
-
cribl_control_plane/groups_sdk.py,sha256=
|
|
26
|
-
cribl_control_plane/health.py,sha256=
|
|
25
|
+
cribl_control_plane/groups_sdk.py,sha256=vHayvp_fO8oGL9YbI0_tHdTgv00L6GNa57BJkCkcgFg,63187
|
|
26
|
+
cribl_control_plane/health.py,sha256=P7wMhZOtCesOAJd3rn02fuEub2yv3r_PLWjIGShHC3c,7293
|
|
27
27
|
cribl_control_plane/hectokens.py,sha256=0EGgGGrM83m1YmTZwkN5S4xFkHQGnw1IZe3y6uMwmLw,19151
|
|
28
28
|
cribl_control_plane/httpclient.py,sha256=dqTPONDBpRn4ktXfcetQiRXnG93f0pJkFhqsYFhLUac,3945
|
|
29
29
|
cribl_control_plane/lakedatasets.py,sha256=VaacfDeQDMJKibABnkZibVMfOYxeh9ITcHKjM9QDqw8,46676
|
|
30
|
-
cribl_control_plane/models/__init__.py,sha256=
|
|
30
|
+
cribl_control_plane/models/__init__.py,sha256=uEyG_IzE2opUfe7EO3aVg87XkWWVo4GyydCpjZhzS9w,393194
|
|
31
31
|
cribl_control_plane/models/addhectokenrequest.py,sha256=mzQLKrMWlwxNheqEs5SM_yrT-gyenfCWgHKhmb5oXFQ,800
|
|
32
|
-
cribl_control_plane/models/authtoken.py,sha256=
|
|
32
|
+
cribl_control_plane/models/authtoken.py,sha256=sDw4DmWtZk4rvQow02X38SvB-rUSrZZ08t9NwqQcs8Y,443
|
|
33
33
|
cribl_control_plane/models/branchinfo.py,sha256=jCX31O5TMG9jTjqigPvvUiBwpgPpVxHtSuhYrNykXiI,291
|
|
34
34
|
cribl_control_plane/models/cacheconnection.py,sha256=IaqcKQhOxuY_SYdMpD2FqBGMbraqk8msS5DzkhvjHbQ,1802
|
|
35
35
|
cribl_control_plane/models/cacheconnectionbackfillstatus.py,sha256=EFJtxJ8EULR0JI4SjDoIsYSxx7uGHk-ULOeSxSzTCSc,380
|
|
36
36
|
cribl_control_plane/models/cloudprovider.py,sha256=OwlC4oXKrv5AjIgotkcSSTGgods-2QWeR0N5UgJ20Yw,268
|
|
37
37
|
cribl_control_plane/models/commit.py,sha256=wXQkjOYsffxWURHTrfU9kJ4HF2H65QfD1R9-vH0clvQ,641
|
|
38
|
-
cribl_control_plane/models/configgroup.py,sha256=
|
|
38
|
+
cribl_control_plane/models/configgroup.py,sha256=HwKOE-bT2MGlqKpmrmwRl7h8M8QVDHEdgjX9Nl83NmE,4883
|
|
39
39
|
cribl_control_plane/models/configgroupcloud.py,sha256=xme7fTZesBGwpma0huL-EXyPNaDYhP2CeYnvxBRxwU8,1589
|
|
40
40
|
cribl_control_plane/models/configgrouplookups.py,sha256=1z1DlvlVehqfD6hZMXG0XedZTfoCIpYd0cHav45tiRw,830
|
|
41
|
-
cribl_control_plane/models/createconfiggroupbyproductop.py,sha256
|
|
41
|
+
cribl_control_plane/models/createconfiggroupbyproductop.py,sha256=-7gFVL_PXGggrwXZgcirZmKvnO5kN2UfPp-dlFXbcBk,1852
|
|
42
42
|
cribl_control_plane/models/createcribllakedatasetbylakeidop.py,sha256=IVH9RvCw8IM0LCzJuy7_eDX9GbpTUIk-Xp0nFPjn6BQ,1647
|
|
43
43
|
cribl_control_plane/models/createinputhectokenbyidop.py,sha256=1FJEJYLPoVySpBtbiqV6ZCwR4AfkJ8-6Dsdc1DuG2tk,1590
|
|
44
44
|
cribl_control_plane/models/createinputop.py,sha256=l5Hz9ANzw4Gjh25FVf_okFzXxZWjA7GOx1tp8yWhKaI,701
|
|
@@ -46,7 +46,7 @@ cribl_control_plane/models/createoutputop.py,sha256=lWgs9T_pZR5bHcA0SZndbLuUPjVa
|
|
|
46
46
|
cribl_control_plane/models/createoutputtestbyidop.py,sha256=-5R-9LdZDrHAxnti3u_RS7SiAdNpCK2Kti4AlU00WvA,1641
|
|
47
47
|
cribl_control_plane/models/createpacksop.py,sha256=ZWmUQ9KU6XbSh_oL7-txQw-7esp-yLexHQvgL2Aw9Mw,769
|
|
48
48
|
cribl_control_plane/models/createpipelineop.py,sha256=vUHkNhYvYqhSAte_1jeBqry7tUL7W6T_s1M7vivuKwg,728
|
|
49
|
-
cribl_control_plane/models/createroutesappendbyidop.py,sha256=
|
|
49
|
+
cribl_control_plane/models/createroutesappendbyidop.py,sha256=IPpNRr587YqIXeQ95DBRmzWPB3o2VGKF0tw03Cds2OQ,1597
|
|
50
50
|
cribl_control_plane/models/createversioncommitop.py,sha256=ijtv-PAHQT6MYtVpdytDRGDWLgVUJLlEozAnwvgN59o,1739
|
|
51
51
|
cribl_control_plane/models/createversionpushop.py,sha256=9cpZ_Ez8RDSuH9bfiffS0pisNsh0tqtwXiKzNps7DxQ,659
|
|
52
52
|
cribl_control_plane/models/createversionrevertop.py,sha256=rTPVEEkTpK3bOBcUS1AzYZbCPJP8gSFTviyfFx0WPyU,1876
|
|
@@ -61,21 +61,19 @@ cribl_control_plane/models/deleteconfiggroupbyproductandidop.py,sha256=uRENtpDAM
|
|
|
61
61
|
cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py,sha256=BUMQ_56VCM_xK08eagJ2bdd4eOPCUUMVVG5duR3qg7s,1649
|
|
62
62
|
cribl_control_plane/models/deleteinputbyidop.py,sha256=wcL73IwZivcylD76m2vn-2YQ6E6nGgeXipwbYOmHVlY,1117
|
|
63
63
|
cribl_control_plane/models/deleteoutputbyidop.py,sha256=VdpKyYTadMO3rOmFlyMTkBkSLXT04ic9s9E9g0PDf8I,1146
|
|
64
|
-
cribl_control_plane/models/deleteoutputpqbyidop.py,sha256=
|
|
64
|
+
cribl_control_plane/models/deleteoutputpqbyidop.py,sha256=TYVSIkbY-peZ2PsXUtc6mBBQi3qLIp1ecz2PmvWmj1g,1203
|
|
65
65
|
cribl_control_plane/models/deletepacksbyidop.py,sha256=LODUzjEwPIcDuIl10wHVIu3zssufBYMUrd8tmtgdplY,1187
|
|
66
66
|
cribl_control_plane/models/deletepipelinebyidop.py,sha256=TuNOcCp9WaoR87Yk4UjONY55R8Jkz2yY4k6LtEuCSjg,1152
|
|
67
67
|
cribl_control_plane/models/deployrequest.py,sha256=zSl96WkkLVHACFRYUdPT4w7WhCaOv_V7_nMLcSGRYwE,560
|
|
68
68
|
cribl_control_plane/models/deployrequestlookups.py,sha256=WJQf_uL_22Lj7_TIBZ0pZxspYnkfZu9ABNGBLG35tpA,613
|
|
69
69
|
cribl_control_plane/models/difffiles.py,sha256=VJyPZY3njsKntwP8h4XrROCmXryp6kCvlk6MVv8Sz6g,4558
|
|
70
70
|
cribl_control_plane/models/distributedsummary.py,sha256=1hXi_DKm78fsX8E-cKLHHTUpr5ZOjdpsrxmCYbRHfDc,1497
|
|
71
|
-
cribl_control_plane/models/error.py,sha256=saRIdVJju2dlS4S5RZcoF_ccN60cegVQXGzq32wGkac,412
|
|
72
71
|
cribl_control_plane/models/getconfiggroupaclbyproductandidop.py,sha256=MxTD4oztJQJ9Ng6ntnJIXwmrh_BcF3gle3JUJsODGsw,2349
|
|
73
72
|
cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py,sha256=ov0NQr05PpGq4YC5EeCSzw7NULu110vglLNOtXFMejs,2381
|
|
74
73
|
cribl_control_plane/models/getconfiggroupbyproductandidop.py,sha256=GGNtsME7zmOIWw2C7wTXeb_oK0RgueWQXWgrZz8Fu7Q,2318
|
|
75
74
|
cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py,sha256=d7k_bLs7Bxjj-egRvlF9UjbdWvwTCD0h0GHvLPyCees,1770
|
|
76
75
|
cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py,sha256=X2XiJPwODvnOY9U5kRxIjFGirvEKQpiIUrO125lZoIo,1625
|
|
77
76
|
cribl_control_plane/models/getcribllakedatasetbylakeidop.py,sha256=nd44uWdgyGfq3vjOvm2vQ76AiC_4J076q-ZCXP0ebAU,1371
|
|
78
|
-
cribl_control_plane/models/gethealthinfoop.py,sha256=RyxeQNoIACex7tw-YTxl614-m2ubh9g-XMTveMuZ5Fc,514
|
|
79
77
|
cribl_control_plane/models/getinputbyidop.py,sha256=fuIpxpky_6KUbXM_8J-0VNIYsjNZnU6IyunVusx7QeE,1099
|
|
80
78
|
cribl_control_plane/models/getmasterworkerentryop.py,sha256=dIMOw_dSQo-vP-iuDhaTkSFvyN_WMlbh7WFfme64Cas,1261
|
|
81
79
|
cribl_control_plane/models/getoutputbyidop.py,sha256=Y8f9ZvCHlRE1cugt2APdigrcjLQz7R5jpkrLVUcDNcI,1128
|
|
@@ -106,9 +104,10 @@ cribl_control_plane/models/gitrevertparams.py,sha256=wMVlEcrprmZHUA01vi3CC8fMMDF
|
|
|
106
104
|
cribl_control_plane/models/gitrevertresult.py,sha256=RQ7-QhPP7zerEEF2bUhVI_IVft7tqYVOZrNLCWeB32c,1056
|
|
107
105
|
cribl_control_plane/models/gitshowresult.py,sha256=XTYNDfyix6mxWGL1bzevhttxf6OMyvVVOSoS0duMh9Y,592
|
|
108
106
|
cribl_control_plane/models/gitstatusresult.py,sha256=7-pEpOnb4xzQwWo3rPBRN0tbM6UdG4KSIhkiUPyU3to,1166
|
|
107
|
+
cribl_control_plane/models/groupcreaterequest.py,sha256=EVx2HT3pgNX1ri1cAsLRfgYiIguIAHKUwvsyL_I1-RI,4969
|
|
109
108
|
cribl_control_plane/models/hbcriblinfo.py,sha256=gpr4NYt7kAoDGSjyIND4vbMOtldcyyrLQ7p-P9GUmTM,3035
|
|
110
109
|
cribl_control_plane/models/hbleaderinfo.py,sha256=SU5iM_I4sqxoTOzAQsw-rpOMfXwKl1ymze9nUrw6z6U,503
|
|
111
|
-
cribl_control_plane/models/
|
|
110
|
+
cribl_control_plane/models/healthserverstatus.py,sha256=t27WLgAVIlGtgBaFV4QS4IUUsZnlddQIuSVSOCXpITo,1068
|
|
112
111
|
cribl_control_plane/models/heartbeatmetadata.py,sha256=mKMhlT2jo0zX2UQ4qFQns2ft1zWtYBHtS96BXEvfKhs,2345
|
|
113
112
|
cribl_control_plane/models/input.py,sha256=Y7id3CFkKpxmJ79kk5BNGCrEohHV4z-hWD9QwZR5puc,9578
|
|
114
113
|
cribl_control_plane/models/inputappscope.py,sha256=BZ1oLg6HK0xJBaD0Xg8j7kNdx2erQM-WNnGOFjObQtU,21107
|
|
@@ -180,7 +179,7 @@ cribl_control_plane/models/listmasterworkerentryop.py,sha256=c9cvTyboRQPHAue1LDs
|
|
|
180
179
|
cribl_control_plane/models/listoutputop.py,sha256=Gzm5NcwbyuJ3xacm_emZeKwVn2HNPV1fv9aCmDEw8sc,714
|
|
181
180
|
cribl_control_plane/models/listpipelineop.py,sha256=w-tyP0jqc3YKsSceTQJYuhJ7v-ZqgZWVVfO527YFGFg,722
|
|
182
181
|
cribl_control_plane/models/listroutesop.py,sha256=xqutne_6fjll4fIDk8uT7W7RVFB3dkIUealZLRUgDEA,704
|
|
183
|
-
cribl_control_plane/models/logininfo.py,sha256=
|
|
182
|
+
cribl_control_plane/models/logininfo.py,sha256=xVJ4r_xSQfsHHagYUjJsvRs77bKR9MBAuze8r3ZD_DM,338
|
|
184
183
|
cribl_control_plane/models/lookupversions.py,sha256=PLk5hD1WPEIoePfJbhllePawNTa1O7y4_sSkb6BCsUA,293
|
|
185
184
|
cribl_control_plane/models/masterworkerentry.py,sha256=KT8bTu5t20ZwhybN8yz4MtG8CQZGpqv3I1JGjVItY7Q,2481
|
|
186
185
|
cribl_control_plane/models/nodeactiveupgradestatus.py,sha256=knwgNh1octWr6oY-TadH0StJmzv0cktlJ4tc5pq_ChM,279
|
|
@@ -297,7 +296,7 @@ cribl_control_plane/nodes.py,sha256=I4AnHbDlX3zNbvDfwgIZ6sv1yQTlkAGaQRoSzwkl0KM,
|
|
|
297
296
|
cribl_control_plane/packs.py,sha256=svZrwbLNPfqPlRC0oh0w5IwQl2DWUHI89N3aTw27AiQ,47651
|
|
298
297
|
cribl_control_plane/pipelines.py,sha256=jeU-R5NDOsLXrV-5t7Cz-RPidsQ4KwNN4-_oW9iNK0s,36946
|
|
299
298
|
cribl_control_plane/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
300
|
-
cribl_control_plane/routes_sdk.py,sha256=
|
|
299
|
+
cribl_control_plane/routes_sdk.py,sha256=8rOo8OyPDybbB-YjuqsjwLfXPy1WCjHBduv7FkWUdb0,32365
|
|
301
300
|
cribl_control_plane/samples.py,sha256=41bJGkB-lxj8WmeI-418PwgMT2KPKqlINp26CKwt0Yk,16067
|
|
302
301
|
cribl_control_plane/sdk.py,sha256=4sX7RKhsgrFTOlw5aXvG3Mrwt-pTzMdEip4cLZ-j9cA,8016
|
|
303
302
|
cribl_control_plane/sdkconfiguration.py,sha256=bit6SSOyHqvibdtgNad5_ZcgMotk8NJfgHpKsBK8HFg,1259
|
|
@@ -305,7 +304,7 @@ cribl_control_plane/sources.py,sha256=9JCNHdOGmMAGjBIYvzA7TSQsj6o6UEe89SHyQ_MGrS
|
|
|
305
304
|
cribl_control_plane/statuses.py,sha256=jVfnmt3M0aiKJ3tgB2WlMaCmKDPZCJoD-1Kh8p-37ZM,8013
|
|
306
305
|
cribl_control_plane/summaries.py,sha256=CtkNAxkMTArdUQhWHy7XqGPkO6DA-PvdwgVK-RHSkt0,8058
|
|
307
306
|
cribl_control_plane/teams.py,sha256=kSjUiS7cKiROcRDmTxhnnOeGIsqLZcP7MFCuv5Kgm1U,8844
|
|
308
|
-
cribl_control_plane/tokens.py,sha256=
|
|
307
|
+
cribl_control_plane/tokens.py,sha256=8-nyr_WsGcJm62PV8dY78vVOwHuwgCgSrQcEGm3yc0c,7709
|
|
309
308
|
cribl_control_plane/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
310
309
|
cribl_control_plane/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
311
310
|
cribl_control_plane/utils/__init__.py,sha256=CAG0O76aEToGKXpT6Ft87Vd-iiQTh4XdBrQ37BVbsiM,5861
|
|
@@ -327,6 +326,6 @@ cribl_control_plane/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8N
|
|
|
327
326
|
cribl_control_plane/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
328
327
|
cribl_control_plane/versions.py,sha256=4xdTYbM84Xyjr5qkixqNpgn2q6V8aXVYXkEPDU2Ele0,1156
|
|
329
328
|
cribl_control_plane/versions_configs.py,sha256=5CKcfN4SzuyFgggrx6O8H_h3GhNyKSbfdVhSkVGZKi4,7284
|
|
330
|
-
cribl_control_plane-0.3.
|
|
331
|
-
cribl_control_plane-0.3.
|
|
332
|
-
cribl_control_plane-0.3.
|
|
329
|
+
cribl_control_plane-0.3.0b3.dist-info/METADATA,sha256=TGaKEU87xS2840F5hcswZx7gPLIfFUZJUG89usf6bis,39962
|
|
330
|
+
cribl_control_plane-0.3.0b3.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
331
|
+
cribl_control_plane-0.3.0b3.dist-info/RECORD,,
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane.types import BaseModel
|
|
5
|
-
from typing import Optional
|
|
6
|
-
from typing_extensions import NotRequired, TypedDict
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class ErrorTypedDict(TypedDict):
|
|
10
|
-
message: NotRequired[str]
|
|
11
|
-
r"""Error message"""
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class Error(BaseModel):
|
|
15
|
-
message: Optional[str] = None
|
|
16
|
-
r"""Error message"""
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from .error import Error, ErrorTypedDict
|
|
5
|
-
from .healthstatus import HealthStatus, HealthStatusTypedDict
|
|
6
|
-
from typing import Union
|
|
7
|
-
from typing_extensions import TypeAliasType
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
GetHealthInfoResponseTypedDict = TypeAliasType(
|
|
11
|
-
"GetHealthInfoResponseTypedDict", Union[ErrorTypedDict, HealthStatusTypedDict]
|
|
12
|
-
)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
GetHealthInfoResponse = TypeAliasType(
|
|
16
|
-
"GetHealthInfoResponse", Union[Error, HealthStatus]
|
|
17
|
-
)
|
|
File without changes
|