nominal-api 0.547.0__py3-none-any.whl → 0.549.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nominal-api might be problematic. Click here for more details.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +157 -3
- nominal_api/scout_compute_api/__init__.py +3 -0
- {nominal_api-0.547.0.dist-info → nominal_api-0.549.0.dist-info}/METADATA +1 -1
- {nominal_api-0.547.0.dist-info → nominal_api-0.549.0.dist-info}/RECORD +7 -7
- {nominal_api-0.547.0.dist-info → nominal_api-0.549.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.547.0.dist-info → nominal_api-0.549.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -27483,6 +27483,74 @@ scout_compute_api_AllowNegativeValues.__qualname__ = "AllowNegativeValues"
|
|
|
27483
27483
|
scout_compute_api_AllowNegativeValues.__module__ = "nominal_api.scout_compute_api"
|
|
27484
27484
|
|
|
27485
27485
|
|
|
27486
|
+
class scout_compute_api_ApproximateThresholdOperator(ConjureEnumType):
|
|
27487
|
+
|
|
27488
|
+
EQUAL_TO = 'EQUAL_TO'
|
|
27489
|
+
'''EQUAL_TO'''
|
|
27490
|
+
NOT_EQUAL_TO = 'NOT_EQUAL_TO'
|
|
27491
|
+
'''NOT_EQUAL_TO'''
|
|
27492
|
+
UNKNOWN = 'UNKNOWN'
|
|
27493
|
+
'''UNKNOWN'''
|
|
27494
|
+
|
|
27495
|
+
def __reduce_ex__(self, proto):
|
|
27496
|
+
return self.__class__, (self.name,)
|
|
27497
|
+
|
|
27498
|
+
|
|
27499
|
+
scout_compute_api_ApproximateThresholdOperator.__name__ = "ApproximateThresholdOperator"
|
|
27500
|
+
scout_compute_api_ApproximateThresholdOperator.__qualname__ = "ApproximateThresholdOperator"
|
|
27501
|
+
scout_compute_api_ApproximateThresholdOperator.__module__ = "nominal_api.scout_compute_api"
|
|
27502
|
+
|
|
27503
|
+
|
|
27504
|
+
class scout_compute_api_ApproximateThresholdRanges(ConjureBeanType):
|
|
27505
|
+
"""
|
|
27506
|
+
Produces a list of ranges for which the threshold condition is satisfied.
|
|
27507
|
+
"""
|
|
27508
|
+
|
|
27509
|
+
@builtins.classmethod
|
|
27510
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
27511
|
+
return {
|
|
27512
|
+
'input': ConjureFieldDefinition('input', scout_compute_api_NumericSeries),
|
|
27513
|
+
'threshold': ConjureFieldDefinition('threshold', scout_compute_api_DoubleConstant),
|
|
27514
|
+
'tolerance': ConjureFieldDefinition('tolerance', scout_compute_api_DoubleConstant),
|
|
27515
|
+
'operator': ConjureFieldDefinition('operator', scout_compute_api_ApproximateThresholdOperator),
|
|
27516
|
+
'persistence_window_configuration': ConjureFieldDefinition('persistenceWindowConfiguration', OptionalTypeWrapper[scout_compute_api_PersistenceWindowConfiguration])
|
|
27517
|
+
}
|
|
27518
|
+
|
|
27519
|
+
__slots__: List[str] = ['_input', '_threshold', '_tolerance', '_operator', '_persistence_window_configuration']
|
|
27520
|
+
|
|
27521
|
+
def __init__(self, input: "scout_compute_api_NumericSeries", operator: "scout_compute_api_ApproximateThresholdOperator", threshold: "scout_compute_api_DoubleConstant", tolerance: "scout_compute_api_DoubleConstant", persistence_window_configuration: Optional["scout_compute_api_PersistenceWindowConfiguration"] = None) -> None:
|
|
27522
|
+
self._input = input
|
|
27523
|
+
self._threshold = threshold
|
|
27524
|
+
self._tolerance = tolerance
|
|
27525
|
+
self._operator = operator
|
|
27526
|
+
self._persistence_window_configuration = persistence_window_configuration
|
|
27527
|
+
|
|
27528
|
+
@builtins.property
|
|
27529
|
+
def input(self) -> "scout_compute_api_NumericSeries":
|
|
27530
|
+
return self._input
|
|
27531
|
+
|
|
27532
|
+
@builtins.property
|
|
27533
|
+
def threshold(self) -> "scout_compute_api_DoubleConstant":
|
|
27534
|
+
return self._threshold
|
|
27535
|
+
|
|
27536
|
+
@builtins.property
|
|
27537
|
+
def tolerance(self) -> "scout_compute_api_DoubleConstant":
|
|
27538
|
+
return self._tolerance
|
|
27539
|
+
|
|
27540
|
+
@builtins.property
|
|
27541
|
+
def operator(self) -> "scout_compute_api_ApproximateThresholdOperator":
|
|
27542
|
+
return self._operator
|
|
27543
|
+
|
|
27544
|
+
@builtins.property
|
|
27545
|
+
def persistence_window_configuration(self) -> Optional["scout_compute_api_PersistenceWindowConfiguration"]:
|
|
27546
|
+
return self._persistence_window_configuration
|
|
27547
|
+
|
|
27548
|
+
|
|
27549
|
+
scout_compute_api_ApproximateThresholdRanges.__name__ = "ApproximateThresholdRanges"
|
|
27550
|
+
scout_compute_api_ApproximateThresholdRanges.__qualname__ = "ApproximateThresholdRanges"
|
|
27551
|
+
scout_compute_api_ApproximateThresholdRanges.__module__ = "nominal_api.scout_compute_api"
|
|
27552
|
+
|
|
27553
|
+
|
|
27486
27554
|
class scout_compute_api_ArithmeticSeries(ConjureBeanType):
|
|
27487
27555
|
|
|
27488
27556
|
@builtins.classmethod
|
|
@@ -32913,6 +32981,50 @@ scout_compute_api_NumericAggregationFunction.__qualname__ = "NumericAggregationF
|
|
|
32913
32981
|
scout_compute_api_NumericAggregationFunction.__module__ = "nominal_api.scout_compute_api"
|
|
32914
32982
|
|
|
32915
32983
|
|
|
32984
|
+
class scout_compute_api_NumericApproximateFilterSeries(ConjureBeanType):
|
|
32985
|
+
"""
|
|
32986
|
+
Outputs the values of the numeric plot value that are approximately equal to the threshold value.
|
|
32987
|
+
"""
|
|
32988
|
+
|
|
32989
|
+
@builtins.classmethod
|
|
32990
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32991
|
+
return {
|
|
32992
|
+
'input': ConjureFieldDefinition('input', scout_compute_api_NumericSeries),
|
|
32993
|
+
'threshold': ConjureFieldDefinition('threshold', scout_compute_api_DoubleConstant),
|
|
32994
|
+
'tolerance': ConjureFieldDefinition('tolerance', scout_compute_api_DoubleConstant),
|
|
32995
|
+
'operator': ConjureFieldDefinition('operator', scout_compute_api_ApproximateThresholdOperator)
|
|
32996
|
+
}
|
|
32997
|
+
|
|
32998
|
+
__slots__: List[str] = ['_input', '_threshold', '_tolerance', '_operator']
|
|
32999
|
+
|
|
33000
|
+
def __init__(self, input: "scout_compute_api_NumericSeries", operator: "scout_compute_api_ApproximateThresholdOperator", threshold: "scout_compute_api_DoubleConstant", tolerance: "scout_compute_api_DoubleConstant") -> None:
|
|
33001
|
+
self._input = input
|
|
33002
|
+
self._threshold = threshold
|
|
33003
|
+
self._tolerance = tolerance
|
|
33004
|
+
self._operator = operator
|
|
33005
|
+
|
|
33006
|
+
@builtins.property
|
|
33007
|
+
def input(self) -> "scout_compute_api_NumericSeries":
|
|
33008
|
+
return self._input
|
|
33009
|
+
|
|
33010
|
+
@builtins.property
|
|
33011
|
+
def threshold(self) -> "scout_compute_api_DoubleConstant":
|
|
33012
|
+
return self._threshold
|
|
33013
|
+
|
|
33014
|
+
@builtins.property
|
|
33015
|
+
def tolerance(self) -> "scout_compute_api_DoubleConstant":
|
|
33016
|
+
return self._tolerance
|
|
33017
|
+
|
|
33018
|
+
@builtins.property
|
|
33019
|
+
def operator(self) -> "scout_compute_api_ApproximateThresholdOperator":
|
|
33020
|
+
return self._operator
|
|
33021
|
+
|
|
33022
|
+
|
|
33023
|
+
scout_compute_api_NumericApproximateFilterSeries.__name__ = "NumericApproximateFilterSeries"
|
|
33024
|
+
scout_compute_api_NumericApproximateFilterSeries.__qualname__ = "NumericApproximateFilterSeries"
|
|
33025
|
+
scout_compute_api_NumericApproximateFilterSeries.__module__ = "nominal_api.scout_compute_api"
|
|
33026
|
+
|
|
33027
|
+
|
|
32916
33028
|
class scout_compute_api_NumericBucket(ConjureBeanType):
|
|
32917
33029
|
|
|
32918
33030
|
@builtins.classmethod
|
|
@@ -33358,6 +33470,7 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
33358
33470
|
_value_difference: Optional["scout_compute_api_ValueDifferenceSeries"] = None
|
|
33359
33471
|
_filter_transformation: Optional["scout_compute_api_NumericFilterTransformationSeries"] = None
|
|
33360
33472
|
_threshold_filter: Optional["scout_compute_api_NumericThresholdFilterSeries"] = None
|
|
33473
|
+
_approximate_filter: Optional["scout_compute_api_NumericApproximateFilterSeries"] = None
|
|
33361
33474
|
|
|
33362
33475
|
@builtins.classmethod
|
|
33363
33476
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -33391,7 +33504,8 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
33391
33504
|
'unit_conversion': ConjureFieldDefinition('unitConversion', scout_compute_api_UnitConversionSeries),
|
|
33392
33505
|
'value_difference': ConjureFieldDefinition('valueDifference', scout_compute_api_ValueDifferenceSeries),
|
|
33393
33506
|
'filter_transformation': ConjureFieldDefinition('filterTransformation', scout_compute_api_NumericFilterTransformationSeries),
|
|
33394
|
-
'threshold_filter': ConjureFieldDefinition('thresholdFilter', scout_compute_api_NumericThresholdFilterSeries)
|
|
33507
|
+
'threshold_filter': ConjureFieldDefinition('thresholdFilter', scout_compute_api_NumericThresholdFilterSeries),
|
|
33508
|
+
'approximate_filter': ConjureFieldDefinition('approximateFilter', scout_compute_api_NumericApproximateFilterSeries)
|
|
33395
33509
|
}
|
|
33396
33510
|
|
|
33397
33511
|
def __init__(
|
|
@@ -33426,10 +33540,11 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
33426
33540
|
value_difference: Optional["scout_compute_api_ValueDifferenceSeries"] = None,
|
|
33427
33541
|
filter_transformation: Optional["scout_compute_api_NumericFilterTransformationSeries"] = None,
|
|
33428
33542
|
threshold_filter: Optional["scout_compute_api_NumericThresholdFilterSeries"] = None,
|
|
33543
|
+
approximate_filter: Optional["scout_compute_api_NumericApproximateFilterSeries"] = None,
|
|
33429
33544
|
type_of_union: Optional[str] = None
|
|
33430
33545
|
) -> None:
|
|
33431
33546
|
if type_of_union is None:
|
|
33432
|
-
if (aggregate is not None) + (arithmetic is not None) + (bit_operation is not None) + (count_duplicate is not None) + (cumulative_sum is not None) + (derivative is not None) + (function is not None) + (integral is not None) + (max is not None) + (mean is not None) + (min is not None) + (offset is not None) + (product is not None) + (raw is not None) + (channel is not None) + (resample is not None) + (rolling_operation is not None) + (signal_filter is not None) + (sum is not None) + (scale is not None) + (time_difference is not None) + (time_range_filter is not None) + (time_shift is not None) + (unary_arithmetic is not None) + (binary_arithmetic is not None) + (union is not None) + (unit_conversion is not None) + (value_difference is not None) + (filter_transformation is not None) + (threshold_filter is not None) != 1:
|
|
33547
|
+
if (aggregate is not None) + (arithmetic is not None) + (bit_operation is not None) + (count_duplicate is not None) + (cumulative_sum is not None) + (derivative is not None) + (function is not None) + (integral is not None) + (max is not None) + (mean is not None) + (min is not None) + (offset is not None) + (product is not None) + (raw is not None) + (channel is not None) + (resample is not None) + (rolling_operation is not None) + (signal_filter is not None) + (sum is not None) + (scale is not None) + (time_difference is not None) + (time_range_filter is not None) + (time_shift is not None) + (unary_arithmetic is not None) + (binary_arithmetic is not None) + (union is not None) + (unit_conversion is not None) + (value_difference is not None) + (filter_transformation is not None) + (threshold_filter is not None) + (approximate_filter is not None) != 1:
|
|
33433
33548
|
raise ValueError('a union must contain a single member')
|
|
33434
33549
|
|
|
33435
33550
|
if aggregate is not None:
|
|
@@ -33522,6 +33637,9 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
33522
33637
|
if threshold_filter is not None:
|
|
33523
33638
|
self._threshold_filter = threshold_filter
|
|
33524
33639
|
self._type = 'thresholdFilter'
|
|
33640
|
+
if approximate_filter is not None:
|
|
33641
|
+
self._approximate_filter = approximate_filter
|
|
33642
|
+
self._type = 'approximateFilter'
|
|
33525
33643
|
|
|
33526
33644
|
elif type_of_union == 'aggregate':
|
|
33527
33645
|
if aggregate is None:
|
|
@@ -33673,6 +33791,11 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
33673
33791
|
raise ValueError('a union value must not be None')
|
|
33674
33792
|
self._threshold_filter = threshold_filter
|
|
33675
33793
|
self._type = 'thresholdFilter'
|
|
33794
|
+
elif type_of_union == 'approximateFilter':
|
|
33795
|
+
if approximate_filter is None:
|
|
33796
|
+
raise ValueError('a union value must not be None')
|
|
33797
|
+
self._approximate_filter = approximate_filter
|
|
33798
|
+
self._type = 'approximateFilter'
|
|
33676
33799
|
|
|
33677
33800
|
@builtins.property
|
|
33678
33801
|
def aggregate(self) -> Optional["scout_compute_api_AggregateNumericSeries"]:
|
|
@@ -33794,6 +33917,10 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
33794
33917
|
def threshold_filter(self) -> Optional["scout_compute_api_NumericThresholdFilterSeries"]:
|
|
33795
33918
|
return self._threshold_filter
|
|
33796
33919
|
|
|
33920
|
+
@builtins.property
|
|
33921
|
+
def approximate_filter(self) -> Optional["scout_compute_api_NumericApproximateFilterSeries"]:
|
|
33922
|
+
return self._approximate_filter
|
|
33923
|
+
|
|
33797
33924
|
def accept(self, visitor) -> Any:
|
|
33798
33925
|
if not isinstance(visitor, scout_compute_api_NumericSeriesVisitor):
|
|
33799
33926
|
raise ValueError('{} is not an instance of scout_compute_api_NumericSeriesVisitor'.format(visitor.__class__.__name__))
|
|
@@ -33857,6 +33984,8 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
33857
33984
|
return visitor._filter_transformation(self.filter_transformation)
|
|
33858
33985
|
if self._type == 'thresholdFilter' and self.threshold_filter is not None:
|
|
33859
33986
|
return visitor._threshold_filter(self.threshold_filter)
|
|
33987
|
+
if self._type == 'approximateFilter' and self.approximate_filter is not None:
|
|
33988
|
+
return visitor._approximate_filter(self.approximate_filter)
|
|
33860
33989
|
|
|
33861
33990
|
|
|
33862
33991
|
scout_compute_api_NumericSeries.__name__ = "NumericSeries"
|
|
@@ -33986,6 +34115,10 @@ class scout_compute_api_NumericSeriesVisitor:
|
|
|
33986
34115
|
def _threshold_filter(self, threshold_filter: "scout_compute_api_NumericThresholdFilterSeries") -> Any:
|
|
33987
34116
|
pass
|
|
33988
34117
|
|
|
34118
|
+
@abstractmethod
|
|
34119
|
+
def _approximate_filter(self, approximate_filter: "scout_compute_api_NumericApproximateFilterSeries") -> Any:
|
|
34120
|
+
pass
|
|
34121
|
+
|
|
33989
34122
|
|
|
33990
34123
|
scout_compute_api_NumericSeriesVisitor.__name__ = "NumericSeriesVisitor"
|
|
33991
34124
|
scout_compute_api_NumericSeriesVisitor.__qualname__ = "NumericSeriesVisitor"
|
|
@@ -34910,6 +35043,7 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
34910
35043
|
_intersect_range: Optional["scout_compute_api_IntersectRanges"] = None
|
|
34911
35044
|
_not_: Optional["scout_compute_api_NotRanges"] = None
|
|
34912
35045
|
_on_change: Optional["scout_compute_api_OnChangeRanges"] = None
|
|
35046
|
+
_approximate_threshold: Optional["scout_compute_api_ApproximateThresholdRanges"] = None
|
|
34913
35047
|
_min_max_threshold: Optional["scout_compute_api_MinMaxThresholdRanges"] = None
|
|
34914
35048
|
_peak: Optional["scout_compute_api_PeakRanges"] = None
|
|
34915
35049
|
_raw: Optional["scout_compute_api_Reference"] = None
|
|
@@ -34930,6 +35064,7 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
34930
35064
|
'intersect_range': ConjureFieldDefinition('intersectRange', scout_compute_api_IntersectRanges),
|
|
34931
35065
|
'not_': ConjureFieldDefinition('not', scout_compute_api_NotRanges),
|
|
34932
35066
|
'on_change': ConjureFieldDefinition('onChange', scout_compute_api_OnChangeRanges),
|
|
35067
|
+
'approximate_threshold': ConjureFieldDefinition('approximateThreshold', scout_compute_api_ApproximateThresholdRanges),
|
|
34933
35068
|
'min_max_threshold': ConjureFieldDefinition('minMaxThreshold', scout_compute_api_MinMaxThresholdRanges),
|
|
34934
35069
|
'peak': ConjureFieldDefinition('peak', scout_compute_api_PeakRanges),
|
|
34935
35070
|
'raw': ConjureFieldDefinition('raw', scout_compute_api_Reference),
|
|
@@ -34950,6 +35085,7 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
34950
35085
|
intersect_range: Optional["scout_compute_api_IntersectRanges"] = None,
|
|
34951
35086
|
not_: Optional["scout_compute_api_NotRanges"] = None,
|
|
34952
35087
|
on_change: Optional["scout_compute_api_OnChangeRanges"] = None,
|
|
35088
|
+
approximate_threshold: Optional["scout_compute_api_ApproximateThresholdRanges"] = None,
|
|
34953
35089
|
min_max_threshold: Optional["scout_compute_api_MinMaxThresholdRanges"] = None,
|
|
34954
35090
|
peak: Optional["scout_compute_api_PeakRanges"] = None,
|
|
34955
35091
|
raw: Optional["scout_compute_api_Reference"] = None,
|
|
@@ -34964,7 +35100,7 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
34964
35100
|
type_of_union: Optional[str] = None
|
|
34965
35101
|
) -> None:
|
|
34966
35102
|
if type_of_union is None:
|
|
34967
|
-
if (enum_filter is not None) + (function is not None) + (intersect_range is not None) + (not_ is not None) + (on_change is not None) + (min_max_threshold is not None) + (peak is not None) + (raw is not None) + (series_crossover_ranges_node is not None) + (series_equality_ranges_node is not None) + (enum_series_equality_ranges_node is not None) + (stale_range is not None) + (threshold is not None) + (union_range is not None) + (range_numeric_aggregation is not None) + (stability_detection is not None) != 1:
|
|
35103
|
+
if (enum_filter is not None) + (function is not None) + (intersect_range is not None) + (not_ is not None) + (on_change is not None) + (approximate_threshold is not None) + (min_max_threshold is not None) + (peak is not None) + (raw is not None) + (series_crossover_ranges_node is not None) + (series_equality_ranges_node is not None) + (enum_series_equality_ranges_node is not None) + (stale_range is not None) + (threshold is not None) + (union_range is not None) + (range_numeric_aggregation is not None) + (stability_detection is not None) != 1:
|
|
34968
35104
|
raise ValueError('a union must contain a single member')
|
|
34969
35105
|
|
|
34970
35106
|
if enum_filter is not None:
|
|
@@ -34982,6 +35118,9 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
34982
35118
|
if on_change is not None:
|
|
34983
35119
|
self._on_change = on_change
|
|
34984
35120
|
self._type = 'onChange'
|
|
35121
|
+
if approximate_threshold is not None:
|
|
35122
|
+
self._approximate_threshold = approximate_threshold
|
|
35123
|
+
self._type = 'approximateThreshold'
|
|
34985
35124
|
if min_max_threshold is not None:
|
|
34986
35125
|
self._min_max_threshold = min_max_threshold
|
|
34987
35126
|
self._type = 'minMaxThreshold'
|
|
@@ -35041,6 +35180,11 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35041
35180
|
raise ValueError('a union value must not be None')
|
|
35042
35181
|
self._on_change = on_change
|
|
35043
35182
|
self._type = 'onChange'
|
|
35183
|
+
elif type_of_union == 'approximateThreshold':
|
|
35184
|
+
if approximate_threshold is None:
|
|
35185
|
+
raise ValueError('a union value must not be None')
|
|
35186
|
+
self._approximate_threshold = approximate_threshold
|
|
35187
|
+
self._type = 'approximateThreshold'
|
|
35044
35188
|
elif type_of_union == 'minMaxThreshold':
|
|
35045
35189
|
if min_max_threshold is None:
|
|
35046
35190
|
raise ValueError('a union value must not be None')
|
|
@@ -35117,6 +35261,10 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35117
35261
|
def on_change(self) -> Optional["scout_compute_api_OnChangeRanges"]:
|
|
35118
35262
|
return self._on_change
|
|
35119
35263
|
|
|
35264
|
+
@builtins.property
|
|
35265
|
+
def approximate_threshold(self) -> Optional["scout_compute_api_ApproximateThresholdRanges"]:
|
|
35266
|
+
return self._approximate_threshold
|
|
35267
|
+
|
|
35120
35268
|
@builtins.property
|
|
35121
35269
|
def min_max_threshold(self) -> Optional["scout_compute_api_MinMaxThresholdRanges"]:
|
|
35122
35270
|
"""
|
|
@@ -35180,6 +35328,8 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35180
35328
|
return visitor._not(self.not_)
|
|
35181
35329
|
if self._type == 'onChange' and self.on_change is not None:
|
|
35182
35330
|
return visitor._on_change(self.on_change)
|
|
35331
|
+
if self._type == 'approximateThreshold' and self.approximate_threshold is not None:
|
|
35332
|
+
return visitor._approximate_threshold(self.approximate_threshold)
|
|
35183
35333
|
if self._type == 'minMaxThreshold' and self.min_max_threshold is not None:
|
|
35184
35334
|
return visitor._min_max_threshold(self.min_max_threshold)
|
|
35185
35335
|
if self._type == 'peak' and self.peak is not None:
|
|
@@ -35231,6 +35381,10 @@ class scout_compute_api_RangeSeriesVisitor:
|
|
|
35231
35381
|
def _on_change(self, on_change: "scout_compute_api_OnChangeRanges") -> Any:
|
|
35232
35382
|
pass
|
|
35233
35383
|
|
|
35384
|
+
@abstractmethod
|
|
35385
|
+
def _approximate_threshold(self, approximate_threshold: "scout_compute_api_ApproximateThresholdRanges") -> Any:
|
|
35386
|
+
pass
|
|
35387
|
+
|
|
35234
35388
|
@abstractmethod
|
|
35235
35389
|
def _min_max_threshold(self, min_max_threshold: "scout_compute_api_MinMaxThresholdRanges") -> Any:
|
|
35236
35390
|
pass
|
|
@@ -5,6 +5,8 @@ from .._impl import (
|
|
|
5
5
|
scout_compute_api_AggregateEnumSeries as AggregateEnumSeries,
|
|
6
6
|
scout_compute_api_AggregateNumericSeries as AggregateNumericSeries,
|
|
7
7
|
scout_compute_api_AllowNegativeValues as AllowNegativeValues,
|
|
8
|
+
scout_compute_api_ApproximateThresholdOperator as ApproximateThresholdOperator,
|
|
9
|
+
scout_compute_api_ApproximateThresholdRanges as ApproximateThresholdRanges,
|
|
8
10
|
scout_compute_api_ArithmeticSeries as ArithmeticSeries,
|
|
9
11
|
scout_compute_api_AssetChannel as AssetChannel,
|
|
10
12
|
scout_compute_api_Average as Average,
|
|
@@ -150,6 +152,7 @@ from .._impl import (
|
|
|
150
152
|
scout_compute_api_NegativeValueConfigurationVisitor as NegativeValueConfigurationVisitor,
|
|
151
153
|
scout_compute_api_NotRanges as NotRanges,
|
|
152
154
|
scout_compute_api_NumericAggregationFunction as NumericAggregationFunction,
|
|
155
|
+
scout_compute_api_NumericApproximateFilterSeries as NumericApproximateFilterSeries,
|
|
153
156
|
scout_compute_api_NumericBucket as NumericBucket,
|
|
154
157
|
scout_compute_api_NumericFilterTransformationSeries as NumericFilterTransformationSeries,
|
|
155
158
|
scout_compute_api_NumericHistogramBucket as NumericHistogramBucket,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=voCdPksrPBZj3_UBZHIHIjaY5SjEgCPene4y9WOs4zE,1762
|
|
2
|
+
nominal_api/_impl.py,sha256=WUA3AN68sL4wOVLPc0K7Uiup6QU-D756eV_8vR3Exak,2676840
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=mncavtSkHRCv-7xIkNkEX_XHnVgTPQwJyD6JDoaKwsQ,830
|
|
5
5
|
nominal_api/api_rids/__init__.py,sha256=vLyAVUPTfk7u9D_K_7MHE-2Pf8leC5JxC-o8NrrnOPk,337
|
|
@@ -28,7 +28,7 @@ nominal_api/scout_checklistexecution_api/__init__.py,sha256=PfMFzie0xO5d5WSpB3bE
|
|
|
28
28
|
nominal_api/scout_checks_api/__init__.py,sha256=RJH7HsXjUhItC11V9C-hfv6lkIfiSXyxnB8slUpaT2g,5203
|
|
29
29
|
nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=8BL5jE9NDxqCj9DyvZWSPhq6zw2J7xp6aLsl3x9rpyw,4530
|
|
30
30
|
nominal_api/scout_comparisonrun_api/__init__.py,sha256=1LCXQe64tDqqeMQixW8PI-R_edSz7F5X0x2_ufEuC8M,480
|
|
31
|
-
nominal_api/scout_compute_api/__init__.py,sha256=
|
|
31
|
+
nominal_api/scout_compute_api/__init__.py,sha256=dPgSc95yeaIn8kTEd5Cw_ARB4XbVJdksMqG__bmmHDM,16508
|
|
32
32
|
nominal_api/scout_compute_api_deprecated/__init__.py,sha256=RggSfc6C1VR1-kNXPWybpfw3hZbkQ1gvxEisFZCHdnM,3732
|
|
33
33
|
nominal_api/scout_compute_representation_api/__init__.py,sha256=FezODo7sI8m6tDhPPK_gZX1qXImi4O3TUprDoNUuWpk,1672
|
|
34
34
|
nominal_api/scout_compute_resolved_api/__init__.py,sha256=Lknm4GP9Bk5QrDt8N7q1KD7Xa82R8q4jZyHYxSPkIs4,8260
|
|
@@ -65,7 +65,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=wr83ByQTVVPOGvbB_KWL
|
|
|
65
65
|
nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
|
|
66
66
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=YLixotb-W-adYR6t_RBsJDwoHttppkOBesoaXERwhVs,1240
|
|
67
67
|
nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
|
|
68
|
-
nominal_api-0.
|
|
69
|
-
nominal_api-0.
|
|
70
|
-
nominal_api-0.
|
|
71
|
-
nominal_api-0.
|
|
68
|
+
nominal_api-0.549.0.dist-info/METADATA,sha256=LQKO2ymoQW1JjJBcmV9kBOxehQ_258mkQvFjbE2g51I,199
|
|
69
|
+
nominal_api-0.549.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
70
|
+
nominal_api-0.549.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
71
|
+
nominal_api-0.549.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|