nominal-api 0.764.0__py3-none-any.whl → 0.766.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 +490 -7
- nominal_api/scout_compute_api/__init__.py +16 -0
- nominal_api/scout_compute_resolved_api/__init__.py +4 -0
- {nominal_api-0.764.0.dist-info → nominal_api-0.766.0.dist-info}/METADATA +1 -1
- {nominal_api-0.764.0.dist-info → nominal_api-0.766.0.dist-info}/RECORD +8 -8
- {nominal_api-0.764.0.dist-info → nominal_api-0.766.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.764.0.dist-info → nominal_api-0.766.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -37875,6 +37875,202 @@ scout_compute_api_ArithmeticSeries.__qualname__ = "ArithmeticSeries"
|
|
|
37875
37875
|
scout_compute_api_ArithmeticSeries.__module__ = "nominal_api.scout_compute_api"
|
|
37876
37876
|
|
|
37877
37877
|
|
|
37878
|
+
class scout_compute_api_ArraySeries(ConjureUnionType):
|
|
37879
|
+
_numeric1d: Optional["scout_compute_api_Numeric1dArraySeries"] = None
|
|
37880
|
+
_enum1d: Optional["scout_compute_api_Enum1dArraySeries"] = None
|
|
37881
|
+
|
|
37882
|
+
@builtins.classmethod
|
|
37883
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
37884
|
+
return {
|
|
37885
|
+
'numeric1d': ConjureFieldDefinition('numeric1d', scout_compute_api_Numeric1dArraySeries),
|
|
37886
|
+
'enum1d': ConjureFieldDefinition('enum1d', scout_compute_api_Enum1dArraySeries)
|
|
37887
|
+
}
|
|
37888
|
+
|
|
37889
|
+
def __init__(
|
|
37890
|
+
self,
|
|
37891
|
+
numeric1d: Optional["scout_compute_api_Numeric1dArraySeries"] = None,
|
|
37892
|
+
enum1d: Optional["scout_compute_api_Enum1dArraySeries"] = None,
|
|
37893
|
+
type_of_union: Optional[str] = None
|
|
37894
|
+
) -> None:
|
|
37895
|
+
if type_of_union is None:
|
|
37896
|
+
if (numeric1d is not None) + (enum1d is not None) != 1:
|
|
37897
|
+
raise ValueError('a union must contain a single member')
|
|
37898
|
+
|
|
37899
|
+
if numeric1d is not None:
|
|
37900
|
+
self._numeric1d = numeric1d
|
|
37901
|
+
self._type = 'numeric1d'
|
|
37902
|
+
if enum1d is not None:
|
|
37903
|
+
self._enum1d = enum1d
|
|
37904
|
+
self._type = 'enum1d'
|
|
37905
|
+
|
|
37906
|
+
elif type_of_union == 'numeric1d':
|
|
37907
|
+
if numeric1d is None:
|
|
37908
|
+
raise ValueError('a union value must not be None')
|
|
37909
|
+
self._numeric1d = numeric1d
|
|
37910
|
+
self._type = 'numeric1d'
|
|
37911
|
+
elif type_of_union == 'enum1d':
|
|
37912
|
+
if enum1d is None:
|
|
37913
|
+
raise ValueError('a union value must not be None')
|
|
37914
|
+
self._enum1d = enum1d
|
|
37915
|
+
self._type = 'enum1d'
|
|
37916
|
+
|
|
37917
|
+
@builtins.property
|
|
37918
|
+
def numeric1d(self) -> Optional["scout_compute_api_Numeric1dArraySeries"]:
|
|
37919
|
+
return self._numeric1d
|
|
37920
|
+
|
|
37921
|
+
@builtins.property
|
|
37922
|
+
def enum1d(self) -> Optional["scout_compute_api_Enum1dArraySeries"]:
|
|
37923
|
+
return self._enum1d
|
|
37924
|
+
|
|
37925
|
+
def accept(self, visitor) -> Any:
|
|
37926
|
+
if not isinstance(visitor, scout_compute_api_ArraySeriesVisitor):
|
|
37927
|
+
raise ValueError('{} is not an instance of scout_compute_api_ArraySeriesVisitor'.format(visitor.__class__.__name__))
|
|
37928
|
+
if self._type == 'numeric1d' and self.numeric1d is not None:
|
|
37929
|
+
return visitor._numeric1d(self.numeric1d)
|
|
37930
|
+
if self._type == 'enum1d' and self.enum1d is not None:
|
|
37931
|
+
return visitor._enum1d(self.enum1d)
|
|
37932
|
+
|
|
37933
|
+
|
|
37934
|
+
scout_compute_api_ArraySeries.__name__ = "ArraySeries"
|
|
37935
|
+
scout_compute_api_ArraySeries.__qualname__ = "ArraySeries"
|
|
37936
|
+
scout_compute_api_ArraySeries.__module__ = "nominal_api.scout_compute_api"
|
|
37937
|
+
|
|
37938
|
+
|
|
37939
|
+
class scout_compute_api_ArraySeriesVisitor:
|
|
37940
|
+
|
|
37941
|
+
@abstractmethod
|
|
37942
|
+
def _numeric1d(self, numeric1d: "scout_compute_api_Numeric1dArraySeries") -> Any:
|
|
37943
|
+
pass
|
|
37944
|
+
|
|
37945
|
+
@abstractmethod
|
|
37946
|
+
def _enum1d(self, enum1d: "scout_compute_api_Enum1dArraySeries") -> Any:
|
|
37947
|
+
pass
|
|
37948
|
+
|
|
37949
|
+
|
|
37950
|
+
scout_compute_api_ArraySeriesVisitor.__name__ = "ArraySeriesVisitor"
|
|
37951
|
+
scout_compute_api_ArraySeriesVisitor.__qualname__ = "ArraySeriesVisitor"
|
|
37952
|
+
scout_compute_api_ArraySeriesVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
37953
|
+
|
|
37954
|
+
|
|
37955
|
+
class scout_compute_api_ArrowArrayPlot(ConjureUnionType):
|
|
37956
|
+
_paged_numeric: Optional["scout_compute_api_PagedNumericArrayPlot"] = None
|
|
37957
|
+
_paged_enum: Optional["scout_compute_api_PagedEnumArrayPlot"] = None
|
|
37958
|
+
_bucketed_numeric: Optional["scout_compute_api_BucketedNumericArrayPlot"] = None
|
|
37959
|
+
_bucketed_enum: Optional["scout_compute_api_BucketedEnumArrayPlot"] = None
|
|
37960
|
+
|
|
37961
|
+
@builtins.classmethod
|
|
37962
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
37963
|
+
return {
|
|
37964
|
+
'paged_numeric': ConjureFieldDefinition('pagedNumeric', scout_compute_api_PagedNumericArrayPlot),
|
|
37965
|
+
'paged_enum': ConjureFieldDefinition('pagedEnum', scout_compute_api_PagedEnumArrayPlot),
|
|
37966
|
+
'bucketed_numeric': ConjureFieldDefinition('bucketedNumeric', scout_compute_api_BucketedNumericArrayPlot),
|
|
37967
|
+
'bucketed_enum': ConjureFieldDefinition('bucketedEnum', scout_compute_api_BucketedEnumArrayPlot)
|
|
37968
|
+
}
|
|
37969
|
+
|
|
37970
|
+
def __init__(
|
|
37971
|
+
self,
|
|
37972
|
+
paged_numeric: Optional["scout_compute_api_PagedNumericArrayPlot"] = None,
|
|
37973
|
+
paged_enum: Optional["scout_compute_api_PagedEnumArrayPlot"] = None,
|
|
37974
|
+
bucketed_numeric: Optional["scout_compute_api_BucketedNumericArrayPlot"] = None,
|
|
37975
|
+
bucketed_enum: Optional["scout_compute_api_BucketedEnumArrayPlot"] = None,
|
|
37976
|
+
type_of_union: Optional[str] = None
|
|
37977
|
+
) -> None:
|
|
37978
|
+
if type_of_union is None:
|
|
37979
|
+
if (paged_numeric is not None) + (paged_enum is not None) + (bucketed_numeric is not None) + (bucketed_enum is not None) != 1:
|
|
37980
|
+
raise ValueError('a union must contain a single member')
|
|
37981
|
+
|
|
37982
|
+
if paged_numeric is not None:
|
|
37983
|
+
self._paged_numeric = paged_numeric
|
|
37984
|
+
self._type = 'pagedNumeric'
|
|
37985
|
+
if paged_enum is not None:
|
|
37986
|
+
self._paged_enum = paged_enum
|
|
37987
|
+
self._type = 'pagedEnum'
|
|
37988
|
+
if bucketed_numeric is not None:
|
|
37989
|
+
self._bucketed_numeric = bucketed_numeric
|
|
37990
|
+
self._type = 'bucketedNumeric'
|
|
37991
|
+
if bucketed_enum is not None:
|
|
37992
|
+
self._bucketed_enum = bucketed_enum
|
|
37993
|
+
self._type = 'bucketedEnum'
|
|
37994
|
+
|
|
37995
|
+
elif type_of_union == 'pagedNumeric':
|
|
37996
|
+
if paged_numeric is None:
|
|
37997
|
+
raise ValueError('a union value must not be None')
|
|
37998
|
+
self._paged_numeric = paged_numeric
|
|
37999
|
+
self._type = 'pagedNumeric'
|
|
38000
|
+
elif type_of_union == 'pagedEnum':
|
|
38001
|
+
if paged_enum is None:
|
|
38002
|
+
raise ValueError('a union value must not be None')
|
|
38003
|
+
self._paged_enum = paged_enum
|
|
38004
|
+
self._type = 'pagedEnum'
|
|
38005
|
+
elif type_of_union == 'bucketedNumeric':
|
|
38006
|
+
if bucketed_numeric is None:
|
|
38007
|
+
raise ValueError('a union value must not be None')
|
|
38008
|
+
self._bucketed_numeric = bucketed_numeric
|
|
38009
|
+
self._type = 'bucketedNumeric'
|
|
38010
|
+
elif type_of_union == 'bucketedEnum':
|
|
38011
|
+
if bucketed_enum is None:
|
|
38012
|
+
raise ValueError('a union value must not be None')
|
|
38013
|
+
self._bucketed_enum = bucketed_enum
|
|
38014
|
+
self._type = 'bucketedEnum'
|
|
38015
|
+
|
|
38016
|
+
@builtins.property
|
|
38017
|
+
def paged_numeric(self) -> Optional["scout_compute_api_PagedNumericArrayPlot"]:
|
|
38018
|
+
return self._paged_numeric
|
|
38019
|
+
|
|
38020
|
+
@builtins.property
|
|
38021
|
+
def paged_enum(self) -> Optional["scout_compute_api_PagedEnumArrayPlot"]:
|
|
38022
|
+
return self._paged_enum
|
|
38023
|
+
|
|
38024
|
+
@builtins.property
|
|
38025
|
+
def bucketed_numeric(self) -> Optional["scout_compute_api_BucketedNumericArrayPlot"]:
|
|
38026
|
+
return self._bucketed_numeric
|
|
38027
|
+
|
|
38028
|
+
@builtins.property
|
|
38029
|
+
def bucketed_enum(self) -> Optional["scout_compute_api_BucketedEnumArrayPlot"]:
|
|
38030
|
+
return self._bucketed_enum
|
|
38031
|
+
|
|
38032
|
+
def accept(self, visitor) -> Any:
|
|
38033
|
+
if not isinstance(visitor, scout_compute_api_ArrowArrayPlotVisitor):
|
|
38034
|
+
raise ValueError('{} is not an instance of scout_compute_api_ArrowArrayPlotVisitor'.format(visitor.__class__.__name__))
|
|
38035
|
+
if self._type == 'pagedNumeric' and self.paged_numeric is not None:
|
|
38036
|
+
return visitor._paged_numeric(self.paged_numeric)
|
|
38037
|
+
if self._type == 'pagedEnum' and self.paged_enum is not None:
|
|
38038
|
+
return visitor._paged_enum(self.paged_enum)
|
|
38039
|
+
if self._type == 'bucketedNumeric' and self.bucketed_numeric is not None:
|
|
38040
|
+
return visitor._bucketed_numeric(self.bucketed_numeric)
|
|
38041
|
+
if self._type == 'bucketedEnum' and self.bucketed_enum is not None:
|
|
38042
|
+
return visitor._bucketed_enum(self.bucketed_enum)
|
|
38043
|
+
|
|
38044
|
+
|
|
38045
|
+
scout_compute_api_ArrowArrayPlot.__name__ = "ArrowArrayPlot"
|
|
38046
|
+
scout_compute_api_ArrowArrayPlot.__qualname__ = "ArrowArrayPlot"
|
|
38047
|
+
scout_compute_api_ArrowArrayPlot.__module__ = "nominal_api.scout_compute_api"
|
|
38048
|
+
|
|
38049
|
+
|
|
38050
|
+
class scout_compute_api_ArrowArrayPlotVisitor:
|
|
38051
|
+
|
|
38052
|
+
@abstractmethod
|
|
38053
|
+
def _paged_numeric(self, paged_numeric: "scout_compute_api_PagedNumericArrayPlot") -> Any:
|
|
38054
|
+
pass
|
|
38055
|
+
|
|
38056
|
+
@abstractmethod
|
|
38057
|
+
def _paged_enum(self, paged_enum: "scout_compute_api_PagedEnumArrayPlot") -> Any:
|
|
38058
|
+
pass
|
|
38059
|
+
|
|
38060
|
+
@abstractmethod
|
|
38061
|
+
def _bucketed_numeric(self, bucketed_numeric: "scout_compute_api_BucketedNumericArrayPlot") -> Any:
|
|
38062
|
+
pass
|
|
38063
|
+
|
|
38064
|
+
@abstractmethod
|
|
38065
|
+
def _bucketed_enum(self, bucketed_enum: "scout_compute_api_BucketedEnumArrayPlot") -> Any:
|
|
38066
|
+
pass
|
|
38067
|
+
|
|
38068
|
+
|
|
38069
|
+
scout_compute_api_ArrowArrayPlotVisitor.__name__ = "ArrowArrayPlotVisitor"
|
|
38070
|
+
scout_compute_api_ArrowArrayPlotVisitor.__qualname__ = "ArrowArrayPlotVisitor"
|
|
38071
|
+
scout_compute_api_ArrowArrayPlotVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
38072
|
+
|
|
38073
|
+
|
|
37878
38074
|
class scout_compute_api_ArrowBucketedEnumPlot(ConjureBeanType):
|
|
37879
38075
|
|
|
37880
38076
|
@builtins.classmethod
|
|
@@ -38654,6 +38850,34 @@ scout_compute_api_BucketedCartesianPlot.__qualname__ = "BucketedCartesianPlot"
|
|
|
38654
38850
|
scout_compute_api_BucketedCartesianPlot.__module__ = "nominal_api.scout_compute_api"
|
|
38655
38851
|
|
|
38656
38852
|
|
|
38853
|
+
class scout_compute_api_BucketedEnumArrayPlot(ConjureBeanType):
|
|
38854
|
+
"""The array is flattened out into a an arrow stream of bucketed primitive results, with an extra column to
|
|
38855
|
+
indicate the index of the array that the bucket corresponds to.
|
|
38856
|
+
"""
|
|
38857
|
+
|
|
38858
|
+
@builtins.classmethod
|
|
38859
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
38860
|
+
return {
|
|
38861
|
+
'arrow_binary': ConjureFieldDefinition('arrowBinary', BinaryType)
|
|
38862
|
+
}
|
|
38863
|
+
|
|
38864
|
+
__slots__: List[str] = ['_arrow_binary']
|
|
38865
|
+
|
|
38866
|
+
def __init__(self, arrow_binary: Any) -> None:
|
|
38867
|
+
self._arrow_binary = arrow_binary
|
|
38868
|
+
|
|
38869
|
+
@builtins.property
|
|
38870
|
+
def arrow_binary(self) -> Any:
|
|
38871
|
+
"""The raw binary containing Arrow IPC stream for a bucketed N-dimensional enum array plot.
|
|
38872
|
+
"""
|
|
38873
|
+
return self._arrow_binary
|
|
38874
|
+
|
|
38875
|
+
|
|
38876
|
+
scout_compute_api_BucketedEnumArrayPlot.__name__ = "BucketedEnumArrayPlot"
|
|
38877
|
+
scout_compute_api_BucketedEnumArrayPlot.__qualname__ = "BucketedEnumArrayPlot"
|
|
38878
|
+
scout_compute_api_BucketedEnumArrayPlot.__module__ = "nominal_api.scout_compute_api"
|
|
38879
|
+
|
|
38880
|
+
|
|
38657
38881
|
class scout_compute_api_BucketedEnumPlot(ConjureBeanType):
|
|
38658
38882
|
|
|
38659
38883
|
@builtins.classmethod
|
|
@@ -38747,6 +38971,34 @@ scout_compute_api_BucketedGeoPlotVisitor.__qualname__ = "BucketedGeoPlotVisitor"
|
|
|
38747
38971
|
scout_compute_api_BucketedGeoPlotVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
38748
38972
|
|
|
38749
38973
|
|
|
38974
|
+
class scout_compute_api_BucketedNumericArrayPlot(ConjureBeanType):
|
|
38975
|
+
"""The array is flattened out into a an arrow stream of bucketed primitive results, with an extra column to
|
|
38976
|
+
indicate the index of the array that the bucket corresponds to.
|
|
38977
|
+
"""
|
|
38978
|
+
|
|
38979
|
+
@builtins.classmethod
|
|
38980
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
38981
|
+
return {
|
|
38982
|
+
'arrow_binary': ConjureFieldDefinition('arrowBinary', BinaryType)
|
|
38983
|
+
}
|
|
38984
|
+
|
|
38985
|
+
__slots__: List[str] = ['_arrow_binary']
|
|
38986
|
+
|
|
38987
|
+
def __init__(self, arrow_binary: Any) -> None:
|
|
38988
|
+
self._arrow_binary = arrow_binary
|
|
38989
|
+
|
|
38990
|
+
@builtins.property
|
|
38991
|
+
def arrow_binary(self) -> Any:
|
|
38992
|
+
"""The raw binary containing Arrow IPC stream for a bucketed N-dimensional numeric array plot.
|
|
38993
|
+
"""
|
|
38994
|
+
return self._arrow_binary
|
|
38995
|
+
|
|
38996
|
+
|
|
38997
|
+
scout_compute_api_BucketedNumericArrayPlot.__name__ = "BucketedNumericArrayPlot"
|
|
38998
|
+
scout_compute_api_BucketedNumericArrayPlot.__qualname__ = "BucketedNumericArrayPlot"
|
|
38999
|
+
scout_compute_api_BucketedNumericArrayPlot.__module__ = "nominal_api.scout_compute_api"
|
|
39000
|
+
|
|
39001
|
+
|
|
38750
39002
|
class scout_compute_api_BucketedNumericPlot(ConjureBeanType):
|
|
38751
39003
|
|
|
38752
39004
|
@builtins.classmethod
|
|
@@ -39627,6 +39879,7 @@ class scout_compute_api_ComputeNode(ConjureUnionType):
|
|
|
39627
39879
|
_numeric: Optional["scout_compute_api_NumericSeries"] = None
|
|
39628
39880
|
_log: Optional["scout_compute_api_LogSeries"] = None
|
|
39629
39881
|
_ranges: Optional["scout_compute_api_RangeSeries"] = None
|
|
39882
|
+
_array: Optional["scout_compute_api_ArraySeries"] = None
|
|
39630
39883
|
_curve_fit: Optional["scout_compute_api_CurveFit"] = None
|
|
39631
39884
|
_raw: Optional["scout_compute_api_Reference"] = None
|
|
39632
39885
|
|
|
@@ -39637,6 +39890,7 @@ class scout_compute_api_ComputeNode(ConjureUnionType):
|
|
|
39637
39890
|
'numeric': ConjureFieldDefinition('numeric', scout_compute_api_NumericSeries),
|
|
39638
39891
|
'log': ConjureFieldDefinition('log', scout_compute_api_LogSeries),
|
|
39639
39892
|
'ranges': ConjureFieldDefinition('ranges', scout_compute_api_RangeSeries),
|
|
39893
|
+
'array': ConjureFieldDefinition('array', scout_compute_api_ArraySeries),
|
|
39640
39894
|
'curve_fit': ConjureFieldDefinition('curveFit', scout_compute_api_CurveFit),
|
|
39641
39895
|
'raw': ConjureFieldDefinition('raw', scout_compute_api_Reference)
|
|
39642
39896
|
}
|
|
@@ -39647,12 +39901,13 @@ class scout_compute_api_ComputeNode(ConjureUnionType):
|
|
|
39647
39901
|
numeric: Optional["scout_compute_api_NumericSeries"] = None,
|
|
39648
39902
|
log: Optional["scout_compute_api_LogSeries"] = None,
|
|
39649
39903
|
ranges: Optional["scout_compute_api_RangeSeries"] = None,
|
|
39904
|
+
array: Optional["scout_compute_api_ArraySeries"] = None,
|
|
39650
39905
|
curve_fit: Optional["scout_compute_api_CurveFit"] = None,
|
|
39651
39906
|
raw: Optional["scout_compute_api_Reference"] = None,
|
|
39652
39907
|
type_of_union: Optional[str] = None
|
|
39653
39908
|
) -> None:
|
|
39654
39909
|
if type_of_union is None:
|
|
39655
|
-
if (enum is not None) + (numeric is not None) + (log is not None) + (ranges is not None) + (curve_fit is not None) + (raw is not None) != 1:
|
|
39910
|
+
if (enum is not None) + (numeric is not None) + (log is not None) + (ranges is not None) + (array is not None) + (curve_fit is not None) + (raw is not None) != 1:
|
|
39656
39911
|
raise ValueError('a union must contain a single member')
|
|
39657
39912
|
|
|
39658
39913
|
if enum is not None:
|
|
@@ -39667,6 +39922,9 @@ class scout_compute_api_ComputeNode(ConjureUnionType):
|
|
|
39667
39922
|
if ranges is not None:
|
|
39668
39923
|
self._ranges = ranges
|
|
39669
39924
|
self._type = 'ranges'
|
|
39925
|
+
if array is not None:
|
|
39926
|
+
self._array = array
|
|
39927
|
+
self._type = 'array'
|
|
39670
39928
|
if curve_fit is not None:
|
|
39671
39929
|
self._curve_fit = curve_fit
|
|
39672
39930
|
self._type = 'curveFit'
|
|
@@ -39694,6 +39952,11 @@ class scout_compute_api_ComputeNode(ConjureUnionType):
|
|
|
39694
39952
|
raise ValueError('a union value must not be None')
|
|
39695
39953
|
self._ranges = ranges
|
|
39696
39954
|
self._type = 'ranges'
|
|
39955
|
+
elif type_of_union == 'array':
|
|
39956
|
+
if array is None:
|
|
39957
|
+
raise ValueError('a union value must not be None')
|
|
39958
|
+
self._array = array
|
|
39959
|
+
self._type = 'array'
|
|
39697
39960
|
elif type_of_union == 'curveFit':
|
|
39698
39961
|
if curve_fit is None:
|
|
39699
39962
|
raise ValueError('a union value must not be None')
|
|
@@ -39721,6 +39984,10 @@ class scout_compute_api_ComputeNode(ConjureUnionType):
|
|
|
39721
39984
|
def ranges(self) -> Optional["scout_compute_api_RangeSeries"]:
|
|
39722
39985
|
return self._ranges
|
|
39723
39986
|
|
|
39987
|
+
@builtins.property
|
|
39988
|
+
def array(self) -> Optional["scout_compute_api_ArraySeries"]:
|
|
39989
|
+
return self._array
|
|
39990
|
+
|
|
39724
39991
|
@builtins.property
|
|
39725
39992
|
def curve_fit(self) -> Optional["scout_compute_api_CurveFit"]:
|
|
39726
39993
|
return self._curve_fit
|
|
@@ -39740,6 +40007,8 @@ class scout_compute_api_ComputeNode(ConjureUnionType):
|
|
|
39740
40007
|
return visitor._log(self.log)
|
|
39741
40008
|
if self._type == 'ranges' and self.ranges is not None:
|
|
39742
40009
|
return visitor._ranges(self.ranges)
|
|
40010
|
+
if self._type == 'array' and self.array is not None:
|
|
40011
|
+
return visitor._array(self.array)
|
|
39743
40012
|
if self._type == 'curveFit' and self.curve_fit is not None:
|
|
39744
40013
|
return visitor._curve_fit(self.curve_fit)
|
|
39745
40014
|
if self._type == 'raw' and self.raw is not None:
|
|
@@ -39769,6 +40038,10 @@ class scout_compute_api_ComputeNodeVisitor:
|
|
|
39769
40038
|
def _ranges(self, ranges: "scout_compute_api_RangeSeries") -> Any:
|
|
39770
40039
|
pass
|
|
39771
40040
|
|
|
40041
|
+
@abstractmethod
|
|
40042
|
+
def _array(self, array: "scout_compute_api_ArraySeries") -> Any:
|
|
40043
|
+
pass
|
|
40044
|
+
|
|
39772
40045
|
@abstractmethod
|
|
39773
40046
|
def _curve_fit(self, curve_fit: "scout_compute_api_CurveFit") -> Any:
|
|
39774
40047
|
pass
|
|
@@ -39890,6 +40163,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
39890
40163
|
_enum_histogram: Optional["scout_compute_api_EnumHistogramPlot"] = None
|
|
39891
40164
|
_curve_fit: Optional["scout_compute_api_CurveFitResult"] = None
|
|
39892
40165
|
_grouped: Optional["scout_compute_api_GroupedComputeNodeResponses"] = None
|
|
40166
|
+
_array: Optional["scout_compute_api_ArrowArrayPlot"] = None
|
|
39893
40167
|
|
|
39894
40168
|
@builtins.classmethod
|
|
39895
40169
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -39917,7 +40191,8 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
39917
40191
|
'numeric_histogram': ConjureFieldDefinition('numericHistogram', scout_compute_api_NumericHistogramPlot),
|
|
39918
40192
|
'enum_histogram': ConjureFieldDefinition('enumHistogram', scout_compute_api_EnumHistogramPlot),
|
|
39919
40193
|
'curve_fit': ConjureFieldDefinition('curveFit', scout_compute_api_CurveFitResult),
|
|
39920
|
-
'grouped': ConjureFieldDefinition('grouped', scout_compute_api_GroupedComputeNodeResponses)
|
|
40194
|
+
'grouped': ConjureFieldDefinition('grouped', scout_compute_api_GroupedComputeNodeResponses),
|
|
40195
|
+
'array': ConjureFieldDefinition('array', scout_compute_api_ArrowArrayPlot)
|
|
39921
40196
|
}
|
|
39922
40197
|
|
|
39923
40198
|
def __init__(
|
|
@@ -39946,10 +40221,11 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
39946
40221
|
enum_histogram: Optional["scout_compute_api_EnumHistogramPlot"] = None,
|
|
39947
40222
|
curve_fit: Optional["scout_compute_api_CurveFitResult"] = None,
|
|
39948
40223
|
grouped: Optional["scout_compute_api_GroupedComputeNodeResponses"] = None,
|
|
40224
|
+
array: Optional["scout_compute_api_ArrowArrayPlot"] = None,
|
|
39949
40225
|
type_of_union: Optional[str] = None
|
|
39950
40226
|
) -> None:
|
|
39951
40227
|
if type_of_union is None:
|
|
39952
|
-
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:
|
|
40228
|
+
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) + (array is not None) != 1:
|
|
39953
40229
|
raise ValueError('a union must contain a single member')
|
|
39954
40230
|
|
|
39955
40231
|
if range is not None:
|
|
@@ -40024,6 +40300,9 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
40024
40300
|
if grouped is not None:
|
|
40025
40301
|
self._grouped = grouped
|
|
40026
40302
|
self._type = 'grouped'
|
|
40303
|
+
if array is not None:
|
|
40304
|
+
self._array = array
|
|
40305
|
+
self._type = 'array'
|
|
40027
40306
|
|
|
40028
40307
|
elif type_of_union == 'range':
|
|
40029
40308
|
if range is None:
|
|
@@ -40145,6 +40424,11 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
40145
40424
|
raise ValueError('a union value must not be None')
|
|
40146
40425
|
self._grouped = grouped
|
|
40147
40426
|
self._type = 'grouped'
|
|
40427
|
+
elif type_of_union == 'array':
|
|
40428
|
+
if array is None:
|
|
40429
|
+
raise ValueError('a union value must not be None')
|
|
40430
|
+
self._array = array
|
|
40431
|
+
self._type = 'array'
|
|
40148
40432
|
|
|
40149
40433
|
@builtins.property
|
|
40150
40434
|
def range(self) -> Optional[List["scout_compute_api_Range"]]:
|
|
@@ -40242,6 +40526,10 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
40242
40526
|
def grouped(self) -> Optional["scout_compute_api_GroupedComputeNodeResponses"]:
|
|
40243
40527
|
return self._grouped
|
|
40244
40528
|
|
|
40529
|
+
@builtins.property
|
|
40530
|
+
def array(self) -> Optional["scout_compute_api_ArrowArrayPlot"]:
|
|
40531
|
+
return self._array
|
|
40532
|
+
|
|
40245
40533
|
def accept(self, visitor) -> Any:
|
|
40246
40534
|
if not isinstance(visitor, scout_compute_api_ComputeNodeResponseVisitor):
|
|
40247
40535
|
raise ValueError('{} is not an instance of scout_compute_api_ComputeNodeResponseVisitor'.format(visitor.__class__.__name__))
|
|
@@ -40293,6 +40581,8 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
40293
40581
|
return visitor._curve_fit(self.curve_fit)
|
|
40294
40582
|
if self._type == 'grouped' and self.grouped is not None:
|
|
40295
40583
|
return visitor._grouped(self.grouped)
|
|
40584
|
+
if self._type == 'array' and self.array is not None:
|
|
40585
|
+
return visitor._array(self.array)
|
|
40296
40586
|
|
|
40297
40587
|
|
|
40298
40588
|
scout_compute_api_ComputeNodeResponse.__name__ = "ComputeNodeResponse"
|
|
@@ -40398,6 +40688,10 @@ class scout_compute_api_ComputeNodeResponseVisitor:
|
|
|
40398
40688
|
def _grouped(self, grouped: "scout_compute_api_GroupedComputeNodeResponses") -> Any:
|
|
40399
40689
|
pass
|
|
40400
40690
|
|
|
40691
|
+
@abstractmethod
|
|
40692
|
+
def _array(self, array: "scout_compute_api_ArrowArrayPlot") -> Any:
|
|
40693
|
+
pass
|
|
40694
|
+
|
|
40401
40695
|
|
|
40402
40696
|
scout_compute_api_ComputeNodeResponseVisitor.__name__ = "ComputeNodeResponseVisitor"
|
|
40403
40697
|
scout_compute_api_ComputeNodeResponseVisitor.__qualname__ = "ComputeNodeResponseVisitor"
|
|
@@ -46529,6 +46823,41 @@ scout_compute_api_PageTokenVisitor.__qualname__ = "PageTokenVisitor"
|
|
|
46529
46823
|
scout_compute_api_PageTokenVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
46530
46824
|
|
|
46531
46825
|
|
|
46826
|
+
class scout_compute_api_PagedEnumArrayPlot(ConjureBeanType):
|
|
46827
|
+
|
|
46828
|
+
@builtins.classmethod
|
|
46829
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
46830
|
+
return {
|
|
46831
|
+
'arrow_binary': ConjureFieldDefinition('arrowBinary', BinaryType),
|
|
46832
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[scout_compute_api_PageToken])
|
|
46833
|
+
}
|
|
46834
|
+
|
|
46835
|
+
__slots__: List[str] = ['_arrow_binary', '_next_page_token']
|
|
46836
|
+
|
|
46837
|
+
def __init__(self, arrow_binary: Any, next_page_token: Optional["scout_compute_api_PageToken"] = None) -> None:
|
|
46838
|
+
self._arrow_binary = arrow_binary
|
|
46839
|
+
self._next_page_token = next_page_token
|
|
46840
|
+
|
|
46841
|
+
@builtins.property
|
|
46842
|
+
def arrow_binary(self) -> Any:
|
|
46843
|
+
"""The raw binary containing Arrow IPC stream for a page of an N-dimensional enum array plot.
|
|
46844
|
+
"""
|
|
46845
|
+
return self._arrow_binary
|
|
46846
|
+
|
|
46847
|
+
@builtins.property
|
|
46848
|
+
def next_page_token(self) -> Optional["scout_compute_api_PageToken"]:
|
|
46849
|
+
"""The token to retrieve the next page of arrays in the direction originally requested (exclusive - not
|
|
46850
|
+
included in these results). May be empty if there are no further values in the requested time range in the
|
|
46851
|
+
direction originally requested.
|
|
46852
|
+
"""
|
|
46853
|
+
return self._next_page_token
|
|
46854
|
+
|
|
46855
|
+
|
|
46856
|
+
scout_compute_api_PagedEnumArrayPlot.__name__ = "PagedEnumArrayPlot"
|
|
46857
|
+
scout_compute_api_PagedEnumArrayPlot.__qualname__ = "PagedEnumArrayPlot"
|
|
46858
|
+
scout_compute_api_PagedEnumArrayPlot.__module__ = "nominal_api.scout_compute_api"
|
|
46859
|
+
|
|
46860
|
+
|
|
46532
46861
|
class scout_compute_api_PagedLogPlot(ConjureBeanType):
|
|
46533
46862
|
|
|
46534
46863
|
@builtins.classmethod
|
|
@@ -46568,6 +46897,41 @@ scout_compute_api_PagedLogPlot.__qualname__ = "PagedLogPlot"
|
|
|
46568
46897
|
scout_compute_api_PagedLogPlot.__module__ = "nominal_api.scout_compute_api"
|
|
46569
46898
|
|
|
46570
46899
|
|
|
46900
|
+
class scout_compute_api_PagedNumericArrayPlot(ConjureBeanType):
|
|
46901
|
+
|
|
46902
|
+
@builtins.classmethod
|
|
46903
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
46904
|
+
return {
|
|
46905
|
+
'arrow_binary': ConjureFieldDefinition('arrowBinary', BinaryType),
|
|
46906
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[scout_compute_api_PageToken])
|
|
46907
|
+
}
|
|
46908
|
+
|
|
46909
|
+
__slots__: List[str] = ['_arrow_binary', '_next_page_token']
|
|
46910
|
+
|
|
46911
|
+
def __init__(self, arrow_binary: Any, next_page_token: Optional["scout_compute_api_PageToken"] = None) -> None:
|
|
46912
|
+
self._arrow_binary = arrow_binary
|
|
46913
|
+
self._next_page_token = next_page_token
|
|
46914
|
+
|
|
46915
|
+
@builtins.property
|
|
46916
|
+
def arrow_binary(self) -> Any:
|
|
46917
|
+
"""The raw binary containing Arrow IPC stream for a page of an N-dimensional numeric array plot.
|
|
46918
|
+
"""
|
|
46919
|
+
return self._arrow_binary
|
|
46920
|
+
|
|
46921
|
+
@builtins.property
|
|
46922
|
+
def next_page_token(self) -> Optional["scout_compute_api_PageToken"]:
|
|
46923
|
+
"""The token to retrieve the next page of arrays in the direction originally requested (exclusive - not
|
|
46924
|
+
included in these results). May be empty if there are no further values in the requested time range in the
|
|
46925
|
+
direction originally requested.
|
|
46926
|
+
"""
|
|
46927
|
+
return self._next_page_token
|
|
46928
|
+
|
|
46929
|
+
|
|
46930
|
+
scout_compute_api_PagedNumericArrayPlot.__name__ = "PagedNumericArrayPlot"
|
|
46931
|
+
scout_compute_api_PagedNumericArrayPlot.__qualname__ = "PagedNumericArrayPlot"
|
|
46932
|
+
scout_compute_api_PagedNumericArrayPlot.__module__ = "nominal_api.scout_compute_api"
|
|
46933
|
+
|
|
46934
|
+
|
|
46571
46935
|
class scout_compute_api_ParameterInput(ConjureBeanType):
|
|
46572
46936
|
|
|
46573
46937
|
@builtins.classmethod
|
|
@@ -48737,6 +49101,7 @@ class scout_compute_api_Series(ConjureUnionType):
|
|
|
48737
49101
|
_enum: Optional["scout_compute_api_EnumSeries"] = None
|
|
48738
49102
|
_numeric: Optional["scout_compute_api_NumericSeries"] = None
|
|
48739
49103
|
_log: Optional["scout_compute_api_LogSeries"] = None
|
|
49104
|
+
_array: Optional["scout_compute_api_ArraySeries"] = None
|
|
48740
49105
|
|
|
48741
49106
|
@builtins.classmethod
|
|
48742
49107
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -48744,7 +49109,8 @@ class scout_compute_api_Series(ConjureUnionType):
|
|
|
48744
49109
|
'raw': ConjureFieldDefinition('raw', scout_compute_api_Reference),
|
|
48745
49110
|
'enum': ConjureFieldDefinition('enum', scout_compute_api_EnumSeries),
|
|
48746
49111
|
'numeric': ConjureFieldDefinition('numeric', scout_compute_api_NumericSeries),
|
|
48747
|
-
'log': ConjureFieldDefinition('log', scout_compute_api_LogSeries)
|
|
49112
|
+
'log': ConjureFieldDefinition('log', scout_compute_api_LogSeries),
|
|
49113
|
+
'array': ConjureFieldDefinition('array', scout_compute_api_ArraySeries)
|
|
48748
49114
|
}
|
|
48749
49115
|
|
|
48750
49116
|
def __init__(
|
|
@@ -48753,10 +49119,11 @@ class scout_compute_api_Series(ConjureUnionType):
|
|
|
48753
49119
|
enum: Optional["scout_compute_api_EnumSeries"] = None,
|
|
48754
49120
|
numeric: Optional["scout_compute_api_NumericSeries"] = None,
|
|
48755
49121
|
log: Optional["scout_compute_api_LogSeries"] = None,
|
|
49122
|
+
array: Optional["scout_compute_api_ArraySeries"] = None,
|
|
48756
49123
|
type_of_union: Optional[str] = None
|
|
48757
49124
|
) -> None:
|
|
48758
49125
|
if type_of_union is None:
|
|
48759
|
-
if (raw is not None) + (enum is not None) + (numeric is not None) + (log is not None) != 1:
|
|
49126
|
+
if (raw is not None) + (enum is not None) + (numeric is not None) + (log is not None) + (array is not None) != 1:
|
|
48760
49127
|
raise ValueError('a union must contain a single member')
|
|
48761
49128
|
|
|
48762
49129
|
if raw is not None:
|
|
@@ -48771,6 +49138,9 @@ class scout_compute_api_Series(ConjureUnionType):
|
|
|
48771
49138
|
if log is not None:
|
|
48772
49139
|
self._log = log
|
|
48773
49140
|
self._type = 'log'
|
|
49141
|
+
if array is not None:
|
|
49142
|
+
self._array = array
|
|
49143
|
+
self._type = 'array'
|
|
48774
49144
|
|
|
48775
49145
|
elif type_of_union == 'raw':
|
|
48776
49146
|
if raw is None:
|
|
@@ -48792,6 +49162,11 @@ class scout_compute_api_Series(ConjureUnionType):
|
|
|
48792
49162
|
raise ValueError('a union value must not be None')
|
|
48793
49163
|
self._log = log
|
|
48794
49164
|
self._type = 'log'
|
|
49165
|
+
elif type_of_union == 'array':
|
|
49166
|
+
if array is None:
|
|
49167
|
+
raise ValueError('a union value must not be None')
|
|
49168
|
+
self._array = array
|
|
49169
|
+
self._type = 'array'
|
|
48795
49170
|
|
|
48796
49171
|
@builtins.property
|
|
48797
49172
|
def raw(self) -> Optional["scout_compute_api_Reference"]:
|
|
@@ -48809,6 +49184,10 @@ class scout_compute_api_Series(ConjureUnionType):
|
|
|
48809
49184
|
def log(self) -> Optional["scout_compute_api_LogSeries"]:
|
|
48810
49185
|
return self._log
|
|
48811
49186
|
|
|
49187
|
+
@builtins.property
|
|
49188
|
+
def array(self) -> Optional["scout_compute_api_ArraySeries"]:
|
|
49189
|
+
return self._array
|
|
49190
|
+
|
|
48812
49191
|
def accept(self, visitor) -> Any:
|
|
48813
49192
|
if not isinstance(visitor, scout_compute_api_SeriesVisitor):
|
|
48814
49193
|
raise ValueError('{} is not an instance of scout_compute_api_SeriesVisitor'.format(visitor.__class__.__name__))
|
|
@@ -48820,6 +49199,8 @@ class scout_compute_api_Series(ConjureUnionType):
|
|
|
48820
49199
|
return visitor._numeric(self.numeric)
|
|
48821
49200
|
if self._type == 'log' and self.log is not None:
|
|
48822
49201
|
return visitor._log(self.log)
|
|
49202
|
+
if self._type == 'array' and self.array is not None:
|
|
49203
|
+
return visitor._array(self.array)
|
|
48823
49204
|
|
|
48824
49205
|
|
|
48825
49206
|
scout_compute_api_Series.__name__ = "Series"
|
|
@@ -48845,6 +49226,10 @@ class scout_compute_api_SeriesVisitor:
|
|
|
48845
49226
|
def _log(self, log: "scout_compute_api_LogSeries") -> Any:
|
|
48846
49227
|
pass
|
|
48847
49228
|
|
|
49229
|
+
@abstractmethod
|
|
49230
|
+
def _array(self, array: "scout_compute_api_ArraySeries") -> Any:
|
|
49231
|
+
pass
|
|
49232
|
+
|
|
48848
49233
|
|
|
48849
49234
|
scout_compute_api_SeriesVisitor.__name__ = "SeriesVisitor"
|
|
48850
49235
|
scout_compute_api_SeriesVisitor.__qualname__ = "SeriesVisitor"
|
|
@@ -53220,6 +53605,83 @@ scout_compute_resolved_api_ArithmeticSeriesNode.__qualname__ = "ArithmeticSeries
|
|
|
53220
53605
|
scout_compute_resolved_api_ArithmeticSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
53221
53606
|
|
|
53222
53607
|
|
|
53608
|
+
class scout_compute_resolved_api_ArraySeriesNode(ConjureUnionType):
|
|
53609
|
+
_numeric1d: Optional["scout_compute_resolved_api_NumericArraySeriesNode"] = None
|
|
53610
|
+
_enum1d: Optional["scout_compute_resolved_api_EnumArraySeriesNode"] = None
|
|
53611
|
+
|
|
53612
|
+
@builtins.classmethod
|
|
53613
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
53614
|
+
return {
|
|
53615
|
+
'numeric1d': ConjureFieldDefinition('numeric1d', scout_compute_resolved_api_NumericArraySeriesNode),
|
|
53616
|
+
'enum1d': ConjureFieldDefinition('enum1d', scout_compute_resolved_api_EnumArraySeriesNode)
|
|
53617
|
+
}
|
|
53618
|
+
|
|
53619
|
+
def __init__(
|
|
53620
|
+
self,
|
|
53621
|
+
numeric1d: Optional["scout_compute_resolved_api_NumericArraySeriesNode"] = None,
|
|
53622
|
+
enum1d: Optional["scout_compute_resolved_api_EnumArraySeriesNode"] = None,
|
|
53623
|
+
type_of_union: Optional[str] = None
|
|
53624
|
+
) -> None:
|
|
53625
|
+
if type_of_union is None:
|
|
53626
|
+
if (numeric1d is not None) + (enum1d is not None) != 1:
|
|
53627
|
+
raise ValueError('a union must contain a single member')
|
|
53628
|
+
|
|
53629
|
+
if numeric1d is not None:
|
|
53630
|
+
self._numeric1d = numeric1d
|
|
53631
|
+
self._type = 'numeric1d'
|
|
53632
|
+
if enum1d is not None:
|
|
53633
|
+
self._enum1d = enum1d
|
|
53634
|
+
self._type = 'enum1d'
|
|
53635
|
+
|
|
53636
|
+
elif type_of_union == 'numeric1d':
|
|
53637
|
+
if numeric1d is None:
|
|
53638
|
+
raise ValueError('a union value must not be None')
|
|
53639
|
+
self._numeric1d = numeric1d
|
|
53640
|
+
self._type = 'numeric1d'
|
|
53641
|
+
elif type_of_union == 'enum1d':
|
|
53642
|
+
if enum1d is None:
|
|
53643
|
+
raise ValueError('a union value must not be None')
|
|
53644
|
+
self._enum1d = enum1d
|
|
53645
|
+
self._type = 'enum1d'
|
|
53646
|
+
|
|
53647
|
+
@builtins.property
|
|
53648
|
+
def numeric1d(self) -> Optional["scout_compute_resolved_api_NumericArraySeriesNode"]:
|
|
53649
|
+
return self._numeric1d
|
|
53650
|
+
|
|
53651
|
+
@builtins.property
|
|
53652
|
+
def enum1d(self) -> Optional["scout_compute_resolved_api_EnumArraySeriesNode"]:
|
|
53653
|
+
return self._enum1d
|
|
53654
|
+
|
|
53655
|
+
def accept(self, visitor) -> Any:
|
|
53656
|
+
if not isinstance(visitor, scout_compute_resolved_api_ArraySeriesNodeVisitor):
|
|
53657
|
+
raise ValueError('{} is not an instance of scout_compute_resolved_api_ArraySeriesNodeVisitor'.format(visitor.__class__.__name__))
|
|
53658
|
+
if self._type == 'numeric1d' and self.numeric1d is not None:
|
|
53659
|
+
return visitor._numeric1d(self.numeric1d)
|
|
53660
|
+
if self._type == 'enum1d' and self.enum1d is not None:
|
|
53661
|
+
return visitor._enum1d(self.enum1d)
|
|
53662
|
+
|
|
53663
|
+
|
|
53664
|
+
scout_compute_resolved_api_ArraySeriesNode.__name__ = "ArraySeriesNode"
|
|
53665
|
+
scout_compute_resolved_api_ArraySeriesNode.__qualname__ = "ArraySeriesNode"
|
|
53666
|
+
scout_compute_resolved_api_ArraySeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
53667
|
+
|
|
53668
|
+
|
|
53669
|
+
class scout_compute_resolved_api_ArraySeriesNodeVisitor:
|
|
53670
|
+
|
|
53671
|
+
@abstractmethod
|
|
53672
|
+
def _numeric1d(self, numeric1d: "scout_compute_resolved_api_NumericArraySeriesNode") -> Any:
|
|
53673
|
+
pass
|
|
53674
|
+
|
|
53675
|
+
@abstractmethod
|
|
53676
|
+
def _enum1d(self, enum1d: "scout_compute_resolved_api_EnumArraySeriesNode") -> Any:
|
|
53677
|
+
pass
|
|
53678
|
+
|
|
53679
|
+
|
|
53680
|
+
scout_compute_resolved_api_ArraySeriesNodeVisitor.__name__ = "ArraySeriesNodeVisitor"
|
|
53681
|
+
scout_compute_resolved_api_ArraySeriesNodeVisitor.__qualname__ = "ArraySeriesNodeVisitor"
|
|
53682
|
+
scout_compute_resolved_api_ArraySeriesNodeVisitor.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
53683
|
+
|
|
53684
|
+
|
|
53223
53685
|
class scout_compute_resolved_api_BandPassConfiguration(ConjureBeanType):
|
|
53224
53686
|
|
|
53225
53687
|
@builtins.classmethod
|
|
@@ -58150,6 +58612,7 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
58150
58612
|
_enum: Optional["scout_compute_resolved_api_EnumSeriesNode"] = None
|
|
58151
58613
|
_numeric: Optional["scout_compute_resolved_api_NumericSeriesNode"] = None
|
|
58152
58614
|
_log: Optional["scout_compute_resolved_api_LogSeriesNode"] = None
|
|
58615
|
+
_array: Optional["scout_compute_resolved_api_ArraySeriesNode"] = None
|
|
58153
58616
|
|
|
58154
58617
|
@builtins.classmethod
|
|
58155
58618
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -58157,7 +58620,8 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
58157
58620
|
'raw': ConjureFieldDefinition('raw', scout_compute_resolved_api_RawUntypedSeriesNode),
|
|
58158
58621
|
'enum': ConjureFieldDefinition('enum', scout_compute_resolved_api_EnumSeriesNode),
|
|
58159
58622
|
'numeric': ConjureFieldDefinition('numeric', scout_compute_resolved_api_NumericSeriesNode),
|
|
58160
|
-
'log': ConjureFieldDefinition('log', scout_compute_resolved_api_LogSeriesNode)
|
|
58623
|
+
'log': ConjureFieldDefinition('log', scout_compute_resolved_api_LogSeriesNode),
|
|
58624
|
+
'array': ConjureFieldDefinition('array', scout_compute_resolved_api_ArraySeriesNode)
|
|
58161
58625
|
}
|
|
58162
58626
|
|
|
58163
58627
|
def __init__(
|
|
@@ -58166,10 +58630,11 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
58166
58630
|
enum: Optional["scout_compute_resolved_api_EnumSeriesNode"] = None,
|
|
58167
58631
|
numeric: Optional["scout_compute_resolved_api_NumericSeriesNode"] = None,
|
|
58168
58632
|
log: Optional["scout_compute_resolved_api_LogSeriesNode"] = None,
|
|
58633
|
+
array: Optional["scout_compute_resolved_api_ArraySeriesNode"] = None,
|
|
58169
58634
|
type_of_union: Optional[str] = None
|
|
58170
58635
|
) -> None:
|
|
58171
58636
|
if type_of_union is None:
|
|
58172
|
-
if (raw is not None) + (enum is not None) + (numeric is not None) + (log is not None) != 1:
|
|
58637
|
+
if (raw is not None) + (enum is not None) + (numeric is not None) + (log is not None) + (array is not None) != 1:
|
|
58173
58638
|
raise ValueError('a union must contain a single member')
|
|
58174
58639
|
|
|
58175
58640
|
if raw is not None:
|
|
@@ -58184,6 +58649,9 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
58184
58649
|
if log is not None:
|
|
58185
58650
|
self._log = log
|
|
58186
58651
|
self._type = 'log'
|
|
58652
|
+
if array is not None:
|
|
58653
|
+
self._array = array
|
|
58654
|
+
self._type = 'array'
|
|
58187
58655
|
|
|
58188
58656
|
elif type_of_union == 'raw':
|
|
58189
58657
|
if raw is None:
|
|
@@ -58205,6 +58673,11 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
58205
58673
|
raise ValueError('a union value must not be None')
|
|
58206
58674
|
self._log = log
|
|
58207
58675
|
self._type = 'log'
|
|
58676
|
+
elif type_of_union == 'array':
|
|
58677
|
+
if array is None:
|
|
58678
|
+
raise ValueError('a union value must not be None')
|
|
58679
|
+
self._array = array
|
|
58680
|
+
self._type = 'array'
|
|
58208
58681
|
|
|
58209
58682
|
@builtins.property
|
|
58210
58683
|
def raw(self) -> Optional["scout_compute_resolved_api_RawUntypedSeriesNode"]:
|
|
@@ -58222,6 +58695,10 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
58222
58695
|
def log(self) -> Optional["scout_compute_resolved_api_LogSeriesNode"]:
|
|
58223
58696
|
return self._log
|
|
58224
58697
|
|
|
58698
|
+
@builtins.property
|
|
58699
|
+
def array(self) -> Optional["scout_compute_resolved_api_ArraySeriesNode"]:
|
|
58700
|
+
return self._array
|
|
58701
|
+
|
|
58225
58702
|
def accept(self, visitor) -> Any:
|
|
58226
58703
|
if not isinstance(visitor, scout_compute_resolved_api_SeriesNodeVisitor):
|
|
58227
58704
|
raise ValueError('{} is not an instance of scout_compute_resolved_api_SeriesNodeVisitor'.format(visitor.__class__.__name__))
|
|
@@ -58233,6 +58710,8 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
58233
58710
|
return visitor._numeric(self.numeric)
|
|
58234
58711
|
if self._type == 'log' and self.log is not None:
|
|
58235
58712
|
return visitor._log(self.log)
|
|
58713
|
+
if self._type == 'array' and self.array is not None:
|
|
58714
|
+
return visitor._array(self.array)
|
|
58236
58715
|
|
|
58237
58716
|
|
|
58238
58717
|
scout_compute_resolved_api_SeriesNode.__name__ = "SeriesNode"
|
|
@@ -58258,6 +58737,10 @@ class scout_compute_resolved_api_SeriesNodeVisitor:
|
|
|
58258
58737
|
def _log(self, log: "scout_compute_resolved_api_LogSeriesNode") -> Any:
|
|
58259
58738
|
pass
|
|
58260
58739
|
|
|
58740
|
+
@abstractmethod
|
|
58741
|
+
def _array(self, array: "scout_compute_resolved_api_ArraySeriesNode") -> Any:
|
|
58742
|
+
pass
|
|
58743
|
+
|
|
58261
58744
|
|
|
58262
58745
|
scout_compute_resolved_api_SeriesNodeVisitor.__name__ = "SeriesNodeVisitor"
|
|
58263
58746
|
scout_compute_resolved_api_SeriesNodeVisitor.__qualname__ = "SeriesNodeVisitor"
|
|
@@ -9,6 +9,10 @@ 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_ArraySeries as ArraySeries,
|
|
13
|
+
scout_compute_api_ArraySeriesVisitor as ArraySeriesVisitor,
|
|
14
|
+
scout_compute_api_ArrowArrayPlot as ArrowArrayPlot,
|
|
15
|
+
scout_compute_api_ArrowArrayPlotVisitor as ArrowArrayPlotVisitor,
|
|
12
16
|
scout_compute_api_ArrowBucketedEnumPlot as ArrowBucketedEnumPlot,
|
|
13
17
|
scout_compute_api_ArrowBucketedNumericPlot as ArrowBucketedNumericPlot,
|
|
14
18
|
scout_compute_api_ArrowEnumPlot as ArrowEnumPlot,
|
|
@@ -34,9 +38,11 @@ from .._impl import (
|
|
|
34
38
|
scout_compute_api_BitXorFunction as BitXorFunction,
|
|
35
39
|
scout_compute_api_BucketedCartesian3dPlot as BucketedCartesian3dPlot,
|
|
36
40
|
scout_compute_api_BucketedCartesianPlot as BucketedCartesianPlot,
|
|
41
|
+
scout_compute_api_BucketedEnumArrayPlot as BucketedEnumArrayPlot,
|
|
37
42
|
scout_compute_api_BucketedEnumPlot as BucketedEnumPlot,
|
|
38
43
|
scout_compute_api_BucketedGeoPlot as BucketedGeoPlot,
|
|
39
44
|
scout_compute_api_BucketedGeoPlotVisitor as BucketedGeoPlotVisitor,
|
|
45
|
+
scout_compute_api_BucketedNumericArrayPlot as BucketedNumericArrayPlot,
|
|
40
46
|
scout_compute_api_BucketedNumericPlot as BucketedNumericPlot,
|
|
41
47
|
scout_compute_api_Cartesian as Cartesian,
|
|
42
48
|
scout_compute_api_Cartesian3d as Cartesian3d,
|
|
@@ -220,7 +226,9 @@ from .._impl import (
|
|
|
220
226
|
scout_compute_api_PageStrategyVisitor as PageStrategyVisitor,
|
|
221
227
|
scout_compute_api_PageToken as PageToken,
|
|
222
228
|
scout_compute_api_PageTokenVisitor as PageTokenVisitor,
|
|
229
|
+
scout_compute_api_PagedEnumArrayPlot as PagedEnumArrayPlot,
|
|
223
230
|
scout_compute_api_PagedLogPlot as PagedLogPlot,
|
|
231
|
+
scout_compute_api_PagedNumericArrayPlot as PagedNumericArrayPlot,
|
|
224
232
|
scout_compute_api_ParameterInput as ParameterInput,
|
|
225
233
|
scout_compute_api_ParameterizedComputeNodeRequest as ParameterizedComputeNodeRequest,
|
|
226
234
|
scout_compute_api_ParameterizedComputeNodeResponse as ParameterizedComputeNodeResponse,
|
|
@@ -339,6 +347,10 @@ __all__ = [
|
|
|
339
347
|
'ApproximateThresholdOperator',
|
|
340
348
|
'ApproximateThresholdRanges',
|
|
341
349
|
'ArithmeticSeries',
|
|
350
|
+
'ArraySeries',
|
|
351
|
+
'ArraySeriesVisitor',
|
|
352
|
+
'ArrowArrayPlot',
|
|
353
|
+
'ArrowArrayPlotVisitor',
|
|
342
354
|
'ArrowBucketedEnumPlot',
|
|
343
355
|
'ArrowBucketedNumericPlot',
|
|
344
356
|
'ArrowEnumPlot',
|
|
@@ -364,9 +376,11 @@ __all__ = [
|
|
|
364
376
|
'BitXorFunction',
|
|
365
377
|
'BucketedCartesian3dPlot',
|
|
366
378
|
'BucketedCartesianPlot',
|
|
379
|
+
'BucketedEnumArrayPlot',
|
|
367
380
|
'BucketedEnumPlot',
|
|
368
381
|
'BucketedGeoPlot',
|
|
369
382
|
'BucketedGeoPlotVisitor',
|
|
383
|
+
'BucketedNumericArrayPlot',
|
|
370
384
|
'BucketedNumericPlot',
|
|
371
385
|
'Cartesian',
|
|
372
386
|
'CartesianVisitor',
|
|
@@ -549,7 +563,9 @@ __all__ = [
|
|
|
549
563
|
'PageStrategyVisitor',
|
|
550
564
|
'PageToken',
|
|
551
565
|
'PageTokenVisitor',
|
|
566
|
+
'PagedEnumArrayPlot',
|
|
552
567
|
'PagedLogPlot',
|
|
568
|
+
'PagedNumericArrayPlot',
|
|
553
569
|
'ParameterInput',
|
|
554
570
|
'ParameterizedComputeNodeRequest',
|
|
555
571
|
'ParameterizedComputeNodeResponse',
|
|
@@ -5,6 +5,8 @@ from .._impl import (
|
|
|
5
5
|
scout_compute_resolved_api_AggregateEnumSeriesNode as AggregateEnumSeriesNode,
|
|
6
6
|
scout_compute_resolved_api_AggregateNumericSeriesNode as AggregateNumericSeriesNode,
|
|
7
7
|
scout_compute_resolved_api_ArithmeticSeriesNode as ArithmeticSeriesNode,
|
|
8
|
+
scout_compute_resolved_api_ArraySeriesNode as ArraySeriesNode,
|
|
9
|
+
scout_compute_resolved_api_ArraySeriesNodeVisitor as ArraySeriesNodeVisitor,
|
|
8
10
|
scout_compute_resolved_api_BandPassConfiguration as BandPassConfiguration,
|
|
9
11
|
scout_compute_resolved_api_BandStopConfiguration as BandStopConfiguration,
|
|
10
12
|
scout_compute_resolved_api_BinaryArithmeticSeriesNode as BinaryArithmeticSeriesNode,
|
|
@@ -160,6 +162,8 @@ __all__ = [
|
|
|
160
162
|
'AggregateEnumSeriesNode',
|
|
161
163
|
'AggregateNumericSeriesNode',
|
|
162
164
|
'ArithmeticSeriesNode',
|
|
165
|
+
'ArraySeriesNode',
|
|
166
|
+
'ArraySeriesNodeVisitor',
|
|
163
167
|
'BandPassConfiguration',
|
|
164
168
|
'BandStopConfiguration',
|
|
165
169
|
'BinaryArithmeticSeriesNode',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=u6Vwz0MXajAuQXuDQvO701NVzbrS65MPKW1OTQie_G0,2012
|
|
2
|
+
nominal_api/_impl.py,sha256=ppbQpj1B09M_BsQVQ7OsPe9OLVaN_jiDLNefwA4_bEg,3432562
|
|
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
|
|
@@ -33,9 +33,9 @@ nominal_api/scout_checklistexecution_api/__init__.py,sha256=iVeUjPTlbpQ3vlQkQjHr
|
|
|
33
33
|
nominal_api/scout_checks_api/__init__.py,sha256=uCmiNrVwLDlkg8YnpP-uZr9nFFFN52sM644Qo6YNy3k,6972
|
|
34
34
|
nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=RpTvc8WqNxOuDSXWs-xV3MSSFIoIy8Fj3eaIDCVygvU,6215
|
|
35
35
|
nominal_api/scout_comparisonrun_api/__init__.py,sha256=y5SlDoXvskyTKjg2O8o3cBhGSN-KA7iVlVjyy3vb3Co,652
|
|
36
|
-
nominal_api/scout_compute_api/__init__.py,sha256=
|
|
36
|
+
nominal_api/scout_compute_api/__init__.py,sha256=pP8f_M2opRUs7JMb8QBPXB5BOIWZGWcrRWy0dHPtBmw,30337
|
|
37
37
|
nominal_api/scout_compute_api_deprecated/__init__.py,sha256=JrZKbt1ulYECTdUSkXn6On22Alu_cPUBjCRWTN3ctxk,5041
|
|
38
|
-
nominal_api/scout_compute_resolved_api/__init__.py,sha256=
|
|
38
|
+
nominal_api/scout_compute_resolved_api/__init__.py,sha256=jzIpuPL2C39v88tKQHcv0MROTe6tMQGXLSMpT5VtIpQ,16432
|
|
39
39
|
nominal_api/scout_dataexport_api/__init__.py,sha256=CF2vuo8kUXLJ4B7w95STrU0UMoBGuziacH5Eo3uxYf4,2068
|
|
40
40
|
nominal_api/scout_datareview_api/__init__.py,sha256=kTDvcuav5bBm3IPhvmDrBTYyVD26iQVkyzdZnu75omE,11695
|
|
41
41
|
nominal_api/scout_datasource/__init__.py,sha256=Z1Msu1Daf8GlLuM3w5imyB-6DhTNZojxI6xpH1sSvhM,141
|
|
@@ -75,7 +75,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
|
|
|
75
75
|
nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
|
|
76
76
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
|
|
77
77
|
nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
|
|
78
|
-
nominal_api-0.
|
|
79
|
-
nominal_api-0.
|
|
80
|
-
nominal_api-0.
|
|
81
|
-
nominal_api-0.
|
|
78
|
+
nominal_api-0.766.0.dist-info/METADATA,sha256=5TYz5ayv0qrgKPaj7HcLyxwc6EqCiNqnMO-gwGlxN_8,199
|
|
79
|
+
nominal_api-0.766.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
80
|
+
nominal_api-0.766.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
81
|
+
nominal_api-0.766.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|