nominal-api 0.678.0__py3-none-any.whl → 0.680.0__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 nominal-api might be problematic. Click here for more details.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +100 -8
- nominal_api/ingest_api/__init__.py +1 -0
- {nominal_api-0.678.0.dist-info → nominal_api-0.680.0.dist-info}/METADATA +1 -1
- {nominal_api-0.678.0.dist-info → nominal_api-0.680.0.dist-info}/RECORD +7 -7
- {nominal_api-0.678.0.dist-info → nominal_api-0.680.0.dist-info}/WHEEL +1 -1
- {nominal_api-0.678.0.dist-info → nominal_api-0.680.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -7320,12 +7320,13 @@ class ingest_api_ContainerizedExtractor(ConjureBeanType):
|
|
|
7320
7320
|
'labels': ConjureFieldDefinition('labels', List[api_Label]),
|
|
7321
7321
|
'created_at': ConjureFieldDefinition('createdAt', str),
|
|
7322
7322
|
'is_archived': ConjureFieldDefinition('isArchived', bool),
|
|
7323
|
-
'timestamp_metadata': ConjureFieldDefinition('timestampMetadata', ingest_api_TimestampMetadata)
|
|
7323
|
+
'timestamp_metadata': ConjureFieldDefinition('timestampMetadata', ingest_api_TimestampMetadata),
|
|
7324
|
+
'output_file_format': ConjureFieldDefinition('outputFileFormat', ingest_api_FileOutputFormat)
|
|
7324
7325
|
}
|
|
7325
7326
|
|
|
7326
|
-
__slots__: List[str] = ['_rid', '_name', '_description', '_image', '_inputs', '_properties', '_labels', '_created_at', '_is_archived', '_timestamp_metadata']
|
|
7327
|
+
__slots__: List[str] = ['_rid', '_name', '_description', '_image', '_inputs', '_properties', '_labels', '_created_at', '_is_archived', '_timestamp_metadata', '_output_file_format']
|
|
7327
7328
|
|
|
7328
|
-
def __init__(self, created_at: str, image: "ingest_api_DockerImageSource", inputs: List["ingest_api_FileExtractionInput"], is_archived: bool, labels: List[str], name: str, properties: Dict[str, str], rid: str, timestamp_metadata: "ingest_api_TimestampMetadata", description: Optional[str] = None) -> None:
|
|
7329
|
+
def __init__(self, created_at: str, image: "ingest_api_DockerImageSource", inputs: List["ingest_api_FileExtractionInput"], is_archived: bool, labels: List[str], name: str, output_file_format: "ingest_api_FileOutputFormat", properties: Dict[str, str], rid: str, timestamp_metadata: "ingest_api_TimestampMetadata", description: Optional[str] = None) -> None:
|
|
7329
7330
|
self._rid = rid
|
|
7330
7331
|
self._name = name
|
|
7331
7332
|
self._description = description
|
|
@@ -7336,6 +7337,7 @@ class ingest_api_ContainerizedExtractor(ConjureBeanType):
|
|
|
7336
7337
|
self._created_at = created_at
|
|
7337
7338
|
self._is_archived = is_archived
|
|
7338
7339
|
self._timestamp_metadata = timestamp_metadata
|
|
7340
|
+
self._output_file_format = output_file_format
|
|
7339
7341
|
|
|
7340
7342
|
@builtins.property
|
|
7341
7343
|
def rid(self) -> str:
|
|
@@ -7407,6 +7409,13 @@ class ingest_api_ContainerizedExtractor(ConjureBeanType):
|
|
|
7407
7409
|
"""
|
|
7408
7410
|
return self._timestamp_metadata
|
|
7409
7411
|
|
|
7412
|
+
@builtins.property
|
|
7413
|
+
def output_file_format(self) -> "ingest_api_FileOutputFormat":
|
|
7414
|
+
"""
|
|
7415
|
+
The format of the output file. Currently only "parquet", "csv", "parquet.tar" are supported
|
|
7416
|
+
"""
|
|
7417
|
+
return self._output_file_format
|
|
7418
|
+
|
|
7410
7419
|
|
|
7411
7420
|
ingest_api_ContainerizedExtractor.__name__ = "ContainerizedExtractor"
|
|
7412
7421
|
ingest_api_ContainerizedExtractor.__qualname__ = "ContainerizedExtractor"
|
|
@@ -8338,6 +8347,26 @@ ingest_api_FileFilterVisitor.__qualname__ = "FileFilterVisitor"
|
|
|
8338
8347
|
ingest_api_FileFilterVisitor.__module__ = "nominal_api.ingest_api"
|
|
8339
8348
|
|
|
8340
8349
|
|
|
8350
|
+
class ingest_api_FileOutputFormat(ConjureEnumType):
|
|
8351
|
+
|
|
8352
|
+
PARQUET = 'PARQUET'
|
|
8353
|
+
'''PARQUET'''
|
|
8354
|
+
CSV = 'CSV'
|
|
8355
|
+
'''CSV'''
|
|
8356
|
+
PARQUET_TAR = 'PARQUET_TAR'
|
|
8357
|
+
'''PARQUET_TAR'''
|
|
8358
|
+
UNKNOWN = 'UNKNOWN'
|
|
8359
|
+
'''UNKNOWN'''
|
|
8360
|
+
|
|
8361
|
+
def __reduce_ex__(self, proto):
|
|
8362
|
+
return self.__class__, (self.name,)
|
|
8363
|
+
|
|
8364
|
+
|
|
8365
|
+
ingest_api_FileOutputFormat.__name__ = "FileOutputFormat"
|
|
8366
|
+
ingest_api_FileOutputFormat.__qualname__ = "FileOutputFormat"
|
|
8367
|
+
ingest_api_FileOutputFormat.__module__ = "nominal_api.ingest_api"
|
|
8368
|
+
|
|
8369
|
+
|
|
8341
8370
|
class ingest_api_GcsIngestSource(ConjureBeanType):
|
|
8342
8371
|
|
|
8343
8372
|
@builtins.classmethod
|
|
@@ -10864,12 +10893,13 @@ class ingest_api_RegisterContainerizedExtractorRequest(ConjureBeanType):
|
|
|
10864
10893
|
'properties': ConjureFieldDefinition('properties', Dict[api_PropertyName, api_PropertyValue]),
|
|
10865
10894
|
'labels': ConjureFieldDefinition('labels', List[api_Label]),
|
|
10866
10895
|
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid),
|
|
10867
|
-
'timestamp_metadata': ConjureFieldDefinition('timestampMetadata', ingest_api_TimestampMetadata)
|
|
10896
|
+
'timestamp_metadata': ConjureFieldDefinition('timestampMetadata', ingest_api_TimestampMetadata),
|
|
10897
|
+
'output_file_format': ConjureFieldDefinition('outputFileFormat', OptionalTypeWrapper[ingest_api_FileOutputFormat])
|
|
10868
10898
|
}
|
|
10869
10899
|
|
|
10870
|
-
__slots__: List[str] = ['_name', '_description', '_image', '_inputs', '_properties', '_labels', '_workspace', '_timestamp_metadata']
|
|
10900
|
+
__slots__: List[str] = ['_name', '_description', '_image', '_inputs', '_properties', '_labels', '_workspace', '_timestamp_metadata', '_output_file_format']
|
|
10871
10901
|
|
|
10872
|
-
def __init__(self, image: "ingest_api_DockerImageSource", inputs: List["ingest_api_FileExtractionInput"], labels: List[str], name: str, properties: Dict[str, str], timestamp_metadata: "ingest_api_TimestampMetadata", workspace: str, description: Optional[str] = None) -> None:
|
|
10902
|
+
def __init__(self, image: "ingest_api_DockerImageSource", inputs: List["ingest_api_FileExtractionInput"], labels: List[str], name: str, properties: Dict[str, str], timestamp_metadata: "ingest_api_TimestampMetadata", workspace: str, description: Optional[str] = None, output_file_format: Optional["ingest_api_FileOutputFormat"] = None) -> None:
|
|
10873
10903
|
self._name = name
|
|
10874
10904
|
self._description = description
|
|
10875
10905
|
self._image = image
|
|
@@ -10878,6 +10908,7 @@ class ingest_api_RegisterContainerizedExtractorRequest(ConjureBeanType):
|
|
|
10878
10908
|
self._labels = labels
|
|
10879
10909
|
self._workspace = workspace
|
|
10880
10910
|
self._timestamp_metadata = timestamp_metadata
|
|
10911
|
+
self._output_file_format = output_file_format
|
|
10881
10912
|
|
|
10882
10913
|
@builtins.property
|
|
10883
10914
|
def name(self) -> str:
|
|
@@ -10920,6 +10951,13 @@ class ingest_api_RegisterContainerizedExtractorRequest(ConjureBeanType):
|
|
|
10920
10951
|
"""
|
|
10921
10952
|
return self._timestamp_metadata
|
|
10922
10953
|
|
|
10954
|
+
@builtins.property
|
|
10955
|
+
def output_file_format(self) -> Optional["ingest_api_FileOutputFormat"]:
|
|
10956
|
+
"""
|
|
10957
|
+
The format of the output file. Currently only "parquet", "csv", "parquet.tar" are supported
|
|
10958
|
+
"""
|
|
10959
|
+
return self._output_file_format
|
|
10960
|
+
|
|
10923
10961
|
|
|
10924
10962
|
ingest_api_RegisterContainerizedExtractorRequest.__name__ = "RegisterContainerizedExtractorRequest"
|
|
10925
10963
|
ingest_api_RegisterContainerizedExtractorRequest.__qualname__ = "RegisterContainerizedExtractorRequest"
|
|
@@ -13153,6 +13191,8 @@ when accounting for out-of-order points."""
|
|
|
13153
13191
|
_range_value: Optional[Optional["scout_compute_api_Range"]] = None
|
|
13154
13192
|
_numeric: Optional["scout_compute_api_NumericPlot"] = None
|
|
13155
13193
|
_enum: Optional["scout_compute_api_EnumPlot"] = None
|
|
13194
|
+
_bucketed_numeric: Optional["scout_compute_api_BucketedNumericPlot"] = None
|
|
13195
|
+
_bucketed_enum: Optional["scout_compute_api_BucketedEnumPlot"] = None
|
|
13156
13196
|
|
|
13157
13197
|
@builtins.classmethod
|
|
13158
13198
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -13163,7 +13203,9 @@ when accounting for out-of-order points."""
|
|
|
13163
13203
|
'log_point': ConjureFieldDefinition('logPoint', OptionalTypeWrapper[scout_compute_api_LogPoint]),
|
|
13164
13204
|
'range_value': ConjureFieldDefinition('rangeValue', OptionalTypeWrapper[scout_compute_api_Range]),
|
|
13165
13205
|
'numeric': ConjureFieldDefinition('numeric', scout_compute_api_NumericPlot),
|
|
13166
|
-
'enum': ConjureFieldDefinition('enum', scout_compute_api_EnumPlot)
|
|
13206
|
+
'enum': ConjureFieldDefinition('enum', scout_compute_api_EnumPlot),
|
|
13207
|
+
'bucketed_numeric': ConjureFieldDefinition('bucketedNumeric', scout_compute_api_BucketedNumericPlot),
|
|
13208
|
+
'bucketed_enum': ConjureFieldDefinition('bucketedEnum', scout_compute_api_BucketedEnumPlot)
|
|
13167
13209
|
}
|
|
13168
13210
|
|
|
13169
13211
|
def __init__(
|
|
@@ -13175,10 +13217,12 @@ when accounting for out-of-order points."""
|
|
|
13175
13217
|
range_value: Optional[Optional["scout_compute_api_Range"]] = None,
|
|
13176
13218
|
numeric: Optional["scout_compute_api_NumericPlot"] = None,
|
|
13177
13219
|
enum: Optional["scout_compute_api_EnumPlot"] = None,
|
|
13220
|
+
bucketed_numeric: Optional["scout_compute_api_BucketedNumericPlot"] = None,
|
|
13221
|
+
bucketed_enum: Optional["scout_compute_api_BucketedEnumPlot"] = None,
|
|
13178
13222
|
type_of_union: Optional[str] = None
|
|
13179
13223
|
) -> None:
|
|
13180
13224
|
if type_of_union is None:
|
|
13181
|
-
if (range is not None) + (enum_point is not None) + (numeric_point is not None) + (log_point is not None) + (range_value is not None) + (numeric is not None) + (enum is not None) != 1:
|
|
13225
|
+
if (range is not None) + (enum_point is not None) + (numeric_point is not None) + (log_point is not None) + (range_value is not None) + (numeric is not None) + (enum is not None) + (bucketed_numeric is not None) + (bucketed_enum is not None) != 1:
|
|
13182
13226
|
raise ValueError('a union must contain a single member')
|
|
13183
13227
|
|
|
13184
13228
|
if range is not None:
|
|
@@ -13202,6 +13246,12 @@ when accounting for out-of-order points."""
|
|
|
13202
13246
|
if enum is not None:
|
|
13203
13247
|
self._enum = enum
|
|
13204
13248
|
self._type = 'enum'
|
|
13249
|
+
if bucketed_numeric is not None:
|
|
13250
|
+
self._bucketed_numeric = bucketed_numeric
|
|
13251
|
+
self._type = 'bucketedNumeric'
|
|
13252
|
+
if bucketed_enum is not None:
|
|
13253
|
+
self._bucketed_enum = bucketed_enum
|
|
13254
|
+
self._type = 'bucketedEnum'
|
|
13205
13255
|
|
|
13206
13256
|
elif type_of_union == 'range':
|
|
13207
13257
|
if range is None:
|
|
@@ -13238,6 +13288,16 @@ when accounting for out-of-order points."""
|
|
|
13238
13288
|
raise ValueError('a union value must not be None')
|
|
13239
13289
|
self._enum = enum
|
|
13240
13290
|
self._type = 'enum'
|
|
13291
|
+
elif type_of_union == 'bucketedNumeric':
|
|
13292
|
+
if bucketed_numeric is None:
|
|
13293
|
+
raise ValueError('a union value must not be None')
|
|
13294
|
+
self._bucketed_numeric = bucketed_numeric
|
|
13295
|
+
self._type = 'bucketedNumeric'
|
|
13296
|
+
elif type_of_union == 'bucketedEnum':
|
|
13297
|
+
if bucketed_enum is None:
|
|
13298
|
+
raise ValueError('a union value must not be None')
|
|
13299
|
+
self._bucketed_enum = bucketed_enum
|
|
13300
|
+
self._type = 'bucketedEnum'
|
|
13241
13301
|
|
|
13242
13302
|
@builtins.property
|
|
13243
13303
|
def range(self) -> Optional[List["scout_compute_api_Range"]]:
|
|
@@ -13290,6 +13350,24 @@ merging ranges if they are overlap or are adjacent
|
|
|
13290
13350
|
"""
|
|
13291
13351
|
return self._enum
|
|
13292
13352
|
|
|
13353
|
+
@builtins.property
|
|
13354
|
+
def bucketed_numeric(self) -> Optional["scout_compute_api_BucketedNumericPlot"]:
|
|
13355
|
+
"""
|
|
13356
|
+
Merging can be done by dropping any old buckets and adding the new ones. Overlapping buckets are
|
|
13357
|
+
guaranteed to align (same bucket end timestamp) and the older version of the bucket can be replaced
|
|
13358
|
+
with the newer ones.
|
|
13359
|
+
"""
|
|
13360
|
+
return self._bucketed_numeric
|
|
13361
|
+
|
|
13362
|
+
@builtins.property
|
|
13363
|
+
def bucketed_enum(self) -> Optional["scout_compute_api_BucketedEnumPlot"]:
|
|
13364
|
+
"""
|
|
13365
|
+
Merging can be done by dropping any old buckets and adding the new ones. Overlapping buckets are
|
|
13366
|
+
guaranteed to align (same bucket end timestamp) and the older version of the bucket can be replaced
|
|
13367
|
+
with the newer ones.
|
|
13368
|
+
"""
|
|
13369
|
+
return self._bucketed_enum
|
|
13370
|
+
|
|
13293
13371
|
def accept(self, visitor) -> Any:
|
|
13294
13372
|
if not isinstance(visitor, persistent_compute_api_ComputeNodeAppendResponseVisitor):
|
|
13295
13373
|
raise ValueError('{} is not an instance of persistent_compute_api_ComputeNodeAppendResponseVisitor'.format(visitor.__class__.__name__))
|
|
@@ -13307,6 +13385,10 @@ merging ranges if they are overlap or are adjacent
|
|
|
13307
13385
|
return visitor._numeric(self.numeric)
|
|
13308
13386
|
if self._type == 'enum' and self.enum is not None:
|
|
13309
13387
|
return visitor._enum(self.enum)
|
|
13388
|
+
if self._type == 'bucketedNumeric' and self.bucketed_numeric is not None:
|
|
13389
|
+
return visitor._bucketed_numeric(self.bucketed_numeric)
|
|
13390
|
+
if self._type == 'bucketedEnum' and self.bucketed_enum is not None:
|
|
13391
|
+
return visitor._bucketed_enum(self.bucketed_enum)
|
|
13310
13392
|
|
|
13311
13393
|
|
|
13312
13394
|
persistent_compute_api_ComputeNodeAppendResponse.__name__ = "ComputeNodeAppendResponse"
|
|
@@ -13344,6 +13426,14 @@ class persistent_compute_api_ComputeNodeAppendResponseVisitor:
|
|
|
13344
13426
|
def _enum(self, enum: "scout_compute_api_EnumPlot") -> Any:
|
|
13345
13427
|
pass
|
|
13346
13428
|
|
|
13429
|
+
@abstractmethod
|
|
13430
|
+
def _bucketed_numeric(self, bucketed_numeric: "scout_compute_api_BucketedNumericPlot") -> Any:
|
|
13431
|
+
pass
|
|
13432
|
+
|
|
13433
|
+
@abstractmethod
|
|
13434
|
+
def _bucketed_enum(self, bucketed_enum: "scout_compute_api_BucketedEnumPlot") -> Any:
|
|
13435
|
+
pass
|
|
13436
|
+
|
|
13347
13437
|
|
|
13348
13438
|
persistent_compute_api_ComputeNodeAppendResponseVisitor.__name__ = "ComputeNodeAppendResponseVisitor"
|
|
13349
13439
|
persistent_compute_api_ComputeNodeAppendResponseVisitor.__qualname__ = "ComputeNodeAppendResponseVisitor"
|
|
@@ -68606,6 +68696,8 @@ scout_run_api_SearchRunsWithDataReviewSummaryResponse.__module__ = "nominal_api.
|
|
|
68606
68696
|
|
|
68607
68697
|
class scout_run_api_SortField(ConjureEnumType):
|
|
68608
68698
|
|
|
68699
|
+
NAME = 'NAME'
|
|
68700
|
+
'''NAME'''
|
|
68609
68701
|
CREATED_AT = 'CREATED_AT'
|
|
68610
68702
|
'''CREATED_AT'''
|
|
68611
68703
|
START_TIME = 'START_TIME'
|
|
@@ -32,6 +32,7 @@ from .._impl import (
|
|
|
32
32
|
ingest_api_FileExtractionInput as FileExtractionInput,
|
|
33
33
|
ingest_api_FileFilter as FileFilter,
|
|
34
34
|
ingest_api_FileFilterVisitor as FileFilterVisitor,
|
|
35
|
+
ingest_api_FileOutputFormat as FileOutputFormat,
|
|
35
36
|
ingest_api_FileSuffix as FileSuffix,
|
|
36
37
|
ingest_api_GcsIngestSource as GcsIngestSource,
|
|
37
38
|
ingest_api_GetContainerizedExtractorsRequest as GetContainerizedExtractorsRequest,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=vue2FedL4-9qjpOMA8G6W6r6Ei8DNfs_gY1rhoxnR3c,1955
|
|
2
|
+
nominal_api/_impl.py,sha256=4kL9LiSThBNtXBHbpOeDB_sGjpcEplAqjMn4_lB56Yc,3159200
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=1oJPOuAMfV2uClPUW8Ie1nj2Y6j81TDpedcc3yUFTe0,1294
|
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=CAtt44XgNZEEUDv-BbEbYtuxQ8y1wqSZU-STjBYdZv8,80
|
|
@@ -15,7 +15,7 @@ nominal_api/datasource_logset/__init__.py,sha256=H3fNxqyYC490MwvdWbt5BwhgWQUev7u
|
|
|
15
15
|
nominal_api/datasource_logset_api/__init__.py,sha256=JyjO1tQmG-HZ7kYMi8lSfeaaYddBZdCMIyqc0IUJfWo,1006
|
|
16
16
|
nominal_api/datasource_pagination_api/__init__.py,sha256=3GO8TAUavOe6dUEitOhje74aSZHjTKVI5N1MNuct1lI,212
|
|
17
17
|
nominal_api/event/__init__.py,sha256=0RHeL5Kc0IkA5yvhbfu1eKNpCG_GKQ9PwBf8zO1grss,1296
|
|
18
|
-
nominal_api/ingest_api/__init__.py,sha256=
|
|
18
|
+
nominal_api/ingest_api/__init__.py,sha256=pX6SuqdKC9Um0Rko2-EE04LyjOpaN8jAYDezl3LGAPw,7491
|
|
19
19
|
nominal_api/ingest_workflow_api/__init__.py,sha256=Xvz7jXoK5k_zEWzGnMB9EB942T-yCpX3CNHq-rqewlg,2094
|
|
20
20
|
nominal_api/persistent_compute_api/__init__.py,sha256=ThraDBJyYB5nFrbB6FZZpDoVAmsq8GAibiK0nu63MVA,2050
|
|
21
21
|
nominal_api/scout/__init__.py,sha256=ip3XK_9jJKAoFiCifUVMTpDMiUE4mWIdGzMDu7LASus,324
|
|
@@ -72,7 +72,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=Q9iZHurmyDsJIFbUg-Eb
|
|
|
72
72
|
nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
|
|
73
73
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=U9EhlqdF9qzD1O9al0vcvcdgS_C5lq-lN3Kmr0K3g84,1191
|
|
74
74
|
nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
|
|
75
|
-
nominal_api-0.
|
|
76
|
-
nominal_api-0.
|
|
77
|
-
nominal_api-0.
|
|
78
|
-
nominal_api-0.
|
|
75
|
+
nominal_api-0.680.0.dist-info/METADATA,sha256=kGHIUf3mFgsoAu1fcFFto8SdwPkGnEIRd7jfSEektmc,199
|
|
76
|
+
nominal_api-0.680.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
77
|
+
nominal_api-0.680.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
78
|
+
nominal_api-0.680.0.dist-info/RECORD,,
|
|
File without changes
|