cribl-control-plane 0.3.0b9__py3-none-any.whl → 0.3.0b10__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.3.0b9"
7
- __openapi_doc_version__: str = "4.15.0-alpha.1762220644002-9c9bb8fd"
6
+ __version__: str = "0.3.0b10"
7
+ __openapi_doc_version__: str = "4.15.0-alpha.1762297413480-1ff94812"
8
8
  __gen_version__: str = "2.731.6"
9
- __user_agent__: str = "speakeasy-sdk/python 0.3.0b9 2.731.6 4.15.0-alpha.1762220644002-9c9bb8fd cribl-control-plane"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.3.0b10 2.731.6 4.15.0-alpha.1762297413480-1ff94812 cribl-control-plane"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -1803,8 +1803,8 @@ if TYPE_CHECKING:
1803
1803
  InputZscalerHecType,
1804
1804
  InputZscalerHecTypedDict,
1805
1805
  )
1806
- from .jobinfo import JobInfo, JobInfoTypedDict
1807
- from .jobstatus import JobStatus, JobStatusTypedDict
1806
+ from .jobinfo import JobInfo, JobInfoTypedDict, Stats, StatsTypedDict
1807
+ from .jobstatus import JobStatus, JobStatusTypedDict, State
1808
1808
  from .lakedatasetmetrics import LakeDatasetMetrics, LakeDatasetMetricsTypedDict
1809
1809
  from .lakedatasetsearchconfig import (
1810
1810
  LakeDatasetSearchConfig,
@@ -6302,6 +6302,9 @@ __all__ = [
6302
6302
  "ShardLoadBalancing",
6303
6303
  "SplunkHecMetadata",
6304
6304
  "SplunkHecMetadataTypedDict",
6305
+ "State",
6306
+ "Stats",
6307
+ "StatsTypedDict",
6305
6308
  "Status",
6306
6309
  "Subscription",
6307
6310
  "SubscriptionMetadatum",
@@ -7969,8 +7972,11 @@ _dynamic_imports: dict[str, str] = {
7969
7972
  "InputZscalerHecTypedDict": ".inputzscalerhec",
7970
7973
  "JobInfo": ".jobinfo",
7971
7974
  "JobInfoTypedDict": ".jobinfo",
7975
+ "Stats": ".jobinfo",
7976
+ "StatsTypedDict": ".jobinfo",
7972
7977
  "JobStatus": ".jobstatus",
7973
7978
  "JobStatusTypedDict": ".jobstatus",
7979
+ "State": ".jobstatus",
7974
7980
  "LakeDatasetMetrics": ".lakedatasetmetrics",
7975
7981
  "LakeDatasetMetricsTypedDict": ".lakedatasetmetrics",
7976
7982
  "LakeDatasetSearchConfig": ".lakedatasetsearchconfig",
@@ -226,7 +226,7 @@ class InputFile(BaseModel):
226
226
  filenames: Optional[List[str]] = None
227
227
  r"""The full path of discovered files are matched against this wildcard list"""
228
228
 
229
- tail_only: Annotated[Optional[bool], pydantic.Field(alias="tailOnly")] = False
229
+ tail_only: Annotated[Optional[bool], pydantic.Field(alias="tailOnly")] = True
230
230
  r"""Read only new entries at the end of all files discovered at next startup. @{product} will then read newly discovered files from the head. Disable this to resume reading all files from head."""
231
231
 
232
232
  idle_timeout: Annotated[Optional[float], pydantic.Field(alias="idleTimeout")] = 300
@@ -4,14 +4,20 @@ from __future__ import annotations
4
4
  from .jobstatus import JobStatus, JobStatusTypedDict
5
5
  from .runnablejob import RunnableJob, RunnableJobTypedDict
6
6
  from cribl_control_plane.types import BaseModel
7
- from typing import Dict, Optional
8
- from typing_extensions import NotRequired, TypedDict
7
+ from typing import Dict, Optional, Union
8
+ from typing_extensions import NotRequired, TypeAliasType, TypedDict
9
+
10
+
11
+ StatsTypedDict = TypeAliasType("StatsTypedDict", Union[float, Dict[str, float]])
12
+
13
+
14
+ Stats = TypeAliasType("Stats", Union[float, Dict[str, float]])
9
15
 
10
16
 
11
17
  class JobInfoTypedDict(TypedDict):
12
18
  args: RunnableJobTypedDict
13
19
  id: str
14
- stats: Dict[str, float]
20
+ stats: Dict[str, StatsTypedDict]
15
21
  status: JobStatusTypedDict
16
22
  keep: NotRequired[bool]
17
23
 
@@ -21,7 +27,7 @@ class JobInfo(BaseModel):
21
27
 
22
28
  id: str
23
29
 
24
- stats: Dict[str, float]
30
+ stats: Dict[str, Stats]
25
31
 
26
32
  status: JobStatus
27
33
 
@@ -1,17 +1,38 @@
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 Any, Dict, Optional
6
- from typing_extensions import NotRequired, TypedDict
10
+ from typing_extensions import Annotated, NotRequired, TypedDict
11
+
12
+
13
+ class State(int, Enum, metaclass=utils.OpenEnumMeta):
14
+ r"""State of the Job"""
15
+
16
+ INITIALIZING = 0
17
+ PENDING = 1
18
+ RUNNING = 2
19
+ PAUSED = 3
20
+ CANCELLED = 4
21
+ FINISHED = 5
22
+ FAILED = 6
23
+ ORPHANED = 7
24
+ UNKNOWN = 8
25
+ LENGTH = 9
7
26
 
8
27
 
9
28
  class JobStatusTypedDict(TypedDict):
10
- state: Dict[str, Any]
29
+ state: State
30
+ r"""State of the Job"""
11
31
  reason: NotRequired[Dict[str, Any]]
12
32
 
13
33
 
14
34
  class JobStatus(BaseModel):
15
- state: Dict[str, Any]
35
+ state: Annotated[State, PlainValidator(validate_open_enum(True))]
36
+ r"""State of the Job"""
16
37
 
17
38
  reason: Optional[Dict[str, Any]] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cribl-control-plane
3
- Version: 0.3.0b9
3
+ Version: 0.3.0b10
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=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=FnPZPHZ7-dyPX94OXIyB8hQ2PGWC1kO9VIvBedHpwN8,544
7
+ cribl_control_plane/_version.py,sha256=uvTpFToagtAV2hSFHviGKGfM51oyzyO39MWPTbghEY4,546
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
@@ -27,7 +27,7 @@ cribl_control_plane/health.py,sha256=P7wMhZOtCesOAJd3rn02fuEub2yv3r_PLWjIGShHC3c
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=V5M6Dsjqgyuro3b1__fXtIW3uI96iGg4LdFKSAiU7FY,47812
30
- cribl_control_plane/models/__init__.py,sha256=QuMCl6-QFLxVp2DxhhTJpvLKadrRhjbL66j2Pq5zH_Q,399120
30
+ cribl_control_plane/models/__init__.py,sha256=nC6rjj6_IiPcVG6KnXo1mfEayDXTGNxSZyuUWEPqUCU,399284
31
31
  cribl_control_plane/models/addhectokenrequest.py,sha256=mzQLKrMWlwxNheqEs5SM_yrT-gyenfCWgHKhmb5oXFQ,800
32
32
  cribl_control_plane/models/authtoken.py,sha256=sDw4DmWtZk4rvQow02X38SvB-rUSrZZ08t9NwqQcs8Y,443
33
33
  cribl_control_plane/models/branchinfo.py,sha256=jCX31O5TMG9jTjqigPvvUiBwpgPpVxHtSuhYrNykXiI,291
@@ -126,7 +126,7 @@ cribl_control_plane/models/inputedgeprometheus.py,sha256=bepRgXVqh89Jax-EmWBWIxy
126
126
  cribl_control_plane/models/inputelastic.py,sha256=lq6bDas3LMLzOYfp5-OjMrzGa14F35iJDvL-g-S7PeQ,23464
127
127
  cribl_control_plane/models/inputeventhub.py,sha256=o2uswPWvQDmPjCpOkOmT-zWBMjwkQCXht_ebe57z_tQ,25028
128
128
  cribl_control_plane/models/inputexec.py,sha256=sXtxJEPIKHYc9BD1B3O42ehvVrHPyXSr4R4TA99nRYE,9884
129
- cribl_control_plane/models/inputfile.py,sha256=cfrcUxp5H3vvWsyUjELcmDO7Itp3kddUq7qw3pVl6Tc,13295
129
+ cribl_control_plane/models/inputfile.py,sha256=5iDqKv5CD09Y1oi9aHvqUr6wEyn-tOs0AvQRg0a9PG0,13294
130
130
  cribl_control_plane/models/inputfirehose.py,sha256=UqloVXGw8oXnLmJ7RbUyd9gph6KmTyMzTAccjqM5jvE,16655
131
131
  cribl_control_plane/models/inputgooglepubsub.py,sha256=9-Qds5714_nRRCE0PdcbuQYOwYLVmO593cTn4GJhzus,13495
132
132
  cribl_control_plane/models/inputgrafana.py,sha256=T39NIFK9rfhiLlRGYU--8ha5C9Kct03-7Wfew04v-n4,59044
@@ -169,8 +169,8 @@ cribl_control_plane/models/inputwineventlogs.py,sha256=DfC3bQ4T2Jy4eh9gUjIZbWMxl
169
169
  cribl_control_plane/models/inputwiz.py,sha256=IvUyT2oOiJoCFTudlJhVHrEFWGg0ceZSvqbGVME4rgY,15453
170
170
  cribl_control_plane/models/inputwizwebhook.py,sha256=mJxsmkb3Fe34pXKLv96zkA6_iF8kzPZafkv7bezsWSQ,19965
171
171
  cribl_control_plane/models/inputzscalerhec.py,sha256=imY_N58EicYCvy0ooltexETbx38bETuPMEiShwPdBw8,21669
172
- cribl_control_plane/models/jobinfo.py,sha256=OwoVCzcEPDDGRvBLZfbN25uaiuOpM6r_-7XplLqHNnE,670
173
- cribl_control_plane/models/jobstatus.py,sha256=XFogf3iW-C1vQJ87QJ7_6B9ecHKnj9R00NezWpvD-AA,454
172
+ cribl_control_plane/models/jobinfo.py,sha256=02E7geVer0j2Uqao24sfWPjFOjU4dfrsEKwnj-eMYhk,849
173
+ cribl_control_plane/models/jobstatus.py,sha256=SijvYzUX2bRX8Gk3t4JHw1H3OpGn2GW-01BmQvBL_4I,982
174
174
  cribl_control_plane/models/lakedatasetmetrics.py,sha256=NP4Guu7uBxQeeWZzLFQNwjailPHMmeeZ8DU0AENY0CA,516
175
175
  cribl_control_plane/models/lakedatasetsearchconfig.py,sha256=R0zz0K1FQ3gxPx44ezINy9y2bEFBGIWyvniF25D7Ydw,591
176
176
  cribl_control_plane/models/lakehouseconnectiontype.py,sha256=vLCrFdKQMRHbbxIzS6AxTDkt_99ehqvtrCPKpi6Bbyw,291
@@ -327,6 +327,6 @@ cribl_control_plane/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8N
327
327
  cribl_control_plane/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
328
328
  cribl_control_plane/versions.py,sha256=4xdTYbM84Xyjr5qkixqNpgn2q6V8aXVYXkEPDU2Ele0,1156
329
329
  cribl_control_plane/versions_configs.py,sha256=5CKcfN4SzuyFgggrx6O8H_h3GhNyKSbfdVhSkVGZKi4,7284
330
- cribl_control_plane-0.3.0b9.dist-info/METADATA,sha256=EazE4VtkkyKGnYjJG69ov_BkT2RbvwWWWgZ3Q96XvPs,40532
331
- cribl_control_plane-0.3.0b9.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
332
- cribl_control_plane-0.3.0b9.dist-info/RECORD,,
330
+ cribl_control_plane-0.3.0b10.dist-info/METADATA,sha256=sENnRudyje6BtcD7hNeS4bssGlpfaV0W5Dyo9yhbRnw,40533
331
+ cribl_control_plane-0.3.0b10.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
332
+ cribl_control_plane-0.3.0b10.dist-info/RECORD,,