cribl-control-plane 0.1.0a1__py3-none-any.whl → 0.1.0a2__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.

@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "cribl-control-plane"
6
- __version__: str = "0.1.0a1"
7
- __openapi_doc_version__: str = "4.14.1-alpha.1758626754698-b3680673"
8
- __gen_version__: str = "2.716.16"
9
- __user_agent__: str = "speakeasy-sdk/python 0.1.0a1 2.716.16 4.14.1-alpha.1758626754698-b3680673 cribl-control-plane"
6
+ __version__: str = "0.1.0a2"
7
+ __openapi_doc_version__: str = "4.14.1-alpha.1759348021885-ce0ae185"
8
+ __gen_version__: str = "2.721.0"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.1.0a2 2.721.0 4.14.1-alpha.1759348021885-ce0ae185 cribl-control-plane"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -107,7 +107,6 @@ def close_clients(
107
107
  # to them from the owning SDK instance and they can be reaped.
108
108
  owner.client = None
109
109
  owner.async_client = None
110
-
111
110
  if sync_client is not None and not sync_client_supplied:
112
111
  try:
113
112
  sync_client.close()
@@ -336,7 +336,7 @@ if TYPE_CHECKING:
336
336
  from .gitdiffresult import GitDiffResult, GitDiffResultTypedDict
337
337
  from .gitfile import GitFile, GitFileTypedDict
338
338
  from .gitfilesresponse import GitFilesResponse, GitFilesResponseTypedDict
339
- from .gitinfo import GitInfo, GitInfoTypedDict, Remote, RemoteTypedDict
339
+ from .gitinfo import GitInfo, GitInfoTypedDict, Remote, RemoteEnum, RemoteTypedDict
340
340
  from .gitlogresult import GitLogResult, GitLogResultTypedDict
341
341
  from .gitrevertparams import GitRevertParams, GitRevertParamsTypedDict
342
342
  from .gitrevertresult import (
@@ -6053,6 +6053,7 @@ __all__ = [
6053
6053
  "RbacResource",
6054
6054
  "ReadMode",
6055
6055
  "Remote",
6056
+ "RemoteEnum",
6056
6057
  "RemoteTypedDict",
6057
6058
  "Renamed",
6058
6059
  "RenamedTypedDict",
@@ -6464,6 +6465,7 @@ _dynamic_imports: dict[str, str] = {
6464
6465
  "GitInfo": ".gitinfo",
6465
6466
  "GitInfoTypedDict": ".gitinfo",
6466
6467
  "Remote": ".gitinfo",
6468
+ "RemoteEnum": ".gitinfo",
6467
6469
  "RemoteTypedDict": ".gitinfo",
6468
6470
  "GitLogResult": ".gitlogresult",
6469
6471
  "GitLogResultTypedDict": ".gitlogresult",
@@ -1,15 +1,26 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
+ from cribl_control_plane import utils
4
5
  from cribl_control_plane.types import BaseModel
6
+ from cribl_control_plane.utils import validate_open_enum
7
+ from enum import Enum
8
+ from pydantic.functional_validators import PlainValidator
5
9
  from typing import Union
6
- from typing_extensions import TypeAliasType, TypedDict
10
+ from typing_extensions import Annotated, TypeAliasType, TypedDict
7
11
 
8
12
 
9
- RemoteTypedDict = TypeAliasType("RemoteTypedDict", Union[str, bool])
13
+ class RemoteEnum(str, Enum, metaclass=utils.OpenEnumMeta):
14
+ FALSE = "false"
10
15
 
11
16
 
12
- Remote = TypeAliasType("Remote", Union[str, bool])
17
+ RemoteTypedDict = TypeAliasType("RemoteTypedDict", Union[str, RemoteEnum])
18
+
19
+
20
+ Remote = TypeAliasType(
21
+ "Remote",
22
+ Union[str, Annotated[RemoteEnum, PlainValidator(validate_open_enum(False))]],
23
+ )
13
24
 
14
25
 
15
26
  class GitInfoTypedDict(TypedDict):
@@ -50,6 +50,7 @@ class HBCriblInfoTypedDict(TypedDict):
50
50
  lookup_versions: NotRequired[LookupVersionsTypedDict]
51
51
  master: NotRequired[HBLeaderInfoTypedDict]
52
52
  pid: NotRequired[float]
53
+ socks_enabled: NotRequired[bool]
53
54
  version: NotRequired[str]
54
55
 
55
56
 
@@ -87,4 +88,8 @@ class HBCriblInfo(BaseModel):
87
88
 
88
89
  pid: Optional[float] = None
89
90
 
91
+ socks_enabled: Annotated[Optional[bool], pydantic.Field(alias="socksEnabled")] = (
92
+ None
93
+ )
94
+
90
95
  version: Optional[str] = None
@@ -115,9 +115,9 @@ class OutputGoogleCloudLoggingTypedDict(TypedDict):
115
115
  type: OutputGoogleCloudLoggingType
116
116
  log_location_type: LogLocationType
117
117
  log_name_expression: str
118
- r"""JavaScript expression to compute the value of the log name."""
118
+ r"""JavaScript expression to compute the value of the log name. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
119
119
  log_location_expression: str
120
- r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated."""
120
+ r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
121
121
  id: NotRequired[str]
122
122
  r"""Unique ID for this output"""
123
123
  pipeline: NotRequired[str]
@@ -128,6 +128,7 @@ class OutputGoogleCloudLoggingTypedDict(TypedDict):
128
128
  r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
129
129
  streamtags: NotRequired[List[str]]
130
130
  r"""Tags for filtering and grouping in @{product}"""
131
+ sanitize_log_names: NotRequired[bool]
131
132
  payload_format: NotRequired[PayloadFormat]
132
133
  r"""Format to use when sending payload. Defaults to Text."""
133
134
  log_labels: NotRequired[List[LogLabelTypedDict]]
@@ -247,12 +248,12 @@ class OutputGoogleCloudLogging(BaseModel):
247
248
  ]
248
249
 
249
250
  log_name_expression: Annotated[str, pydantic.Field(alias="logNameExpression")]
250
- r"""JavaScript expression to compute the value of the log name."""
251
+ r"""JavaScript expression to compute the value of the log name. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
251
252
 
252
253
  log_location_expression: Annotated[
253
254
  str, pydantic.Field(alias="logLocationExpression")
254
255
  ]
255
- r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated."""
256
+ r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
256
257
 
257
258
  id: Optional[str] = None
258
259
  r"""Unique ID for this output"""
@@ -271,6 +272,10 @@ class OutputGoogleCloudLogging(BaseModel):
271
272
  streamtags: Optional[List[str]] = None
272
273
  r"""Tags for filtering and grouping in @{product}"""
273
274
 
275
+ sanitize_log_names: Annotated[
276
+ Optional[bool], pydantic.Field(alias="sanitizeLogNames")
277
+ ] = False
278
+
274
279
  payload_format: Annotated[
275
280
  Annotated[Optional[PayloadFormat], PlainValidator(validate_open_enum(False))],
276
281
  pydantic.Field(alias="payloadFormat"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cribl-control-plane
3
- Version: 0.1.0a1
3
+ Version: 0.1.0a2
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -4,7 +4,7 @@ cribl_control_plane/_hooks/clientcredentials.py,sha256=p1WN7LL3PHrAf4AxXrsOZF_NB
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=UlLsKTHqS7xCIwss3er_arZWrMOO56tR4tvmHn2vNDc,546
7
+ cribl_control_plane/_version.py,sha256=ElDj1ffkw2Ba8f3SDfoochds6BmWtp5cR772iekjst0,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
@@ -25,9 +25,9 @@ cribl_control_plane/groups_configs.py,sha256=dgi-W0ElnyygaVKXqk5df2ldAAgj9YmXRPC
25
25
  cribl_control_plane/groups_sdk.py,sha256=EkviXQbbtP9HIv8tSkRtyOTPqxVTySgzMlgx_zhudig,61835
26
26
  cribl_control_plane/health.py,sha256=N8pX8RHkJVtLFd4nZ8ypJPrzT_JezciEVry9s9qvCRc,7019
27
27
  cribl_control_plane/hectokens.py,sha256=0EGgGGrM83m1YmTZwkN5S4xFkHQGnw1IZe3y6uMwmLw,19151
28
- cribl_control_plane/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
28
+ cribl_control_plane/httpclient.py,sha256=dqTPONDBpRn4ktXfcetQiRXnG93f0pJkFhqsYFhLUac,3945
29
29
  cribl_control_plane/lakedatasets.py,sha256=7WYWcjXMzliDW1j3TQlgikc_h54IUq4lsysVy_39l38,46578
30
- cribl_control_plane/models/__init__.py,sha256=-qJ0-u97riFoyLSJwEkYe0i54CnjLwUr4ARGX7NWF3k,387637
30
+ cribl_control_plane/models/__init__.py,sha256=vPQ490qkaF_i3p1nNpKKW3H1_nEVemf8n4hubp6DQps,387697
31
31
  cribl_control_plane/models/addhectokenrequest.py,sha256=mzQLKrMWlwxNheqEs5SM_yrT-gyenfCWgHKhmb5oXFQ,800
32
32
  cribl_control_plane/models/appmode.py,sha256=29pjcPnHZ7AzaIScZ2TuWEsPvhK53dBH5tfxtY95ig4,368
33
33
  cribl_control_plane/models/authtoken.py,sha256=uW0aIs8j14CQzFM2ueY5GIWFulna91cigBWQ3oPlDgY,295
@@ -100,13 +100,13 @@ cribl_control_plane/models/gitcountresult.py,sha256=VTC0J-ShpvHbpMiZ0Ote3Wf-9Bz9
100
100
  cribl_control_plane/models/gitdiffresult.py,sha256=UHek_rWxrF7AllVU0tXJe7NolWC08yBDQe0EaoUJ74o,493
101
101
  cribl_control_plane/models/gitfile.py,sha256=CMk0Xm08WFtUX73TaKBNAyRagZh-DMIY-m33RFgfFHg,493
102
102
  cribl_control_plane/models/gitfilesresponse.py,sha256=_xLOHOuJLUdy3BYCrkUQN8x5YLfrXcdCis57x2N32jo,670
103
- cribl_control_plane/models/gitinfo.py,sha256=Xbct3PSJJVYojIDLtzy2mB_wNWsgiBgnsT9ZfjN0A-U,515
103
+ cribl_control_plane/models/gitinfo.py,sha256=mBLQaIXUUKmKtaUjmOztylGE7SNkWM9pkVW8bL4Jicc,859
104
104
  cribl_control_plane/models/gitlogresult.py,sha256=JSTXgsLOce7j1z0mJGALXWeOR7pclWzY0T_8gUJdzNk,830
105
105
  cribl_control_plane/models/gitrevertparams.py,sha256=wMVlEcrprmZHUA01vi3CC8fMMDFqURJndv-1LaF2gik,478
106
106
  cribl_control_plane/models/gitrevertresult.py,sha256=RQ7-QhPP7zerEEF2bUhVI_IVft7tqYVOZrNLCWeB32c,1056
107
107
  cribl_control_plane/models/gitshowresult.py,sha256=XTYNDfyix6mxWGL1bzevhttxf6OMyvVVOSoS0duMh9Y,592
108
108
  cribl_control_plane/models/gitstatusresult.py,sha256=7-pEpOnb4xzQwWo3rPBRN0tbM6UdG4KSIhkiUPyU3to,1166
109
- cribl_control_plane/models/hbcriblinfo.py,sha256=GAKP4WYVokWwWNp7vQPazjqOzbT4R6QMPHxhR6vyxRc,2613
109
+ cribl_control_plane/models/hbcriblinfo.py,sha256=CcdBrpApexHsPsAv3vIcl2I9qV4fmz_0dfcnJZkEAlo,2757
110
110
  cribl_control_plane/models/hbleaderinfo.py,sha256=SU5iM_I4sqxoTOzAQsw-rpOMfXwKl1ymze9nUrw6z6U,503
111
111
  cribl_control_plane/models/healthstatus.py,sha256=oGS-ntDNekMLdbjGQtGTDsFh7gDn_Fz9KUVyLix29m8,1056
112
112
  cribl_control_plane/models/heartbeatmetadata.py,sha256=IlLu0BnjnwBeXQtZSk4YUj9gKiI8n95ipYJ2Og2x1IQ,2255
@@ -214,7 +214,7 @@ cribl_control_plane/models/outputelasticcloud.py,sha256=JG4IYnunuC7q-5ylciyIDdoJ
214
214
  cribl_control_plane/models/outputexabeam.py,sha256=Hs7Xz_lilL52b9YVDfmqIajcMazXdE9PPhkuD409J9w,13378
215
215
  cribl_control_plane/models/outputfilesystem.py,sha256=c1NNBsXG0KVG7BLPEeAs36st5AhGkQCHbBGC6cG9E6Q,17416
216
216
  cribl_control_plane/models/outputgooglechronicle.py,sha256=cA35weSlzLgeic3yzim188PKz2Jh-1FdMj0D0NhNX8I,23203
217
- cribl_control_plane/models/outputgooglecloudlogging.py,sha256=yIW_ANsOwdmCxVv8WyMyQp0VQ_N4e9UvyyGPMx-IFEM,34546
217
+ cribl_control_plane/models/outputgooglecloudlogging.py,sha256=JKzUqUY7tOfjXXhcpKuhQEIgfdE0JOiH8OhjQWi8e4M,35467
218
218
  cribl_control_plane/models/outputgooglecloudstorage.py,sha256=6OTByksM6K9by4ogmQJiORBQ8gRzW0l6GuEl4rn7NJs,23855
219
219
  cribl_control_plane/models/outputgooglepubsub.py,sha256=GE6QizUyIFMo96mUxGfJWPzoz7-Z8p6S3jJ1-acAKyU,12408
220
220
  cribl_control_plane/models/outputgrafanacloud.py,sha256=zzm9DM9hm-i_tMRosiLpakuticaGDj1BN8PmHishN18,54232
@@ -323,6 +323,6 @@ cribl_control_plane/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8N
323
323
  cribl_control_plane/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
324
324
  cribl_control_plane/versions.py,sha256=4xdTYbM84Xyjr5qkixqNpgn2q6V8aXVYXkEPDU2Ele0,1156
325
325
  cribl_control_plane/versions_configs.py,sha256=5CKcfN4SzuyFgggrx6O8H_h3GhNyKSbfdVhSkVGZKi4,7284
326
- cribl_control_plane-0.1.0a1.dist-info/METADATA,sha256=YYk8pEkP8ex5bG3BOBUCxxstbumebdiSHN2UafAgy8c,38885
327
- cribl_control_plane-0.1.0a1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
328
- cribl_control_plane-0.1.0a1.dist-info/RECORD,,
326
+ cribl_control_plane-0.1.0a2.dist-info/METADATA,sha256=wDwSr612meWY2tkmp_hNYvKLVoAYdV6twPi8LHuq3hU,38885
327
+ cribl_control_plane-0.1.0a2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
328
+ cribl_control_plane-0.1.0a2.dist-info/RECORD,,