nominal-api 0.840.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 +99 -3
- {nominal_api-0.840.0.dist-info → nominal_api-0.841.0.dist-info}/METADATA +1 -1
- {nominal_api-0.840.0.dist-info → nominal_api-0.841.0.dist-info}/RECORD +6 -6
- {nominal_api-0.840.0.dist-info → nominal_api-0.841.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.840.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
@@ -17277,6 +17277,10 @@ when accounting for out-of-order points.
|
|
17277
17277
|
_enum: Optional["scout_compute_api_EnumPlot"] = None
|
17278
17278
|
_bucketed_numeric: Optional["scout_compute_api_BucketedNumericPlot"] = None
|
17279
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
|
17280
17284
|
_grouped: Optional["persistent_compute_api_GroupedComputeNodeAppendResponses"] = None
|
17281
17285
|
|
17282
17286
|
@builtins.classmethod
|
@@ -17291,6 +17295,10 @@ when accounting for out-of-order points.
|
|
17291
17295
|
'enum': ConjureFieldDefinition('enum', scout_compute_api_EnumPlot),
|
17292
17296
|
'bucketed_numeric': ConjureFieldDefinition('bucketedNumeric', scout_compute_api_BucketedNumericPlot),
|
17293
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),
|
17294
17302
|
'grouped': ConjureFieldDefinition('grouped', persistent_compute_api_GroupedComputeNodeAppendResponses)
|
17295
17303
|
}
|
17296
17304
|
|
@@ -17305,11 +17313,15 @@ when accounting for out-of-order points.
|
|
17305
17313
|
enum: Optional["scout_compute_api_EnumPlot"] = None,
|
17306
17314
|
bucketed_numeric: Optional["scout_compute_api_BucketedNumericPlot"] = None,
|
17307
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,
|
17308
17320
|
grouped: Optional["persistent_compute_api_GroupedComputeNodeAppendResponses"] = None,
|
17309
17321
|
type_of_union: Optional[str] = None
|
17310
17322
|
) -> None:
|
17311
17323
|
if type_of_union is None:
|
17312
|
-
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:
|
17313
17325
|
raise ValueError('a union must contain a single member')
|
17314
17326
|
|
17315
17327
|
if range is not None:
|
@@ -17339,6 +17351,18 @@ when accounting for out-of-order points.
|
|
17339
17351
|
if bucketed_enum is not None:
|
17340
17352
|
self._bucketed_enum = bucketed_enum
|
17341
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'
|
17342
17366
|
if grouped is not None:
|
17343
17367
|
self._grouped = grouped
|
17344
17368
|
self._type = 'grouped'
|
@@ -17388,6 +17412,26 @@ when accounting for out-of-order points.
|
|
17388
17412
|
raise ValueError('a union value must not be None')
|
17389
17413
|
self._bucketed_enum = bucketed_enum
|
17390
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'
|
17391
17435
|
elif type_of_union == 'grouped':
|
17392
17436
|
if grouped is None:
|
17393
17437
|
raise ValueError('a union value must not be None')
|
@@ -17428,13 +17472,13 @@ merging ranges if they are overlap or are adjacent
|
|
17428
17472
|
|
17429
17473
|
@builtins.property
|
17430
17474
|
def numeric(self) -> Optional["scout_compute_api_NumericPlot"]:
|
17431
|
-
"""Merging
|
17475
|
+
"""Merging can be done by dropping any old points and adding the new ones, accounting for overlaps
|
17432
17476
|
"""
|
17433
17477
|
return self._numeric
|
17434
17478
|
|
17435
17479
|
@builtins.property
|
17436
17480
|
def enum(self) -> Optional["scout_compute_api_EnumPlot"]:
|
17437
|
-
"""Merging
|
17481
|
+
"""Merging can be done by dropping any old points and adding the new ones, accounting for overlaps
|
17438
17482
|
"""
|
17439
17483
|
return self._enum
|
17440
17484
|
|
@@ -17454,6 +17498,34 @@ with the newer ones.
|
|
17454
17498
|
"""
|
17455
17499
|
return self._bucketed_enum
|
17456
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
|
+
|
17457
17529
|
@builtins.property
|
17458
17530
|
def grouped(self) -> Optional["persistent_compute_api_GroupedComputeNodeAppendResponses"]:
|
17459
17531
|
"""Appends can be done by doing an append individually for each contained `ComputeNodeAppendResponse`.
|
@@ -17481,6 +17553,14 @@ with the newer ones.
|
|
17481
17553
|
return visitor._bucketed_numeric(self.bucketed_numeric)
|
17482
17554
|
if self._type == 'bucketedEnum' and self.bucketed_enum is not None:
|
17483
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)
|
17484
17564
|
if self._type == 'grouped' and self.grouped is not None:
|
17485
17565
|
return visitor._grouped(self.grouped)
|
17486
17566
|
|
@@ -17528,6 +17608,22 @@ class persistent_compute_api_ComputeNodeAppendResponseVisitor:
|
|
17528
17608
|
def _bucketed_enum(self, bucketed_enum: "scout_compute_api_BucketedEnumPlot") -> Any:
|
17529
17609
|
pass
|
17530
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
|
+
|
17531
17627
|
@abstractmethod
|
17532
17628
|
def _grouped(self, grouped: "persistent_compute_api_GroupedComputeNodeAppendResponses") -> Any:
|
17533
17629
|
pass
|
@@ -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
|