nominal-api 0.839.0__py3-none-any.whl → 0.841.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.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +103 -3
- {nominal_api-0.839.0.dist-info → nominal_api-0.841.0.dist-info}/METADATA +1 -1
- {nominal_api-0.839.0.dist-info → nominal_api-0.841.0.dist-info}/RECORD +6 -6
- {nominal_api-0.839.0.dist-info → nominal_api-0.841.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.839.0.dist-info → nominal_api-0.841.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
@@ -548,6 +548,8 @@ class api_SeriesDataType(ConjureEnumType):
|
|
548
548
|
'''LOG'''
|
549
549
|
INT = 'INT'
|
550
550
|
'''INT'''
|
551
|
+
UINT = 'UINT'
|
552
|
+
'''UINT'''
|
551
553
|
DOUBLE_ARRAY = 'DOUBLE_ARRAY'
|
552
554
|
'''DOUBLE_ARRAY'''
|
553
555
|
STRING_ARRAY = 'STRING_ARRAY'
|
@@ -17275,6 +17277,10 @@ when accounting for out-of-order points.
|
|
17275
17277
|
_enum: Optional["scout_compute_api_EnumPlot"] = None
|
17276
17278
|
_bucketed_numeric: Optional["scout_compute_api_BucketedNumericPlot"] = None
|
17277
17279
|
_bucketed_enum: Optional["scout_compute_api_BucketedEnumPlot"] = None
|
17280
|
+
_arrow_numeric: Optional["scout_compute_api_ArrowNumericPlot"] = None
|
17281
|
+
_arrow_enum: Optional["scout_compute_api_ArrowEnumPlot"] = None
|
17282
|
+
_arrow_bucketed_numeric: Optional["scout_compute_api_ArrowBucketedNumericPlot"] = None
|
17283
|
+
_arrow_bucketed_enum: Optional["scout_compute_api_ArrowBucketedEnumPlot"] = None
|
17278
17284
|
_grouped: Optional["persistent_compute_api_GroupedComputeNodeAppendResponses"] = None
|
17279
17285
|
|
17280
17286
|
@builtins.classmethod
|
@@ -17289,6 +17295,10 @@ when accounting for out-of-order points.
|
|
17289
17295
|
'enum': ConjureFieldDefinition('enum', scout_compute_api_EnumPlot),
|
17290
17296
|
'bucketed_numeric': ConjureFieldDefinition('bucketedNumeric', scout_compute_api_BucketedNumericPlot),
|
17291
17297
|
'bucketed_enum': ConjureFieldDefinition('bucketedEnum', scout_compute_api_BucketedEnumPlot),
|
17298
|
+
'arrow_numeric': ConjureFieldDefinition('arrowNumeric', scout_compute_api_ArrowNumericPlot),
|
17299
|
+
'arrow_enum': ConjureFieldDefinition('arrowEnum', scout_compute_api_ArrowEnumPlot),
|
17300
|
+
'arrow_bucketed_numeric': ConjureFieldDefinition('arrowBucketedNumeric', scout_compute_api_ArrowBucketedNumericPlot),
|
17301
|
+
'arrow_bucketed_enum': ConjureFieldDefinition('arrowBucketedEnum', scout_compute_api_ArrowBucketedEnumPlot),
|
17292
17302
|
'grouped': ConjureFieldDefinition('grouped', persistent_compute_api_GroupedComputeNodeAppendResponses)
|
17293
17303
|
}
|
17294
17304
|
|
@@ -17303,11 +17313,15 @@ when accounting for out-of-order points.
|
|
17303
17313
|
enum: Optional["scout_compute_api_EnumPlot"] = None,
|
17304
17314
|
bucketed_numeric: Optional["scout_compute_api_BucketedNumericPlot"] = None,
|
17305
17315
|
bucketed_enum: Optional["scout_compute_api_BucketedEnumPlot"] = None,
|
17316
|
+
arrow_numeric: Optional["scout_compute_api_ArrowNumericPlot"] = None,
|
17317
|
+
arrow_enum: Optional["scout_compute_api_ArrowEnumPlot"] = None,
|
17318
|
+
arrow_bucketed_numeric: Optional["scout_compute_api_ArrowBucketedNumericPlot"] = None,
|
17319
|
+
arrow_bucketed_enum: Optional["scout_compute_api_ArrowBucketedEnumPlot"] = None,
|
17306
17320
|
grouped: Optional["persistent_compute_api_GroupedComputeNodeAppendResponses"] = None,
|
17307
17321
|
type_of_union: Optional[str] = None
|
17308
17322
|
) -> None:
|
17309
17323
|
if type_of_union is None:
|
17310
|
-
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) + (grouped is not None) != 1:
|
17324
|
+
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) + (arrow_numeric is not None) + (arrow_enum is not None) + (arrow_bucketed_numeric is not None) + (arrow_bucketed_enum is not None) + (grouped is not None) != 1:
|
17311
17325
|
raise ValueError('a union must contain a single member')
|
17312
17326
|
|
17313
17327
|
if range is not None:
|
@@ -17337,6 +17351,18 @@ when accounting for out-of-order points.
|
|
17337
17351
|
if bucketed_enum is not None:
|
17338
17352
|
self._bucketed_enum = bucketed_enum
|
17339
17353
|
self._type = 'bucketedEnum'
|
17354
|
+
if arrow_numeric is not None:
|
17355
|
+
self._arrow_numeric = arrow_numeric
|
17356
|
+
self._type = 'arrowNumeric'
|
17357
|
+
if arrow_enum is not None:
|
17358
|
+
self._arrow_enum = arrow_enum
|
17359
|
+
self._type = 'arrowEnum'
|
17360
|
+
if arrow_bucketed_numeric is not None:
|
17361
|
+
self._arrow_bucketed_numeric = arrow_bucketed_numeric
|
17362
|
+
self._type = 'arrowBucketedNumeric'
|
17363
|
+
if arrow_bucketed_enum is not None:
|
17364
|
+
self._arrow_bucketed_enum = arrow_bucketed_enum
|
17365
|
+
self._type = 'arrowBucketedEnum'
|
17340
17366
|
if grouped is not None:
|
17341
17367
|
self._grouped = grouped
|
17342
17368
|
self._type = 'grouped'
|
@@ -17386,6 +17412,26 @@ when accounting for out-of-order points.
|
|
17386
17412
|
raise ValueError('a union value must not be None')
|
17387
17413
|
self._bucketed_enum = bucketed_enum
|
17388
17414
|
self._type = 'bucketedEnum'
|
17415
|
+
elif type_of_union == 'arrowNumeric':
|
17416
|
+
if arrow_numeric is None:
|
17417
|
+
raise ValueError('a union value must not be None')
|
17418
|
+
self._arrow_numeric = arrow_numeric
|
17419
|
+
self._type = 'arrowNumeric'
|
17420
|
+
elif type_of_union == 'arrowEnum':
|
17421
|
+
if arrow_enum is None:
|
17422
|
+
raise ValueError('a union value must not be None')
|
17423
|
+
self._arrow_enum = arrow_enum
|
17424
|
+
self._type = 'arrowEnum'
|
17425
|
+
elif type_of_union == 'arrowBucketedNumeric':
|
17426
|
+
if arrow_bucketed_numeric is None:
|
17427
|
+
raise ValueError('a union value must not be None')
|
17428
|
+
self._arrow_bucketed_numeric = arrow_bucketed_numeric
|
17429
|
+
self._type = 'arrowBucketedNumeric'
|
17430
|
+
elif type_of_union == 'arrowBucketedEnum':
|
17431
|
+
if arrow_bucketed_enum is None:
|
17432
|
+
raise ValueError('a union value must not be None')
|
17433
|
+
self._arrow_bucketed_enum = arrow_bucketed_enum
|
17434
|
+
self._type = 'arrowBucketedEnum'
|
17389
17435
|
elif type_of_union == 'grouped':
|
17390
17436
|
if grouped is None:
|
17391
17437
|
raise ValueError('a union value must not be None')
|
@@ -17426,13 +17472,13 @@ merging ranges if they are overlap or are adjacent
|
|
17426
17472
|
|
17427
17473
|
@builtins.property
|
17428
17474
|
def numeric(self) -> Optional["scout_compute_api_NumericPlot"]:
|
17429
|
-
"""Merging
|
17475
|
+
"""Merging can be done by dropping any old points and adding the new ones, accounting for overlaps
|
17430
17476
|
"""
|
17431
17477
|
return self._numeric
|
17432
17478
|
|
17433
17479
|
@builtins.property
|
17434
17480
|
def enum(self) -> Optional["scout_compute_api_EnumPlot"]:
|
17435
|
-
"""Merging
|
17481
|
+
"""Merging can be done by dropping any old points and adding the new ones, accounting for overlaps
|
17436
17482
|
"""
|
17437
17483
|
return self._enum
|
17438
17484
|
|
@@ -17452,6 +17498,34 @@ with the newer ones.
|
|
17452
17498
|
"""
|
17453
17499
|
return self._bucketed_enum
|
17454
17500
|
|
17501
|
+
@builtins.property
|
17502
|
+
def arrow_numeric(self) -> Optional["scout_compute_api_ArrowNumericPlot"]:
|
17503
|
+
"""Merging can be done by dropping any old points and adding the new ones, accounting for overlaps
|
17504
|
+
"""
|
17505
|
+
return self._arrow_numeric
|
17506
|
+
|
17507
|
+
@builtins.property
|
17508
|
+
def arrow_enum(self) -> Optional["scout_compute_api_ArrowEnumPlot"]:
|
17509
|
+
"""Merging can be done by dropping any old points and adding the new ones, accounting for overlaps
|
17510
|
+
"""
|
17511
|
+
return self._arrow_enum
|
17512
|
+
|
17513
|
+
@builtins.property
|
17514
|
+
def arrow_bucketed_numeric(self) -> Optional["scout_compute_api_ArrowBucketedNumericPlot"]:
|
17515
|
+
"""Merging can be done by dropping any old buckets and adding the new ones. Overlapping buckets are
|
17516
|
+
guaranteed to align (same bucket end timestamp) and the older version of the bucket can be replaced
|
17517
|
+
with the newer ones.
|
17518
|
+
"""
|
17519
|
+
return self._arrow_bucketed_numeric
|
17520
|
+
|
17521
|
+
@builtins.property
|
17522
|
+
def arrow_bucketed_enum(self) -> Optional["scout_compute_api_ArrowBucketedEnumPlot"]:
|
17523
|
+
"""Merging can be done by dropping any old buckets and adding the new ones. Overlapping buckets are
|
17524
|
+
guaranteed to align (same bucket end timestamp) and the older version of the bucket can be replaced
|
17525
|
+
with the newer ones.
|
17526
|
+
"""
|
17527
|
+
return self._arrow_bucketed_enum
|
17528
|
+
|
17455
17529
|
@builtins.property
|
17456
17530
|
def grouped(self) -> Optional["persistent_compute_api_GroupedComputeNodeAppendResponses"]:
|
17457
17531
|
"""Appends can be done by doing an append individually for each contained `ComputeNodeAppendResponse`.
|
@@ -17479,6 +17553,14 @@ with the newer ones.
|
|
17479
17553
|
return visitor._bucketed_numeric(self.bucketed_numeric)
|
17480
17554
|
if self._type == 'bucketedEnum' and self.bucketed_enum is not None:
|
17481
17555
|
return visitor._bucketed_enum(self.bucketed_enum)
|
17556
|
+
if self._type == 'arrowNumeric' and self.arrow_numeric is not None:
|
17557
|
+
return visitor._arrow_numeric(self.arrow_numeric)
|
17558
|
+
if self._type == 'arrowEnum' and self.arrow_enum is not None:
|
17559
|
+
return visitor._arrow_enum(self.arrow_enum)
|
17560
|
+
if self._type == 'arrowBucketedNumeric' and self.arrow_bucketed_numeric is not None:
|
17561
|
+
return visitor._arrow_bucketed_numeric(self.arrow_bucketed_numeric)
|
17562
|
+
if self._type == 'arrowBucketedEnum' and self.arrow_bucketed_enum is not None:
|
17563
|
+
return visitor._arrow_bucketed_enum(self.arrow_bucketed_enum)
|
17482
17564
|
if self._type == 'grouped' and self.grouped is not None:
|
17483
17565
|
return visitor._grouped(self.grouped)
|
17484
17566
|
|
@@ -17526,6 +17608,22 @@ class persistent_compute_api_ComputeNodeAppendResponseVisitor:
|
|
17526
17608
|
def _bucketed_enum(self, bucketed_enum: "scout_compute_api_BucketedEnumPlot") -> Any:
|
17527
17609
|
pass
|
17528
17610
|
|
17611
|
+
@abstractmethod
|
17612
|
+
def _arrow_numeric(self, arrow_numeric: "scout_compute_api_ArrowNumericPlot") -> Any:
|
17613
|
+
pass
|
17614
|
+
|
17615
|
+
@abstractmethod
|
17616
|
+
def _arrow_enum(self, arrow_enum: "scout_compute_api_ArrowEnumPlot") -> Any:
|
17617
|
+
pass
|
17618
|
+
|
17619
|
+
@abstractmethod
|
17620
|
+
def _arrow_bucketed_numeric(self, arrow_bucketed_numeric: "scout_compute_api_ArrowBucketedNumericPlot") -> Any:
|
17621
|
+
pass
|
17622
|
+
|
17623
|
+
@abstractmethod
|
17624
|
+
def _arrow_bucketed_enum(self, arrow_bucketed_enum: "scout_compute_api_ArrowBucketedEnumPlot") -> Any:
|
17625
|
+
pass
|
17626
|
+
|
17529
17627
|
@abstractmethod
|
17530
17628
|
def _grouped(self, grouped: "persistent_compute_api_GroupedComputeNodeAppendResponses") -> Any:
|
17531
17629
|
pass
|
@@ -86855,6 +86953,8 @@ class storage_series_api_NominalDataType(ConjureEnumType):
|
|
86855
86953
|
'''LOG'''
|
86856
86954
|
INT64 = 'INT64'
|
86857
86955
|
'''INT64'''
|
86956
|
+
UINT64 = 'UINT64'
|
86957
|
+
'''UINT64'''
|
86858
86958
|
DOUBLE_ARRAY = 'DOUBLE_ARRAY'
|
86859
86959
|
'''DOUBLE_ARRAY'''
|
86860
86960
|
STRING_ARRAY = 'STRING_ARRAY'
|
@@ -1,5 +1,5 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
1
|
+
nominal_api/__init__.py,sha256=1pos7MPXzxnhaRDXr9VH8IVQlfTgc2pgrgoEvfamaJk,2064
|
2
|
+
nominal_api/_impl.py,sha256=U1Zki_8fHUZ15c4gVzl-5W2IYal8zytwYNRe0W4sfjo,3670150
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
4
4
|
nominal_api/api/__init__.py,sha256=ZiGjcYwIBCrZR5pPqyqX2ggRJmVcSlOCazMtF2xCZzw,2171
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
@@ -77,7 +77,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
|
|
77
77
|
nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
|
78
78
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
|
79
79
|
nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
|
80
|
-
nominal_api-0.
|
81
|
-
nominal_api-0.
|
82
|
-
nominal_api-0.
|
83
|
-
nominal_api-0.
|
80
|
+
nominal_api-0.841.0.dist-info/METADATA,sha256=7N0O-bFARkxgya32yX8_KsnF-8vLHBOAdamE8uJiKGE,199
|
81
|
+
nominal_api-0.841.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
82
|
+
nominal_api-0.841.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
83
|
+
nominal_api-0.841.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|