cribl-control-plane 0.2.0b1__py3-none-any.whl → 0.2.0b2__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.2.0b1"
7
- __openapi_doc_version__: str = "4.15.0-alpha.1760137873808-498c0e83"
6
+ __version__: str = "0.2.0b2"
7
+ __openapi_doc_version__: str = "4.15.0-alpha.1760439571529-8891ea6f"
8
8
  __gen_version__: str = "2.723.11"
9
- __user_agent__: str = "speakeasy-sdk/python 0.2.0b1 2.723.11 4.15.0-alpha.1760137873808-498c0e83 cribl-control-plane"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.2.0b2 2.723.11 4.15.0-alpha.1760439571529-8891ea6f cribl-control-plane"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -849,7 +849,6 @@ class LakeDatasets(BaseSDK):
849
849
  *,
850
850
  lake_id: str,
851
851
  id_param: str,
852
- id: str,
853
852
  accelerated_fields: Optional[List[str]] = None,
854
853
  bucket_name: Optional[str] = None,
855
854
  cache_connection: Optional[
@@ -857,8 +856,9 @@ class LakeDatasets(BaseSDK):
857
856
  ] = None,
858
857
  deletion_started_at: Optional[float] = None,
859
858
  description: Optional[str] = None,
860
- format_: Optional[models.CriblLakeDatasetFormat] = None,
859
+ format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
861
860
  http_da_used: Optional[bool] = None,
861
+ id: Optional[str] = None,
862
862
  retention_period_in_days: Optional[float] = None,
863
863
  search_config: Optional[
864
864
  Union[
@@ -878,7 +878,6 @@ class LakeDatasets(BaseSDK):
878
878
 
879
879
  :param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to update.
880
880
  :param id_param: The <code>id</code> of the Lake Dataset to update.
881
- :param id:
882
881
  :param accelerated_fields:
883
882
  :param bucket_name:
884
883
  :param cache_connection:
@@ -886,6 +885,7 @@ class LakeDatasets(BaseSDK):
886
885
  :param description:
887
886
  :param format_:
888
887
  :param http_da_used:
888
+ :param id:
889
889
  :param retention_period_in_days:
890
890
  :param search_config:
891
891
  :param storage_location_id:
@@ -908,7 +908,7 @@ class LakeDatasets(BaseSDK):
908
908
  request = models.UpdateCriblLakeDatasetByLakeIDAndIDRequest(
909
909
  lake_id=lake_id,
910
910
  id_param=id_param,
911
- cribl_lake_dataset=models.CriblLakeDataset(
911
+ cribl_lake_dataset_update=models.CriblLakeDatasetUpdate(
912
912
  accelerated_fields=accelerated_fields,
913
913
  bucket_name=bucket_name,
914
914
  cache_connection=utils.get_pydantic_model(
@@ -942,11 +942,11 @@ class LakeDatasets(BaseSDK):
942
942
  http_headers=http_headers,
943
943
  security=self.sdk_configuration.security,
944
944
  get_serialized_body=lambda: utils.serialize_request_body(
945
- request.cribl_lake_dataset,
945
+ request.cribl_lake_dataset_update,
946
946
  False,
947
947
  False,
948
948
  "json",
949
- models.CriblLakeDataset,
949
+ models.CriblLakeDatasetUpdate,
950
950
  ),
951
951
  timeout_ms=timeout_ms,
952
952
  )
@@ -996,7 +996,6 @@ class LakeDatasets(BaseSDK):
996
996
  *,
997
997
  lake_id: str,
998
998
  id_param: str,
999
- id: str,
1000
999
  accelerated_fields: Optional[List[str]] = None,
1001
1000
  bucket_name: Optional[str] = None,
1002
1001
  cache_connection: Optional[
@@ -1004,8 +1003,9 @@ class LakeDatasets(BaseSDK):
1004
1003
  ] = None,
1005
1004
  deletion_started_at: Optional[float] = None,
1006
1005
  description: Optional[str] = None,
1007
- format_: Optional[models.CriblLakeDatasetFormat] = None,
1006
+ format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
1008
1007
  http_da_used: Optional[bool] = None,
1008
+ id: Optional[str] = None,
1009
1009
  retention_period_in_days: Optional[float] = None,
1010
1010
  search_config: Optional[
1011
1011
  Union[
@@ -1025,7 +1025,6 @@ class LakeDatasets(BaseSDK):
1025
1025
 
1026
1026
  :param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to update.
1027
1027
  :param id_param: The <code>id</code> of the Lake Dataset to update.
1028
- :param id:
1029
1028
  :param accelerated_fields:
1030
1029
  :param bucket_name:
1031
1030
  :param cache_connection:
@@ -1033,6 +1032,7 @@ class LakeDatasets(BaseSDK):
1033
1032
  :param description:
1034
1033
  :param format_:
1035
1034
  :param http_da_used:
1035
+ :param id:
1036
1036
  :param retention_period_in_days:
1037
1037
  :param search_config:
1038
1038
  :param storage_location_id:
@@ -1055,7 +1055,7 @@ class LakeDatasets(BaseSDK):
1055
1055
  request = models.UpdateCriblLakeDatasetByLakeIDAndIDRequest(
1056
1056
  lake_id=lake_id,
1057
1057
  id_param=id_param,
1058
- cribl_lake_dataset=models.CriblLakeDataset(
1058
+ cribl_lake_dataset_update=models.CriblLakeDatasetUpdate(
1059
1059
  accelerated_fields=accelerated_fields,
1060
1060
  bucket_name=bucket_name,
1061
1061
  cache_connection=utils.get_pydantic_model(
@@ -1089,11 +1089,11 @@ class LakeDatasets(BaseSDK):
1089
1089
  http_headers=http_headers,
1090
1090
  security=self.sdk_configuration.security,
1091
1091
  get_serialized_body=lambda: utils.serialize_request_body(
1092
- request.cribl_lake_dataset,
1092
+ request.cribl_lake_dataset_update,
1093
1093
  False,
1094
1094
  False,
1095
1095
  "json",
1096
- models.CriblLakeDataset,
1096
+ models.CriblLakeDatasetUpdate,
1097
1097
  ),
1098
1098
  timeout_ms=timeout_ms,
1099
1099
  )
@@ -98,6 +98,11 @@ if TYPE_CHECKING:
98
98
  CriblLakeDatasetFormat,
99
99
  CriblLakeDatasetTypedDict,
100
100
  )
101
+ from .cribllakedatasetupdate import (
102
+ CriblLakeDatasetUpdate,
103
+ CriblLakeDatasetUpdateFormat,
104
+ CriblLakeDatasetUpdateTypedDict,
105
+ )
101
106
  from .currentbranchresult import CurrentBranchResult, CurrentBranchResultTypedDict
102
107
  from .datasetmetadata import DatasetMetadata, DatasetMetadataTypedDict, ScanMode
103
108
  from .datasetmetadataruninfo import (
@@ -3417,6 +3422,9 @@ __all__ = [
3417
3422
  "CriblLakeDataset",
3418
3423
  "CriblLakeDatasetFormat",
3419
3424
  "CriblLakeDatasetTypedDict",
3425
+ "CriblLakeDatasetUpdate",
3426
+ "CriblLakeDatasetUpdateFormat",
3427
+ "CriblLakeDatasetUpdateTypedDict",
3420
3428
  "CurrentBranchResult",
3421
3429
  "CurrentBranchResultTypedDict",
3422
3430
  "DNS",
@@ -6333,6 +6341,9 @@ _dynamic_imports: dict[str, str] = {
6333
6341
  "CriblLakeDataset": ".cribllakedataset",
6334
6342
  "CriblLakeDatasetFormat": ".cribllakedataset",
6335
6343
  "CriblLakeDatasetTypedDict": ".cribllakedataset",
6344
+ "CriblLakeDatasetUpdate": ".cribllakedatasetupdate",
6345
+ "CriblLakeDatasetUpdateFormat": ".cribllakedatasetupdate",
6346
+ "CriblLakeDatasetUpdateTypedDict": ".cribllakedatasetupdate",
6336
6347
  "CurrentBranchResult": ".currentbranchresult",
6337
6348
  "CurrentBranchResultTypedDict": ".currentbranchresult",
6338
6349
  "DatasetMetadata": ".datasetmetadata",
@@ -0,0 +1,81 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .cacheconnection import CacheConnection, CacheConnectionTypedDict
5
+ from .lakedatasetsearchconfig import (
6
+ LakeDatasetSearchConfig,
7
+ LakeDatasetSearchConfigTypedDict,
8
+ )
9
+ from cribl_control_plane import utils
10
+ from cribl_control_plane.types import BaseModel
11
+ from cribl_control_plane.utils import validate_open_enum
12
+ from enum import Enum
13
+ import pydantic
14
+ from pydantic.functional_validators import PlainValidator
15
+ from typing import List, Optional
16
+ from typing_extensions import Annotated, NotRequired, TypedDict
17
+
18
+
19
+ class CriblLakeDatasetUpdateFormat(str, Enum, metaclass=utils.OpenEnumMeta):
20
+ JSON = "json"
21
+ DDSS = "ddss"
22
+ PARQUET = "parquet"
23
+
24
+
25
+ class CriblLakeDatasetUpdateTypedDict(TypedDict):
26
+ accelerated_fields: NotRequired[List[str]]
27
+ bucket_name: NotRequired[str]
28
+ cache_connection: NotRequired[CacheConnectionTypedDict]
29
+ deletion_started_at: NotRequired[float]
30
+ description: NotRequired[str]
31
+ format_: NotRequired[CriblLakeDatasetUpdateFormat]
32
+ http_da_used: NotRequired[bool]
33
+ id: NotRequired[str]
34
+ retention_period_in_days: NotRequired[float]
35
+ search_config: NotRequired[LakeDatasetSearchConfigTypedDict]
36
+ storage_location_id: NotRequired[str]
37
+ view_name: NotRequired[str]
38
+
39
+
40
+ class CriblLakeDatasetUpdate(BaseModel):
41
+ accelerated_fields: Annotated[
42
+ Optional[List[str]], pydantic.Field(alias="acceleratedFields")
43
+ ] = None
44
+
45
+ bucket_name: Annotated[Optional[str], pydantic.Field(alias="bucketName")] = None
46
+
47
+ cache_connection: Annotated[
48
+ Optional[CacheConnection], pydantic.Field(alias="cacheConnection")
49
+ ] = None
50
+
51
+ deletion_started_at: Annotated[
52
+ Optional[float], pydantic.Field(alias="deletionStartedAt")
53
+ ] = None
54
+
55
+ description: Optional[str] = None
56
+
57
+ format_: Annotated[
58
+ Annotated[
59
+ Optional[CriblLakeDatasetUpdateFormat],
60
+ PlainValidator(validate_open_enum(False)),
61
+ ],
62
+ pydantic.Field(alias="format"),
63
+ ] = None
64
+
65
+ http_da_used: Annotated[Optional[bool], pydantic.Field(alias="httpDAUsed")] = None
66
+
67
+ id: Optional[str] = None
68
+
69
+ retention_period_in_days: Annotated[
70
+ Optional[float], pydantic.Field(alias="retentionPeriodInDays")
71
+ ] = None
72
+
73
+ search_config: Annotated[
74
+ Optional[LakeDatasetSearchConfig], pydantic.Field(alias="searchConfig")
75
+ ] = None
76
+
77
+ storage_location_id: Annotated[
78
+ Optional[str], pydantic.Field(alias="storageLocationId")
79
+ ] = None
80
+
81
+ view_name: Annotated[Optional[str], pydantic.Field(alias="viewName")] = None
@@ -2,6 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .cribllakedataset import CriblLakeDataset, CriblLakeDatasetTypedDict
5
+ from .cribllakedatasetupdate import (
6
+ CriblLakeDatasetUpdate,
7
+ CriblLakeDatasetUpdateTypedDict,
8
+ )
5
9
  from cribl_control_plane.types import BaseModel
6
10
  from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
7
11
  import pydantic
@@ -14,8 +18,8 @@ class UpdateCriblLakeDatasetByLakeIDAndIDRequestTypedDict(TypedDict):
14
18
  r"""The <code>id</code> of the Lake that contains the Lake Dataset to update."""
15
19
  id_param: str
16
20
  r"""The <code>id</code> of the Lake Dataset to update."""
17
- cribl_lake_dataset: CriblLakeDatasetTypedDict
18
- r"""CriblLakeDataset object"""
21
+ cribl_lake_dataset_update: CriblLakeDatasetUpdateTypedDict
22
+ r"""CriblLakeDatasetUpdate object"""
19
23
 
20
24
 
21
25
  class UpdateCriblLakeDatasetByLakeIDAndIDRequest(BaseModel):
@@ -33,11 +37,11 @@ class UpdateCriblLakeDatasetByLakeIDAndIDRequest(BaseModel):
33
37
  ]
34
38
  r"""The <code>id</code> of the Lake Dataset to update."""
35
39
 
36
- cribl_lake_dataset: Annotated[
37
- CriblLakeDataset,
40
+ cribl_lake_dataset_update: Annotated[
41
+ CriblLakeDatasetUpdate,
38
42
  FieldMetadata(request=RequestMetadata(media_type="application/json")),
39
43
  ]
40
- r"""CriblLakeDataset object"""
44
+ r"""CriblLakeDatasetUpdate object"""
41
45
 
42
46
 
43
47
  class UpdateCriblLakeDatasetByLakeIDAndIDResponseTypedDict(TypedDict):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cribl-control-plane
3
- Version: 0.2.0b1
3
+ Version: 0.2.0b2
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=B-YUoz-4a0iRaufsfiwv8LJ8dbB83n45LU3RFW2-Zoo,546
7
+ cribl_control_plane/_version.py,sha256=Zkn0aFHuzOSpmHuyc0y8h2HezUl-VBpPOVwYOL2uqg8,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
@@ -26,8 +26,8 @@ cribl_control_plane/groups_sdk.py,sha256=pZy0owBWP-RFNp9CwA2fopDZSceUX1CFlAtaTsF
26
26
  cribl_control_plane/health.py,sha256=N8pX8RHkJVtLFd4nZ8ypJPrzT_JezciEVry9s9qvCRc,7019
27
27
  cribl_control_plane/hectokens.py,sha256=0EGgGGrM83m1YmTZwkN5S4xFkHQGnw1IZe3y6uMwmLw,19151
28
28
  cribl_control_plane/httpclient.py,sha256=dqTPONDBpRn4ktXfcetQiRXnG93f0pJkFhqsYFhLUac,3945
29
- cribl_control_plane/lakedatasets.py,sha256=7WYWcjXMzliDW1j3TQlgikc_h54IUq4lsysVy_39l38,46578
30
- cribl_control_plane/models/__init__.py,sha256=6TxsWIOKPlrbMg-0dHmYN4N0GbqCRR_1EN-GS2kzosk,390705
29
+ cribl_control_plane/lakedatasets.py,sha256=VaacfDeQDMJKibABnkZibVMfOYxeh9ITcHKjM9QDqw8,46676
30
+ cribl_control_plane/models/__init__.py,sha256=3aKMCUflhjChJGZWLCO8EItaGvJ6rNfxSDeVas5upYw,391155
31
31
  cribl_control_plane/models/addhectokenrequest.py,sha256=mzQLKrMWlwxNheqEs5SM_yrT-gyenfCWgHKhmb5oXFQ,800
32
32
  cribl_control_plane/models/authtoken.py,sha256=uW0aIs8j14CQzFM2ueY5GIWFulna91cigBWQ3oPlDgY,295
33
33
  cribl_control_plane/models/branchinfo.py,sha256=jCX31O5TMG9jTjqigPvvUiBwpgPpVxHtSuhYrNykXiI,291
@@ -53,6 +53,7 @@ cribl_control_plane/models/createversionrevertop.py,sha256=rTPVEEkTpK3bOBcUS1AzY
53
53
  cribl_control_plane/models/createversionundoop.py,sha256=QS2n1IZYcv2t83X5YTOhz8ROZW7w2u5g9eEviL-vGLM,1302
54
54
  cribl_control_plane/models/criblevent.py,sha256=eT6WbxhOOCx5OQLkAfhwG6IeSUuUmF7hLTxeCHut4bo,361
55
55
  cribl_control_plane/models/cribllakedataset.py,sha256=hvfxljCGd4sFOGFuPZK5w4CWtgA-ZoL8JFl9c2V_I9k,2571
56
+ cribl_control_plane/models/cribllakedatasetupdate.py,sha256=kym11ebNed6hcYMbVBRKeLErxpEbD8XmuTnvZo0VsvQ,2644
56
57
  cribl_control_plane/models/currentbranchresult.py,sha256=qq1IRI_XeGrAI_-lV_xHCYuO3VwIFUVarvo0-lN-ymU,317
57
58
  cribl_control_plane/models/datasetmetadata.py,sha256=-MI4Be38A21D8lsTEHPoAYcEdonhG1iu7TSb7r4kBK0,1350
58
59
  cribl_control_plane/models/datasetmetadataruninfo.py,sha256=4UrKPwg1oCs7uk3s24dsVzyNXE8TpDJE9vCioZyK7t0,937
@@ -279,7 +280,7 @@ cribl_control_plane/models/security.py,sha256=l8rMit25V2MUVLptnexODsL6wP-3l50g8D
279
280
  cribl_control_plane/models/teamaccesscontrollist.py,sha256=HLMck-wyuJYiKD-adSS5ti4yLbHE2snZaOAI0GwgfOI,483
280
281
  cribl_control_plane/models/updateconfiggroupbyproductandidop.py,sha256=kBzTO_8INoagYfVdMZ56Tm6iLnkgsf56_RFH0B4OV9Q,2099
281
282
  cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py,sha256=4vfGnRiWhhQketlN0pXGgSKgSvQiSgNBboL3x_2B6DY,2165
282
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py,sha256=vawlVhfZ_xULNJcrKKtfyV6tMqrLT_i_UknodWucuUU,1990
283
+ cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py,sha256=awEhvZ0TuHL48F_b5b-sW85FguNr76LVZpTAg9wXnWo,2133
283
284
  cribl_control_plane/models/updatehectokenrequest.py,sha256=Pq0JnAZuDqdU_g6mmCvfxfMgeK9Pu3uVXfD9sFWfjKQ,787
284
285
  cribl_control_plane/models/updateinputbyidop.py,sha256=fWbSRQQ1WdHI6_e-fV32T99vDFQ1Yv6oHM-80u5kbHE,1322
285
286
  cribl_control_plane/models/updateinputhectokenbyidandtokenop.py,sha256=di6CX6521rBdx1h5pcUrtC-glnRFeDNehcx2U3px5_U,1893
@@ -323,6 +324,6 @@ cribl_control_plane/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8N
323
324
  cribl_control_plane/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
324
325
  cribl_control_plane/versions.py,sha256=4xdTYbM84Xyjr5qkixqNpgn2q6V8aXVYXkEPDU2Ele0,1156
325
326
  cribl_control_plane/versions_configs.py,sha256=5CKcfN4SzuyFgggrx6O8H_h3GhNyKSbfdVhSkVGZKi4,7284
326
- cribl_control_plane-0.2.0b1.dist-info/METADATA,sha256=PmE77lznVI6cIzcr4z_IIkmYFCwhcjmN5prH-6W3wto,38655
327
- cribl_control_plane-0.2.0b1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
328
- cribl_control_plane-0.2.0b1.dist-info/RECORD,,
327
+ cribl_control_plane-0.2.0b2.dist-info/METADATA,sha256=8Ybt-JXLK8gvHGTcjBR5UbJj-twjSldrDA38EP6hGwI,38655
328
+ cribl_control_plane-0.2.0b2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
329
+ cribl_control_plane-0.2.0b2.dist-info/RECORD,,