nominal-api 0.754.0__py3-none-any.whl → 0.755.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 CHANGED
@@ -77,5 +77,5 @@ __all__ = [
77
77
 
78
78
  __conjure_generator_version__ = "4.17.0"
79
79
 
80
- __version__ = "0.754.0"
80
+ __version__ = "0.755.0"
81
81
 
nominal_api/_impl.py CHANGED
@@ -37464,6 +37464,31 @@ scout_compute_api_ArithmeticSeries.__qualname__ = "ArithmeticSeries"
37464
37464
  scout_compute_api_ArithmeticSeries.__module__ = "nominal_api.scout_compute_api"
37465
37465
 
37466
37466
 
37467
+ class scout_compute_api_ArrowBucketedEnumPlot(ConjureBeanType):
37468
+
37469
+ @builtins.classmethod
37470
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
37471
+ return {
37472
+ 'arrow_binary': ConjureFieldDefinition('arrowBinary', BinaryType)
37473
+ }
37474
+
37475
+ __slots__: List[str] = ['_arrow_binary']
37476
+
37477
+ def __init__(self, arrow_binary: Any) -> None:
37478
+ self._arrow_binary = arrow_binary
37479
+
37480
+ @builtins.property
37481
+ def arrow_binary(self) -> Any:
37482
+ """The raw binary containing Arrow IPC stream for BucketedEnumPlot
37483
+ """
37484
+ return self._arrow_binary
37485
+
37486
+
37487
+ scout_compute_api_ArrowBucketedEnumPlot.__name__ = "ArrowBucketedEnumPlot"
37488
+ scout_compute_api_ArrowBucketedEnumPlot.__qualname__ = "ArrowBucketedEnumPlot"
37489
+ scout_compute_api_ArrowBucketedEnumPlot.__module__ = "nominal_api.scout_compute_api"
37490
+
37491
+
37467
37492
  class scout_compute_api_ArrowBucketedNumericPlot(ConjureBeanType):
37468
37493
 
37469
37494
  @builtins.classmethod
@@ -37489,6 +37514,31 @@ scout_compute_api_ArrowBucketedNumericPlot.__qualname__ = "ArrowBucketedNumericP
37489
37514
  scout_compute_api_ArrowBucketedNumericPlot.__module__ = "nominal_api.scout_compute_api"
37490
37515
 
37491
37516
 
37517
+ class scout_compute_api_ArrowEnumPlot(ConjureBeanType):
37518
+
37519
+ @builtins.classmethod
37520
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
37521
+ return {
37522
+ 'arrow_binary': ConjureFieldDefinition('arrowBinary', BinaryType)
37523
+ }
37524
+
37525
+ __slots__: List[str] = ['_arrow_binary']
37526
+
37527
+ def __init__(self, arrow_binary: Any) -> None:
37528
+ self._arrow_binary = arrow_binary
37529
+
37530
+ @builtins.property
37531
+ def arrow_binary(self) -> Any:
37532
+ """The raw binary containing Arrow IPC stream for EnumPlot
37533
+ """
37534
+ return self._arrow_binary
37535
+
37536
+
37537
+ scout_compute_api_ArrowEnumPlot.__name__ = "ArrowEnumPlot"
37538
+ scout_compute_api_ArrowEnumPlot.__qualname__ = "ArrowEnumPlot"
37539
+ scout_compute_api_ArrowEnumPlot.__module__ = "nominal_api.scout_compute_api"
37540
+
37541
+
37492
37542
  class scout_compute_api_ArrowNumericPlot(ConjureBeanType):
37493
37543
 
37494
37544
  @builtins.classmethod
@@ -39416,6 +39466,8 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
39416
39466
  _enum: Optional["scout_compute_api_EnumPlot"] = None
39417
39467
  _enum_point: Optional[Optional["scout_compute_api_EnumPoint"]] = None
39418
39468
  _bucketed_enum: Optional["scout_compute_api_BucketedEnumPlot"] = None
39469
+ _arrow_enum: Optional["scout_compute_api_ArrowEnumPlot"] = None
39470
+ _arrow_bucketed_enum: Optional["scout_compute_api_ArrowBucketedEnumPlot"] = None
39419
39471
  _paged_log: Optional["scout_compute_api_PagedLogPlot"] = None
39420
39472
  _log_point: Optional[Optional["scout_compute_api_LogPoint"]] = None
39421
39473
  _cartesian: Optional["scout_compute_api_CartesianPlot"] = None
@@ -39442,6 +39494,8 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
39442
39494
  'enum': ConjureFieldDefinition('enum', scout_compute_api_EnumPlot),
39443
39495
  'enum_point': ConjureFieldDefinition('enumPoint', OptionalTypeWrapper[scout_compute_api_EnumPoint]),
39444
39496
  'bucketed_enum': ConjureFieldDefinition('bucketedEnum', scout_compute_api_BucketedEnumPlot),
39497
+ 'arrow_enum': ConjureFieldDefinition('arrowEnum', scout_compute_api_ArrowEnumPlot),
39498
+ 'arrow_bucketed_enum': ConjureFieldDefinition('arrowBucketedEnum', scout_compute_api_ArrowBucketedEnumPlot),
39445
39499
  'paged_log': ConjureFieldDefinition('pagedLog', scout_compute_api_PagedLogPlot),
39446
39500
  'log_point': ConjureFieldDefinition('logPoint', OptionalTypeWrapper[scout_compute_api_LogPoint]),
39447
39501
  'cartesian': ConjureFieldDefinition('cartesian', scout_compute_api_CartesianPlot),
@@ -39468,6 +39522,8 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
39468
39522
  enum: Optional["scout_compute_api_EnumPlot"] = None,
39469
39523
  enum_point: Optional[Optional["scout_compute_api_EnumPoint"]] = None,
39470
39524
  bucketed_enum: Optional["scout_compute_api_BucketedEnumPlot"] = None,
39525
+ arrow_enum: Optional["scout_compute_api_ArrowEnumPlot"] = None,
39526
+ arrow_bucketed_enum: Optional["scout_compute_api_ArrowBucketedEnumPlot"] = None,
39471
39527
  paged_log: Optional["scout_compute_api_PagedLogPlot"] = None,
39472
39528
  log_point: Optional[Optional["scout_compute_api_LogPoint"]] = None,
39473
39529
  cartesian: Optional["scout_compute_api_CartesianPlot"] = None,
@@ -39482,7 +39538,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
39482
39538
  type_of_union: Optional[str] = None
39483
39539
  ) -> None:
39484
39540
  if type_of_union is None:
39485
- if (range is not None) + (ranges_summary is not None) + (range_value is not None) + (numeric is not None) + (bucketed_numeric is not None) + (numeric_point is not None) + (arrow_numeric is not None) + (arrow_bucketed_numeric is not None) + (enum is not None) + (enum_point is not None) + (bucketed_enum is not None) + (paged_log is not None) + (log_point is not None) + (cartesian is not None) + (bucketed_cartesian is not None) + (bucketed_cartesian3d is not None) + (bucketed_geo is not None) + (frequency_domain is not None) + (numeric_histogram is not None) + (enum_histogram is not None) + (curve_fit is not None) + (grouped is not None) != 1:
39541
+ if (range is not None) + (ranges_summary is not None) + (range_value is not None) + (numeric is not None) + (bucketed_numeric is not None) + (numeric_point is not None) + (arrow_numeric is not None) + (arrow_bucketed_numeric is not None) + (enum is not None) + (enum_point is not None) + (bucketed_enum is not None) + (arrow_enum is not None) + (arrow_bucketed_enum is not None) + (paged_log is not None) + (log_point is not None) + (cartesian is not None) + (bucketed_cartesian is not None) + (bucketed_cartesian3d is not None) + (bucketed_geo is not None) + (frequency_domain is not None) + (numeric_histogram is not None) + (enum_histogram is not None) + (curve_fit is not None) + (grouped is not None) != 1:
39486
39542
  raise ValueError('a union must contain a single member')
39487
39543
 
39488
39544
  if range is not None:
@@ -39518,6 +39574,12 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
39518
39574
  if bucketed_enum is not None:
39519
39575
  self._bucketed_enum = bucketed_enum
39520
39576
  self._type = 'bucketedEnum'
39577
+ if arrow_enum is not None:
39578
+ self._arrow_enum = arrow_enum
39579
+ self._type = 'arrowEnum'
39580
+ if arrow_bucketed_enum is not None:
39581
+ self._arrow_bucketed_enum = arrow_bucketed_enum
39582
+ self._type = 'arrowBucketedEnum'
39521
39583
  if paged_log is not None:
39522
39584
  self._paged_log = paged_log
39523
39585
  self._type = 'pagedLog'
@@ -39607,6 +39669,16 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
39607
39669
  raise ValueError('a union value must not be None')
39608
39670
  self._bucketed_enum = bucketed_enum
39609
39671
  self._type = 'bucketedEnum'
39672
+ elif type_of_union == 'arrowEnum':
39673
+ if arrow_enum is None:
39674
+ raise ValueError('a union value must not be None')
39675
+ self._arrow_enum = arrow_enum
39676
+ self._type = 'arrowEnum'
39677
+ elif type_of_union == 'arrowBucketedEnum':
39678
+ if arrow_bucketed_enum is None:
39679
+ raise ValueError('a union value must not be None')
39680
+ self._arrow_bucketed_enum = arrow_bucketed_enum
39681
+ self._type = 'arrowBucketedEnum'
39610
39682
  elif type_of_union == 'pagedLog':
39611
39683
  if paged_log is None:
39612
39684
  raise ValueError('a union value must not be None')
@@ -39707,6 +39779,14 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
39707
39779
  def bucketed_enum(self) -> Optional["scout_compute_api_BucketedEnumPlot"]:
39708
39780
  return self._bucketed_enum
39709
39781
 
39782
+ @builtins.property
39783
+ def arrow_enum(self) -> Optional["scout_compute_api_ArrowEnumPlot"]:
39784
+ return self._arrow_enum
39785
+
39786
+ @builtins.property
39787
+ def arrow_bucketed_enum(self) -> Optional["scout_compute_api_ArrowBucketedEnumPlot"]:
39788
+ return self._arrow_bucketed_enum
39789
+
39710
39790
  @builtins.property
39711
39791
  def paged_log(self) -> Optional["scout_compute_api_PagedLogPlot"]:
39712
39792
  return self._paged_log
@@ -39776,6 +39856,10 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
39776
39856
  return visitor._enum_point(self.enum_point)
39777
39857
  if self._type == 'bucketedEnum' and self.bucketed_enum is not None:
39778
39858
  return visitor._bucketed_enum(self.bucketed_enum)
39859
+ if self._type == 'arrowEnum' and self.arrow_enum is not None:
39860
+ return visitor._arrow_enum(self.arrow_enum)
39861
+ if self._type == 'arrowBucketedEnum' and self.arrow_bucketed_enum is not None:
39862
+ return visitor._arrow_bucketed_enum(self.arrow_bucketed_enum)
39779
39863
  if self._type == 'pagedLog' and self.paged_log is not None:
39780
39864
  return visitor._paged_log(self.paged_log)
39781
39865
  if self._type == 'logPoint' and self.log_point is not None:
@@ -39851,6 +39935,14 @@ class scout_compute_api_ComputeNodeResponseVisitor:
39851
39935
  def _bucketed_enum(self, bucketed_enum: "scout_compute_api_BucketedEnumPlot") -> Any:
39852
39936
  pass
39853
39937
 
39938
+ @abstractmethod
39939
+ def _arrow_enum(self, arrow_enum: "scout_compute_api_ArrowEnumPlot") -> Any:
39940
+ pass
39941
+
39942
+ @abstractmethod
39943
+ def _arrow_bucketed_enum(self, arrow_bucketed_enum: "scout_compute_api_ArrowBucketedEnumPlot") -> Any:
39944
+ pass
39945
+
39854
39946
  @abstractmethod
39855
39947
  def _paged_log(self, paged_log: "scout_compute_api_PagedLogPlot") -> Any:
39856
39948
  pass
@@ -9,7 +9,9 @@ from .._impl import (
9
9
  scout_compute_api_ApproximateThresholdOperator as ApproximateThresholdOperator,
10
10
  scout_compute_api_ApproximateThresholdRanges as ApproximateThresholdRanges,
11
11
  scout_compute_api_ArithmeticSeries as ArithmeticSeries,
12
+ scout_compute_api_ArrowBucketedEnumPlot as ArrowBucketedEnumPlot,
12
13
  scout_compute_api_ArrowBucketedNumericPlot as ArrowBucketedNumericPlot,
14
+ scout_compute_api_ArrowEnumPlot as ArrowEnumPlot,
13
15
  scout_compute_api_ArrowNumericPlot as ArrowNumericPlot,
14
16
  scout_compute_api_AssetChannel as AssetChannel,
15
17
  scout_compute_api_Average as Average,
@@ -342,7 +344,9 @@ __all__ = [
342
344
  'ApproximateThresholdOperator',
343
345
  'ApproximateThresholdRanges',
344
346
  'ArithmeticSeries',
347
+ 'ArrowBucketedEnumPlot',
345
348
  'ArrowBucketedNumericPlot',
349
+ 'ArrowEnumPlot',
346
350
  'ArrowNumericPlot',
347
351
  'AssetChannel',
348
352
  'Average',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api
3
- Version: 0.754.0
3
+ Version: 0.755.0
4
4
  Requires-Python: >=3.8
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: conjure-python-client<4,>=2.8.0
@@ -1,5 +1,5 @@
1
- nominal_api/__init__.py,sha256=hK5YYOifJxipIzS7HKjIwN5LegUQBF04cNFLRg55izc,1989
2
- nominal_api/_impl.py,sha256=W4hCUY00tA1q9RmqIS7PChGnUR1j8D3lvm2gmk61-lE,3404842
1
+ nominal_api/__init__.py,sha256=HJwX0iOtfu3PPrx-h_Op4w6ugJf8rFHKsBvPOYcsN80,1989
2
+ nominal_api/_impl.py,sha256=Gqwjju8hr57fZCrQLrtn_NpzeCAts4p3xacLz258_G0,3408629
3
3
  nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
4
4
  nominal_api/api/__init__.py,sha256=PMREKP7UhxJ1_gHkrlJET46qlDHksKMm6-woR1p6WnU,1970
5
5
  nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
@@ -32,7 +32,7 @@ nominal_api/scout_checklistexecution_api/__init__.py,sha256=iVeUjPTlbpQ3vlQkQjHr
32
32
  nominal_api/scout_checks_api/__init__.py,sha256=sxTv9ZL2rnXCaR7wVRNafqIPIzBbIPDGiJdYAr-VSV0,7317
33
33
  nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=RpTvc8WqNxOuDSXWs-xV3MSSFIoIy8Fj3eaIDCVygvU,6215
34
34
  nominal_api/scout_comparisonrun_api/__init__.py,sha256=y5SlDoXvskyTKjg2O8o3cBhGSN-KA7iVlVjyy3vb3Co,652
35
- nominal_api/scout_compute_api/__init__.py,sha256=4ny8oqPQRJOp9RSNTHVB2mgmAMihasntrphVFeYlBco,29887
35
+ nominal_api/scout_compute_api/__init__.py,sha256=T6gyia3pVW1wVWkcKoN9_M04TZIkG4SveUBUa-yNS6c,30061
36
36
  nominal_api/scout_compute_api_deprecated/__init__.py,sha256=JrZKbt1ulYECTdUSkXn6On22Alu_cPUBjCRWTN3ctxk,5041
37
37
  nominal_api/scout_compute_resolved_api/__init__.py,sha256=BW4jT78H0_xrK1BP6anvZQxTNUE6Xv_pAIinJup7eWY,16090
38
38
  nominal_api/scout_dataexport_api/__init__.py,sha256=CF2vuo8kUXLJ4B7w95STrU0UMoBGuziacH5Eo3uxYf4,2068
@@ -74,7 +74,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
74
74
  nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
75
75
  nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
76
76
  nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
77
- nominal_api-0.754.0.dist-info/METADATA,sha256=EXK17rCXOjYJMbLT96nYu0W8WDJbBTJsbiohDXDbNus,199
78
- nominal_api-0.754.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
- nominal_api-0.754.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
80
- nominal_api-0.754.0.dist-info/RECORD,,
77
+ nominal_api-0.755.0.dist-info/METADATA,sha256=gg-qw-J4g2U17ge0ECHp4UK_H37jLudaHWr_3UVngWU,199
78
+ nominal_api-0.755.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
+ nominal_api-0.755.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
80
+ nominal_api-0.755.0.dist-info/RECORD,,