cribl-control-plane 0.2.1rc4__py3-none-any.whl → 0.2.1rc11__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/acl.py +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +4 -8
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +26 -50
- cribl_control_plane/hectokens.py +8 -16
- cribl_control_plane/lakedatasets.py +48 -40
- cribl_control_plane/models/__init__.py +260 -393
- cribl_control_plane/models/cacheconnection.py +20 -0
- cribl_control_plane/models/configgroup.py +20 -1
- cribl_control_plane/models/configgroupcloud.py +11 -1
- cribl_control_plane/models/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
- cribl_control_plane/models/countedlistconfiggroup.py +20 -0
- cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
- cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcountresult.py +20 -0
- cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
- cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
- cribl_control_plane/models/countedlistgitlogresult.py +20 -0
- cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
- cribl_control_plane/models/countedlistgitshowresult.py +20 -0
- cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
- cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedlistjobinfo.py +20 -0
- cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
- cribl_control_plane/models/countedlistnumber.py +19 -0
- cribl_control_plane/models/countedlistobject.py +19 -0
- cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
- cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
- cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedlistpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
- cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
- cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +13 -21
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +2 -20
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +1 -19
- cribl_control_plane/models/createversionundoop.py +1 -18
- cribl_control_plane/models/cribllakedataset.py +15 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +15 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -19
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/deleteinputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
- cribl_control_plane/models/deletepacksbyidop.py +1 -20
- cribl_control_plane/models/deletepipelinebyidop.py +1 -20
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -18
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +1 -20
- cribl_control_plane/models/getinputbyidop.py +1 -20
- cribl_control_plane/models/getmasterworkerentryop.py +1 -18
- cribl_control_plane/models/getoutputbyidop.py +1 -20
- cribl_control_plane/models/getoutputpqbyidop.py +1 -20
- cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
- cribl_control_plane/models/getpacksbyidop.py +1 -20
- cribl_control_plane/models/getpacksop.py +1 -19
- cribl_control_plane/models/getpipelinebyidop.py +1 -20
- cribl_control_plane/models/getroutesbyidop.py +1 -20
- cribl_control_plane/models/getsummaryop.py +11 -18
- cribl_control_plane/models/getversioncountop.py +1 -19
- cribl_control_plane/models/getversiondiffop.py +1 -19
- cribl_control_plane/models/getversionfilesop.py +1 -19
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -19
- cribl_control_plane/models/getversionstatusop.py +1 -19
- cribl_control_plane/models/groupcreaterequest.py +20 -1
- cribl_control_plane/models/hbcriblinfo.py +11 -1
- cribl_control_plane/models/healthserverstatus.py +20 -1
- cribl_control_plane/models/input.py +2 -2
- cribl_control_plane/models/inputappscope.py +56 -1
- cribl_control_plane/models/inputazureblob.py +29 -1
- cribl_control_plane/models/inputcollection.py +20 -1
- cribl_control_plane/models/inputconfluentcloud.py +78 -1
- cribl_control_plane/models/inputcribl.py +20 -1
- cribl_control_plane/models/inputcriblhttp.py +62 -7
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +63 -1
- cribl_control_plane/models/inputcrowdstrike.py +47 -1
- cribl_control_plane/models/inputdatadogagent.py +38 -1
- cribl_control_plane/models/inputdatagen.py +20 -1
- cribl_control_plane/models/inputedgeprometheus.py +94 -1
- cribl_control_plane/models/inputelastic.py +65 -1
- cribl_control_plane/models/inputeventhub.py +58 -1
- cribl_control_plane/models/inputexec.py +29 -1
- cribl_control_plane/models/inputfile.py +40 -7
- cribl_control_plane/models/inputfirehose.py +38 -1
- cribl_control_plane/models/inputgooglepubsub.py +29 -1
- cribl_control_plane/models/inputgrafana.py +110 -1
- cribl_control_plane/models/inputhttp.py +38 -1
- cribl_control_plane/models/inputhttpraw.py +38 -1
- cribl_control_plane/models/inputjournalfiles.py +20 -1
- cribl_control_plane/models/inputkafka.py +74 -1
- cribl_control_plane/models/inputkinesis.py +65 -1
- cribl_control_plane/models/inputkubeevents.py +20 -1
- cribl_control_plane/models/inputkubelogs.py +29 -1
- cribl_control_plane/models/inputkubemetrics.py +29 -1
- cribl_control_plane/models/inputloki.py +47 -1
- cribl_control_plane/models/inputmetrics.py +38 -1
- cribl_control_plane/models/inputmodeldriventelemetry.py +38 -1
- cribl_control_plane/models/inputmsk.py +74 -1
- cribl_control_plane/models/inputnetflow.py +20 -1
- cribl_control_plane/models/inputoffice365mgmt.py +56 -1
- cribl_control_plane/models/inputoffice365msgtrace.py +56 -1
- cribl_control_plane/models/inputoffice365service.py +56 -1
- cribl_control_plane/models/inputopentelemetry.py +65 -1
- cribl_control_plane/models/inputprometheus.py +87 -1
- cribl_control_plane/models/inputprometheusrw.py +47 -1
- cribl_control_plane/models/inputrawudp.py +20 -1
- cribl_control_plane/models/inputs3.py +38 -1
- cribl_control_plane/models/inputs3inventory.py +47 -1
- cribl_control_plane/models/inputsecuritylake.py +47 -1
- cribl_control_plane/models/inputsnmp.py +29 -1
- cribl_control_plane/models/inputsplunk.py +56 -1
- cribl_control_plane/models/inputsplunkhec.py +47 -1
- cribl_control_plane/models/inputsplunksearch.py +56 -1
- cribl_control_plane/models/inputsqs.py +47 -1
- cribl_control_plane/models/inputsyslog.py +74 -1
- cribl_control_plane/models/inputsystemmetrics.py +92 -1
- cribl_control_plane/models/inputsystemstate.py +29 -1
- cribl_control_plane/models/inputtcp.py +47 -1
- cribl_control_plane/models/inputtcpjson.py +47 -1
- cribl_control_plane/models/inputwef.py +65 -1
- cribl_control_plane/models/inputwindowsmetrics.py +83 -1
- cribl_control_plane/models/inputwineventlogs.py +38 -1
- cribl_control_plane/models/inputwiz.py +38 -1
- cribl_control_plane/models/inputwizwebhook.py +38 -1
- cribl_control_plane/models/inputzscalerhec.py +47 -1
- cribl_control_plane/models/jobinfo.py +10 -4
- cribl_control_plane/models/jobstatus.py +34 -3
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -18
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/output.py +13 -13
- cribl_control_plane/models/outputazureblob.py +83 -1
- cribl_control_plane/models/outputazuredataexplorer.py +148 -1
- cribl_control_plane/models/outputazureeventhub.py +98 -1
- cribl_control_plane/models/outputazurelogs.py +56 -1
- cribl_control_plane/models/outputchronicle.py +56 -1
- cribl_control_plane/models/outputclickhouse.py +92 -1
- cribl_control_plane/models/outputcloudwatch.py +47 -1
- cribl_control_plane/models/outputconfluentcloud.py +125 -1
- cribl_control_plane/models/outputcriblhttp.py +97 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +99 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +69 -5
- cribl_control_plane/models/outputdatadog.py +83 -1
- cribl_control_plane/models/outputdataset.py +74 -1
- cribl_control_plane/models/outputdiskspool.py +11 -1
- cribl_control_plane/models/outputdls3.py +110 -1
- cribl_control_plane/models/outputdynatracehttp.py +92 -1
- cribl_control_plane/models/outputdynatraceotlp.py +92 -1
- cribl_control_plane/models/outputelastic.py +74 -1
- cribl_control_plane/models/outputelasticcloud.py +56 -1
- cribl_control_plane/models/outputexabeam.py +47 -1
- cribl_control_plane/models/outputfilesystem.py +65 -1
- cribl_control_plane/models/outputgooglechronicle.py +83 -1
- cribl_control_plane/models/outputgooglecloudlogging.py +65 -1
- cribl_control_plane/models/outputgooglecloudstorage.py +101 -1
- cribl_control_plane/models/outputgooglepubsub.py +47 -1
- cribl_control_plane/models/outputgrafanacloud.py +146 -1
- cribl_control_plane/models/outputgraphite.py +47 -1
- cribl_control_plane/models/outputhoneycomb.py +56 -1
- cribl_control_plane/models/outputhumiohec.py +65 -1
- cribl_control_plane/models/outputinfluxdb.py +65 -1
- cribl_control_plane/models/outputkafka.py +121 -1
- cribl_control_plane/models/outputkinesis.py +65 -1
- cribl_control_plane/models/outputloki.py +65 -1
- cribl_control_plane/models/outputminio.py +110 -1
- cribl_control_plane/models/outputmsk.py +121 -1
- cribl_control_plane/models/outputnewrelic.py +74 -1
- cribl_control_plane/models/outputnewrelicevents.py +65 -1
- cribl_control_plane/models/outputopentelemetry.py +110 -1
- cribl_control_plane/models/outputprometheus.py +56 -1
- cribl_control_plane/models/outputring.py +29 -1
- cribl_control_plane/models/outputs3.py +110 -1
- cribl_control_plane/models/outputsecuritylake.py +85 -1
- cribl_control_plane/models/outputsentinel.py +74 -1
- cribl_control_plane/models/outputsentineloneaisiem.py +74 -1
- cribl_control_plane/models/outputservicenow.py +101 -1
- cribl_control_plane/models/outputsignalfx.py +56 -1
- cribl_control_plane/models/outputsns.py +56 -1
- cribl_control_plane/models/outputsplunk.py +92 -1
- cribl_control_plane/models/outputsplunkhec.py +149 -1
- cribl_control_plane/models/outputsplunklb.py +121 -1
- cribl_control_plane/models/outputsqs.py +65 -1
- cribl_control_plane/models/outputstatsd.py +47 -1
- cribl_control_plane/models/outputstatsdext.py +47 -1
- cribl_control_plane/models/outputsumologic.py +56 -1
- cribl_control_plane/models/outputsyslog.py +110 -1
- cribl_control_plane/models/outputtcpjson.py +83 -1
- cribl_control_plane/models/outputwavefront.py +56 -1
- cribl_control_plane/models/outputwebhook.py +92 -1
- cribl_control_plane/models/outputxsiam.py +56 -1
- cribl_control_plane/models/resourcepolicy.py +11 -0
- cribl_control_plane/models/runnablejobcollection.py +64 -1
- cribl_control_plane/models/runnablejobexecutor.py +24 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +15 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -19
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepipelinebyidop.py +1 -19
- cribl_control_plane/models/updateroutesbyidop.py +1 -19
- cribl_control_plane/nodes.py +8 -12
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +16 -20
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sdk.py +2 -2
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +8 -4
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
- cribl_control_plane-0.2.1rc11.dist-info/RECORD +350 -0
- cribl_control_plane-0.2.1rc4.dist-info/RECORD +0 -331
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -598,3 +599,111 @@ class OutputDlS3(BaseModel):
|
|
|
598
599
|
|
|
599
600
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
600
601
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
602
|
+
|
|
603
|
+
@field_serializer("aws_authentication_method")
|
|
604
|
+
def serialize_aws_authentication_method(self, value):
|
|
605
|
+
if isinstance(value, str):
|
|
606
|
+
try:
|
|
607
|
+
return models.OutputDlS3AuthenticationMethod(value)
|
|
608
|
+
except ValueError:
|
|
609
|
+
return value
|
|
610
|
+
return value
|
|
611
|
+
|
|
612
|
+
@field_serializer("signature_version")
|
|
613
|
+
def serialize_signature_version(self, value):
|
|
614
|
+
if isinstance(value, str):
|
|
615
|
+
try:
|
|
616
|
+
return models.OutputDlS3SignatureVersion(value)
|
|
617
|
+
except ValueError:
|
|
618
|
+
return value
|
|
619
|
+
return value
|
|
620
|
+
|
|
621
|
+
@field_serializer("object_acl")
|
|
622
|
+
def serialize_object_acl(self, value):
|
|
623
|
+
if isinstance(value, str):
|
|
624
|
+
try:
|
|
625
|
+
return models.OutputDlS3ObjectACL(value)
|
|
626
|
+
except ValueError:
|
|
627
|
+
return value
|
|
628
|
+
return value
|
|
629
|
+
|
|
630
|
+
@field_serializer("storage_class")
|
|
631
|
+
def serialize_storage_class(self, value):
|
|
632
|
+
if isinstance(value, str):
|
|
633
|
+
try:
|
|
634
|
+
return models.OutputDlS3StorageClass(value)
|
|
635
|
+
except ValueError:
|
|
636
|
+
return value
|
|
637
|
+
return value
|
|
638
|
+
|
|
639
|
+
@field_serializer("server_side_encryption")
|
|
640
|
+
def serialize_server_side_encryption(self, value):
|
|
641
|
+
if isinstance(value, str):
|
|
642
|
+
try:
|
|
643
|
+
return models.OutputDlS3ServerSideEncryptionForUploadedObjects(value)
|
|
644
|
+
except ValueError:
|
|
645
|
+
return value
|
|
646
|
+
return value
|
|
647
|
+
|
|
648
|
+
@field_serializer("format_")
|
|
649
|
+
def serialize_format_(self, value):
|
|
650
|
+
if isinstance(value, str):
|
|
651
|
+
try:
|
|
652
|
+
return models.OutputDlS3DataFormat(value)
|
|
653
|
+
except ValueError:
|
|
654
|
+
return value
|
|
655
|
+
return value
|
|
656
|
+
|
|
657
|
+
@field_serializer("on_backpressure")
|
|
658
|
+
def serialize_on_backpressure(self, value):
|
|
659
|
+
if isinstance(value, str):
|
|
660
|
+
try:
|
|
661
|
+
return models.OutputDlS3BackpressureBehavior(value)
|
|
662
|
+
except ValueError:
|
|
663
|
+
return value
|
|
664
|
+
return value
|
|
665
|
+
|
|
666
|
+
@field_serializer("on_disk_full_backpressure")
|
|
667
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
668
|
+
if isinstance(value, str):
|
|
669
|
+
try:
|
|
670
|
+
return models.OutputDlS3DiskSpaceProtection(value)
|
|
671
|
+
except ValueError:
|
|
672
|
+
return value
|
|
673
|
+
return value
|
|
674
|
+
|
|
675
|
+
@field_serializer("compress")
|
|
676
|
+
def serialize_compress(self, value):
|
|
677
|
+
if isinstance(value, str):
|
|
678
|
+
try:
|
|
679
|
+
return models.OutputDlS3Compression(value)
|
|
680
|
+
except ValueError:
|
|
681
|
+
return value
|
|
682
|
+
return value
|
|
683
|
+
|
|
684
|
+
@field_serializer("compression_level")
|
|
685
|
+
def serialize_compression_level(self, value):
|
|
686
|
+
if isinstance(value, str):
|
|
687
|
+
try:
|
|
688
|
+
return models.OutputDlS3CompressionLevel(value)
|
|
689
|
+
except ValueError:
|
|
690
|
+
return value
|
|
691
|
+
return value
|
|
692
|
+
|
|
693
|
+
@field_serializer("parquet_version")
|
|
694
|
+
def serialize_parquet_version(self, value):
|
|
695
|
+
if isinstance(value, str):
|
|
696
|
+
try:
|
|
697
|
+
return models.OutputDlS3ParquetVersion(value)
|
|
698
|
+
except ValueError:
|
|
699
|
+
return value
|
|
700
|
+
return value
|
|
701
|
+
|
|
702
|
+
@field_serializer("parquet_data_page_version")
|
|
703
|
+
def serialize_parquet_data_page_version(self, value):
|
|
704
|
+
if isinstance(value, str):
|
|
705
|
+
try:
|
|
706
|
+
return models.OutputDlS3DataPageVersion(value)
|
|
707
|
+
except ValueError:
|
|
708
|
+
return value
|
|
709
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -500,3 +501,93 @@ class OutputDynatraceHTTP(BaseModel):
|
|
|
500
501
|
|
|
501
502
|
url: Optional[str] = None
|
|
502
503
|
r"""URL to send events to. Can be overwritten by an event's __url field."""
|
|
504
|
+
|
|
505
|
+
@field_serializer("method")
|
|
506
|
+
def serialize_method(self, value):
|
|
507
|
+
if isinstance(value, str):
|
|
508
|
+
try:
|
|
509
|
+
return models.OutputDynatraceHTTPMethod(value)
|
|
510
|
+
except ValueError:
|
|
511
|
+
return value
|
|
512
|
+
return value
|
|
513
|
+
|
|
514
|
+
@field_serializer("failed_request_logging_mode")
|
|
515
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
516
|
+
if isinstance(value, str):
|
|
517
|
+
try:
|
|
518
|
+
return models.OutputDynatraceHTTPFailedRequestLoggingMode(value)
|
|
519
|
+
except ValueError:
|
|
520
|
+
return value
|
|
521
|
+
return value
|
|
522
|
+
|
|
523
|
+
@field_serializer("on_backpressure")
|
|
524
|
+
def serialize_on_backpressure(self, value):
|
|
525
|
+
if isinstance(value, str):
|
|
526
|
+
try:
|
|
527
|
+
return models.OutputDynatraceHTTPBackpressureBehavior(value)
|
|
528
|
+
except ValueError:
|
|
529
|
+
return value
|
|
530
|
+
return value
|
|
531
|
+
|
|
532
|
+
@field_serializer("auth_type")
|
|
533
|
+
def serialize_auth_type(self, value):
|
|
534
|
+
if isinstance(value, str):
|
|
535
|
+
try:
|
|
536
|
+
return models.OutputDynatraceHTTPAuthenticationType(value)
|
|
537
|
+
except ValueError:
|
|
538
|
+
return value
|
|
539
|
+
return value
|
|
540
|
+
|
|
541
|
+
@field_serializer("format_")
|
|
542
|
+
def serialize_format_(self, value):
|
|
543
|
+
if isinstance(value, str):
|
|
544
|
+
try:
|
|
545
|
+
return models.OutputDynatraceHTTPFormat(value)
|
|
546
|
+
except ValueError:
|
|
547
|
+
return value
|
|
548
|
+
return value
|
|
549
|
+
|
|
550
|
+
@field_serializer("endpoint")
|
|
551
|
+
def serialize_endpoint(self, value):
|
|
552
|
+
if isinstance(value, str):
|
|
553
|
+
try:
|
|
554
|
+
return models.Endpoint(value)
|
|
555
|
+
except ValueError:
|
|
556
|
+
return value
|
|
557
|
+
return value
|
|
558
|
+
|
|
559
|
+
@field_serializer("telemetry_type")
|
|
560
|
+
def serialize_telemetry_type(self, value):
|
|
561
|
+
if isinstance(value, str):
|
|
562
|
+
try:
|
|
563
|
+
return models.TelemetryType(value)
|
|
564
|
+
except ValueError:
|
|
565
|
+
return value
|
|
566
|
+
return value
|
|
567
|
+
|
|
568
|
+
@field_serializer("pq_mode")
|
|
569
|
+
def serialize_pq_mode(self, value):
|
|
570
|
+
if isinstance(value, str):
|
|
571
|
+
try:
|
|
572
|
+
return models.OutputDynatraceHTTPMode(value)
|
|
573
|
+
except ValueError:
|
|
574
|
+
return value
|
|
575
|
+
return value
|
|
576
|
+
|
|
577
|
+
@field_serializer("pq_compress")
|
|
578
|
+
def serialize_pq_compress(self, value):
|
|
579
|
+
if isinstance(value, str):
|
|
580
|
+
try:
|
|
581
|
+
return models.OutputDynatraceHTTPCompression(value)
|
|
582
|
+
except ValueError:
|
|
583
|
+
return value
|
|
584
|
+
return value
|
|
585
|
+
|
|
586
|
+
@field_serializer("pq_on_backpressure")
|
|
587
|
+
def serialize_pq_on_backpressure(self, value):
|
|
588
|
+
if isinstance(value, str):
|
|
589
|
+
try:
|
|
590
|
+
return models.OutputDynatraceHTTPQueueFullBehavior(value)
|
|
591
|
+
except ValueError:
|
|
592
|
+
return value
|
|
593
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -532,3 +533,93 @@ class OutputDynatraceOtlp(BaseModel):
|
|
|
532
533
|
pq_controls: Annotated[
|
|
533
534
|
Optional[OutputDynatraceOtlpPqControls], pydantic.Field(alias="pqControls")
|
|
534
535
|
] = None
|
|
536
|
+
|
|
537
|
+
@field_serializer("protocol")
|
|
538
|
+
def serialize_protocol(self, value):
|
|
539
|
+
if isinstance(value, str):
|
|
540
|
+
try:
|
|
541
|
+
return models.OutputDynatraceOtlpProtocol(value)
|
|
542
|
+
except ValueError:
|
|
543
|
+
return value
|
|
544
|
+
return value
|
|
545
|
+
|
|
546
|
+
@field_serializer("otlp_version")
|
|
547
|
+
def serialize_otlp_version(self, value):
|
|
548
|
+
if isinstance(value, str):
|
|
549
|
+
try:
|
|
550
|
+
return models.OutputDynatraceOTLPOTLPVersion(value)
|
|
551
|
+
except ValueError:
|
|
552
|
+
return value
|
|
553
|
+
return value
|
|
554
|
+
|
|
555
|
+
@field_serializer("compress")
|
|
556
|
+
def serialize_compress(self, value):
|
|
557
|
+
if isinstance(value, str):
|
|
558
|
+
try:
|
|
559
|
+
return models.OutputDynatraceOtlpCompressCompression(value)
|
|
560
|
+
except ValueError:
|
|
561
|
+
return value
|
|
562
|
+
return value
|
|
563
|
+
|
|
564
|
+
@field_serializer("http_compress")
|
|
565
|
+
def serialize_http_compress(self, value):
|
|
566
|
+
if isinstance(value, str):
|
|
567
|
+
try:
|
|
568
|
+
return models.OutputDynatraceOtlpHTTPCompressCompression(value)
|
|
569
|
+
except ValueError:
|
|
570
|
+
return value
|
|
571
|
+
return value
|
|
572
|
+
|
|
573
|
+
@field_serializer("failed_request_logging_mode")
|
|
574
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
575
|
+
if isinstance(value, str):
|
|
576
|
+
try:
|
|
577
|
+
return models.OutputDynatraceOtlpFailedRequestLoggingMode(value)
|
|
578
|
+
except ValueError:
|
|
579
|
+
return value
|
|
580
|
+
return value
|
|
581
|
+
|
|
582
|
+
@field_serializer("endpoint_type")
|
|
583
|
+
def serialize_endpoint_type(self, value):
|
|
584
|
+
if isinstance(value, str):
|
|
585
|
+
try:
|
|
586
|
+
return models.EndpointType(value)
|
|
587
|
+
except ValueError:
|
|
588
|
+
return value
|
|
589
|
+
return value
|
|
590
|
+
|
|
591
|
+
@field_serializer("on_backpressure")
|
|
592
|
+
def serialize_on_backpressure(self, value):
|
|
593
|
+
if isinstance(value, str):
|
|
594
|
+
try:
|
|
595
|
+
return models.OutputDynatraceOtlpBackpressureBehavior(value)
|
|
596
|
+
except ValueError:
|
|
597
|
+
return value
|
|
598
|
+
return value
|
|
599
|
+
|
|
600
|
+
@field_serializer("pq_mode")
|
|
601
|
+
def serialize_pq_mode(self, value):
|
|
602
|
+
if isinstance(value, str):
|
|
603
|
+
try:
|
|
604
|
+
return models.OutputDynatraceOtlpMode(value)
|
|
605
|
+
except ValueError:
|
|
606
|
+
return value
|
|
607
|
+
return value
|
|
608
|
+
|
|
609
|
+
@field_serializer("pq_compress")
|
|
610
|
+
def serialize_pq_compress(self, value):
|
|
611
|
+
if isinstance(value, str):
|
|
612
|
+
try:
|
|
613
|
+
return models.OutputDynatraceOtlpPqCompressCompression(value)
|
|
614
|
+
except ValueError:
|
|
615
|
+
return value
|
|
616
|
+
return value
|
|
617
|
+
|
|
618
|
+
@field_serializer("pq_on_backpressure")
|
|
619
|
+
def serialize_pq_on_backpressure(self, value):
|
|
620
|
+
if isinstance(value, str):
|
|
621
|
+
try:
|
|
622
|
+
return models.OutputDynatraceOtlpQueueFullBehavior(value)
|
|
623
|
+
except ValueError:
|
|
624
|
+
return value
|
|
625
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -154,6 +155,15 @@ class OutputElasticAuth(BaseModel):
|
|
|
154
155
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
155
156
|
r"""Select or create a stored text secret"""
|
|
156
157
|
|
|
158
|
+
@field_serializer("auth_type")
|
|
159
|
+
def serialize_auth_type(self, value):
|
|
160
|
+
if isinstance(value, str):
|
|
161
|
+
try:
|
|
162
|
+
return models.OutputElasticAuthenticationMethod(value)
|
|
163
|
+
except ValueError:
|
|
164
|
+
return value
|
|
165
|
+
return value
|
|
166
|
+
|
|
157
167
|
|
|
158
168
|
class ElasticVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
159
169
|
r"""Optional Elasticsearch version, used to format events. If not specified, will auto-discover version."""
|
|
@@ -563,3 +573,66 @@ class OutputElastic(BaseModel):
|
|
|
563
573
|
pq_controls: Annotated[
|
|
564
574
|
Optional[OutputElasticPqControls], pydantic.Field(alias="pqControls")
|
|
565
575
|
] = None
|
|
576
|
+
|
|
577
|
+
@field_serializer("failed_request_logging_mode")
|
|
578
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
579
|
+
if isinstance(value, str):
|
|
580
|
+
try:
|
|
581
|
+
return models.OutputElasticFailedRequestLoggingMode(value)
|
|
582
|
+
except ValueError:
|
|
583
|
+
return value
|
|
584
|
+
return value
|
|
585
|
+
|
|
586
|
+
@field_serializer("elastic_version")
|
|
587
|
+
def serialize_elastic_version(self, value):
|
|
588
|
+
if isinstance(value, str):
|
|
589
|
+
try:
|
|
590
|
+
return models.ElasticVersion(value)
|
|
591
|
+
except ValueError:
|
|
592
|
+
return value
|
|
593
|
+
return value
|
|
594
|
+
|
|
595
|
+
@field_serializer("write_action")
|
|
596
|
+
def serialize_write_action(self, value):
|
|
597
|
+
if isinstance(value, str):
|
|
598
|
+
try:
|
|
599
|
+
return models.WriteAction(value)
|
|
600
|
+
except ValueError:
|
|
601
|
+
return value
|
|
602
|
+
return value
|
|
603
|
+
|
|
604
|
+
@field_serializer("on_backpressure")
|
|
605
|
+
def serialize_on_backpressure(self, value):
|
|
606
|
+
if isinstance(value, str):
|
|
607
|
+
try:
|
|
608
|
+
return models.OutputElasticBackpressureBehavior(value)
|
|
609
|
+
except ValueError:
|
|
610
|
+
return value
|
|
611
|
+
return value
|
|
612
|
+
|
|
613
|
+
@field_serializer("pq_mode")
|
|
614
|
+
def serialize_pq_mode(self, value):
|
|
615
|
+
if isinstance(value, str):
|
|
616
|
+
try:
|
|
617
|
+
return models.OutputElasticMode(value)
|
|
618
|
+
except ValueError:
|
|
619
|
+
return value
|
|
620
|
+
return value
|
|
621
|
+
|
|
622
|
+
@field_serializer("pq_compress")
|
|
623
|
+
def serialize_pq_compress(self, value):
|
|
624
|
+
if isinstance(value, str):
|
|
625
|
+
try:
|
|
626
|
+
return models.OutputElasticCompression(value)
|
|
627
|
+
except ValueError:
|
|
628
|
+
return value
|
|
629
|
+
return value
|
|
630
|
+
|
|
631
|
+
@field_serializer("pq_on_backpressure")
|
|
632
|
+
def serialize_pq_on_backpressure(self, value):
|
|
633
|
+
if isinstance(value, str):
|
|
634
|
+
try:
|
|
635
|
+
return models.OutputElasticQueueFullBehavior(value)
|
|
636
|
+
except ValueError:
|
|
637
|
+
return value
|
|
638
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -102,6 +103,15 @@ class OutputElasticCloudAuth(BaseModel):
|
|
|
102
103
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
103
104
|
r"""Select or create a stored text secret"""
|
|
104
105
|
|
|
106
|
+
@field_serializer("auth_type")
|
|
107
|
+
def serialize_auth_type(self, value):
|
|
108
|
+
if isinstance(value, str):
|
|
109
|
+
try:
|
|
110
|
+
return models.OutputElasticCloudAuthenticationMethod(value)
|
|
111
|
+
except ValueError:
|
|
112
|
+
return value
|
|
113
|
+
return value
|
|
114
|
+
|
|
105
115
|
|
|
106
116
|
class OutputElasticCloudResponseRetrySettingTypedDict(TypedDict):
|
|
107
117
|
http_status: float
|
|
@@ -469,3 +479,48 @@ class OutputElasticCloud(BaseModel):
|
|
|
469
479
|
pq_controls: Annotated[
|
|
470
480
|
Optional[OutputElasticCloudPqControls], pydantic.Field(alias="pqControls")
|
|
471
481
|
] = None
|
|
482
|
+
|
|
483
|
+
@field_serializer("failed_request_logging_mode")
|
|
484
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
485
|
+
if isinstance(value, str):
|
|
486
|
+
try:
|
|
487
|
+
return models.OutputElasticCloudFailedRequestLoggingMode(value)
|
|
488
|
+
except ValueError:
|
|
489
|
+
return value
|
|
490
|
+
return value
|
|
491
|
+
|
|
492
|
+
@field_serializer("on_backpressure")
|
|
493
|
+
def serialize_on_backpressure(self, value):
|
|
494
|
+
if isinstance(value, str):
|
|
495
|
+
try:
|
|
496
|
+
return models.OutputElasticCloudBackpressureBehavior(value)
|
|
497
|
+
except ValueError:
|
|
498
|
+
return value
|
|
499
|
+
return value
|
|
500
|
+
|
|
501
|
+
@field_serializer("pq_mode")
|
|
502
|
+
def serialize_pq_mode(self, value):
|
|
503
|
+
if isinstance(value, str):
|
|
504
|
+
try:
|
|
505
|
+
return models.OutputElasticCloudMode(value)
|
|
506
|
+
except ValueError:
|
|
507
|
+
return value
|
|
508
|
+
return value
|
|
509
|
+
|
|
510
|
+
@field_serializer("pq_compress")
|
|
511
|
+
def serialize_pq_compress(self, value):
|
|
512
|
+
if isinstance(value, str):
|
|
513
|
+
try:
|
|
514
|
+
return models.OutputElasticCloudCompression(value)
|
|
515
|
+
except ValueError:
|
|
516
|
+
return value
|
|
517
|
+
return value
|
|
518
|
+
|
|
519
|
+
@field_serializer("pq_on_backpressure")
|
|
520
|
+
def serialize_pq_on_backpressure(self, value):
|
|
521
|
+
if isinstance(value, str):
|
|
522
|
+
try:
|
|
523
|
+
return models.OutputElasticCloudQueueFullBehavior(value)
|
|
524
|
+
except ValueError:
|
|
525
|
+
return value
|
|
526
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -307,3 +308,48 @@ class OutputExabeam(BaseModel):
|
|
|
307
308
|
|
|
308
309
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
309
310
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
311
|
+
|
|
312
|
+
@field_serializer("signature_version")
|
|
313
|
+
def serialize_signature_version(self, value):
|
|
314
|
+
if isinstance(value, str):
|
|
315
|
+
try:
|
|
316
|
+
return models.OutputExabeamSignatureVersion(value)
|
|
317
|
+
except ValueError:
|
|
318
|
+
return value
|
|
319
|
+
return value
|
|
320
|
+
|
|
321
|
+
@field_serializer("object_acl")
|
|
322
|
+
def serialize_object_acl(self, value):
|
|
323
|
+
if isinstance(value, str):
|
|
324
|
+
try:
|
|
325
|
+
return models.OutputExabeamObjectACL(value)
|
|
326
|
+
except ValueError:
|
|
327
|
+
return value
|
|
328
|
+
return value
|
|
329
|
+
|
|
330
|
+
@field_serializer("storage_class")
|
|
331
|
+
def serialize_storage_class(self, value):
|
|
332
|
+
if isinstance(value, str):
|
|
333
|
+
try:
|
|
334
|
+
return models.OutputExabeamStorageClass(value)
|
|
335
|
+
except ValueError:
|
|
336
|
+
return value
|
|
337
|
+
return value
|
|
338
|
+
|
|
339
|
+
@field_serializer("on_backpressure")
|
|
340
|
+
def serialize_on_backpressure(self, value):
|
|
341
|
+
if isinstance(value, str):
|
|
342
|
+
try:
|
|
343
|
+
return models.OutputExabeamBackpressureBehavior(value)
|
|
344
|
+
except ValueError:
|
|
345
|
+
return value
|
|
346
|
+
return value
|
|
347
|
+
|
|
348
|
+
@field_serializer("on_disk_full_backpressure")
|
|
349
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
350
|
+
if isinstance(value, str):
|
|
351
|
+
try:
|
|
352
|
+
return models.OutputExabeamDiskSpaceProtection(value)
|
|
353
|
+
except ValueError:
|
|
354
|
+
return value
|
|
355
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -377,3 +378,66 @@ class OutputFilesystem(BaseModel):
|
|
|
377
378
|
|
|
378
379
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
379
380
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
381
|
+
|
|
382
|
+
@field_serializer("format_")
|
|
383
|
+
def serialize_format_(self, value):
|
|
384
|
+
if isinstance(value, str):
|
|
385
|
+
try:
|
|
386
|
+
return models.OutputFilesystemDataFormat(value)
|
|
387
|
+
except ValueError:
|
|
388
|
+
return value
|
|
389
|
+
return value
|
|
390
|
+
|
|
391
|
+
@field_serializer("on_backpressure")
|
|
392
|
+
def serialize_on_backpressure(self, value):
|
|
393
|
+
if isinstance(value, str):
|
|
394
|
+
try:
|
|
395
|
+
return models.OutputFilesystemBackpressureBehavior(value)
|
|
396
|
+
except ValueError:
|
|
397
|
+
return value
|
|
398
|
+
return value
|
|
399
|
+
|
|
400
|
+
@field_serializer("on_disk_full_backpressure")
|
|
401
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
402
|
+
if isinstance(value, str):
|
|
403
|
+
try:
|
|
404
|
+
return models.OutputFilesystemDiskSpaceProtection(value)
|
|
405
|
+
except ValueError:
|
|
406
|
+
return value
|
|
407
|
+
return value
|
|
408
|
+
|
|
409
|
+
@field_serializer("compress")
|
|
410
|
+
def serialize_compress(self, value):
|
|
411
|
+
if isinstance(value, str):
|
|
412
|
+
try:
|
|
413
|
+
return models.OutputFilesystemCompression(value)
|
|
414
|
+
except ValueError:
|
|
415
|
+
return value
|
|
416
|
+
return value
|
|
417
|
+
|
|
418
|
+
@field_serializer("compression_level")
|
|
419
|
+
def serialize_compression_level(self, value):
|
|
420
|
+
if isinstance(value, str):
|
|
421
|
+
try:
|
|
422
|
+
return models.OutputFilesystemCompressionLevel(value)
|
|
423
|
+
except ValueError:
|
|
424
|
+
return value
|
|
425
|
+
return value
|
|
426
|
+
|
|
427
|
+
@field_serializer("parquet_version")
|
|
428
|
+
def serialize_parquet_version(self, value):
|
|
429
|
+
if isinstance(value, str):
|
|
430
|
+
try:
|
|
431
|
+
return models.OutputFilesystemParquetVersion(value)
|
|
432
|
+
except ValueError:
|
|
433
|
+
return value
|
|
434
|
+
return value
|
|
435
|
+
|
|
436
|
+
@field_serializer("parquet_data_page_version")
|
|
437
|
+
def serialize_parquet_data_page_version(self, value):
|
|
438
|
+
if isinstance(value, str):
|
|
439
|
+
try:
|
|
440
|
+
return models.OutputFilesystemDataPageVersion(value)
|
|
441
|
+
except ValueError:
|
|
442
|
+
return value
|
|
443
|
+
return value
|