nominal-api 0.908.0__py3-none-any.whl → 0.909.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 +141 -4
- nominal_api/scout_compute_api/__init__.py +2 -0
- nominal_api/scout_compute_resolved_api/__init__.py +2 -0
- {nominal_api-0.908.0.dist-info → nominal_api-0.909.0.dist-info}/METADATA +1 -1
- {nominal_api-0.908.0.dist-info → nominal_api-0.909.0.dist-info}/RECORD +8 -8
- {nominal_api-0.908.0.dist-info → nominal_api-0.909.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.908.0.dist-info → nominal_api-0.909.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -46912,6 +46912,60 @@ scout_compute_api_FftWindow.__qualname__ = "FftWindow"
|
|
|
46912
46912
|
scout_compute_api_FftWindow.__module__ = "nominal_api.scout_compute_api"
|
|
46913
46913
|
|
|
46914
46914
|
|
|
46915
|
+
class scout_compute_api_FilterByExpressionSeries(ConjureBeanType):
|
|
46916
|
+
"""Keeps points from the base series where the boolean expression evaluates to true. Only outputs timestamps
|
|
46917
|
+
where all input series have an entry for that timestamp, or a value can be filled using the interpolation
|
|
46918
|
+
configuration.
|
|
46919
|
+
"""
|
|
46920
|
+
|
|
46921
|
+
@builtins.classmethod
|
|
46922
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
46923
|
+
return {
|
|
46924
|
+
'base': ConjureFieldDefinition('base', scout_compute_api_LocalVariableName),
|
|
46925
|
+
'inputs': ConjureFieldDefinition('inputs', Dict[scout_compute_api_LocalVariableName, scout_compute_api_NumericSeries]),
|
|
46926
|
+
'expression': ConjureFieldDefinition('expression', str),
|
|
46927
|
+
'interpolation_configuration': ConjureFieldDefinition('interpolationConfiguration', OptionalTypeWrapper[scout_compute_api_InterpolationConfiguration])
|
|
46928
|
+
}
|
|
46929
|
+
|
|
46930
|
+
__slots__: List[str] = ['_base', '_inputs', '_expression', '_interpolation_configuration']
|
|
46931
|
+
|
|
46932
|
+
def __init__(self, base: str, expression: str, inputs: Dict[str, "scout_compute_api_NumericSeries"], interpolation_configuration: Optional["scout_compute_api_InterpolationConfiguration"] = None) -> None:
|
|
46933
|
+
self._base = base
|
|
46934
|
+
self._inputs = inputs
|
|
46935
|
+
self._expression = expression
|
|
46936
|
+
self._interpolation_configuration = interpolation_configuration
|
|
46937
|
+
|
|
46938
|
+
@builtins.property
|
|
46939
|
+
def base(self) -> str:
|
|
46940
|
+
"""The variable name for the series that will be returned by this filter. The expression can filter points
|
|
46941
|
+
conditional on multiple series. The base defines which series' points will be returned after applying all the filters.
|
|
46942
|
+
"""
|
|
46943
|
+
return self._base
|
|
46944
|
+
|
|
46945
|
+
@builtins.property
|
|
46946
|
+
def inputs(self) -> Dict[str, "scout_compute_api_NumericSeries"]:
|
|
46947
|
+
"""A map containing all the numeric series present in the expression.
|
|
46948
|
+
"""
|
|
46949
|
+
return self._inputs
|
|
46950
|
+
|
|
46951
|
+
@builtins.property
|
|
46952
|
+
def expression(self) -> str:
|
|
46953
|
+
"""An expression that evaluates to a boolean. For example - a > 5.
|
|
46954
|
+
"""
|
|
46955
|
+
return self._expression
|
|
46956
|
+
|
|
46957
|
+
@builtins.property
|
|
46958
|
+
def interpolation_configuration(self) -> Optional["scout_compute_api_InterpolationConfiguration"]:
|
|
46959
|
+
"""Defaults to forward fill interpolation with a 1s interpolation radius
|
|
46960
|
+
"""
|
|
46961
|
+
return self._interpolation_configuration
|
|
46962
|
+
|
|
46963
|
+
|
|
46964
|
+
scout_compute_api_FilterByExpressionSeries.__name__ = "FilterByExpressionSeries"
|
|
46965
|
+
scout_compute_api_FilterByExpressionSeries.__qualname__ = "FilterByExpressionSeries"
|
|
46966
|
+
scout_compute_api_FilterByExpressionSeries.__module__ = "nominal_api.scout_compute_api"
|
|
46967
|
+
|
|
46968
|
+
|
|
46915
46969
|
class scout_compute_api_FirstPointMatchingCondition(ConjureBeanType):
|
|
46916
46970
|
"""The first point in the output range will be the first point where the condition evaluates to true.
|
|
46917
46971
|
"""
|
|
@@ -49877,6 +49931,7 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
49877
49931
|
_select1d_array_index: Optional["scout_compute_api_SelectIndexFrom1dNumericArraySeries"] = None
|
|
49878
49932
|
_select_newest_points: Optional["scout_compute_api_SelectNewestPointsSeries"] = None
|
|
49879
49933
|
_aggregate_under_ranges: Optional["scout_compute_api_AggregateUnderRangesSeries"] = None
|
|
49934
|
+
_filter_by_expression: Optional["scout_compute_api_FilterByExpressionSeries"] = None
|
|
49880
49935
|
|
|
49881
49936
|
@builtins.classmethod
|
|
49882
49937
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -49915,7 +49970,8 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
49915
49970
|
'approximate_filter': ConjureFieldDefinition('approximateFilter', scout_compute_api_NumericApproximateFilterSeries),
|
|
49916
49971
|
'select1d_array_index': ConjureFieldDefinition('select1dArrayIndex', scout_compute_api_SelectIndexFrom1dNumericArraySeries),
|
|
49917
49972
|
'select_newest_points': ConjureFieldDefinition('selectNewestPoints', scout_compute_api_SelectNewestPointsSeries),
|
|
49918
|
-
'aggregate_under_ranges': ConjureFieldDefinition('aggregateUnderRanges', scout_compute_api_AggregateUnderRangesSeries)
|
|
49973
|
+
'aggregate_under_ranges': ConjureFieldDefinition('aggregateUnderRanges', scout_compute_api_AggregateUnderRangesSeries),
|
|
49974
|
+
'filter_by_expression': ConjureFieldDefinition('filterByExpression', scout_compute_api_FilterByExpressionSeries)
|
|
49919
49975
|
}
|
|
49920
49976
|
|
|
49921
49977
|
def __init__(
|
|
@@ -49955,10 +50011,11 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
49955
50011
|
select1d_array_index: Optional["scout_compute_api_SelectIndexFrom1dNumericArraySeries"] = None,
|
|
49956
50012
|
select_newest_points: Optional["scout_compute_api_SelectNewestPointsSeries"] = None,
|
|
49957
50013
|
aggregate_under_ranges: Optional["scout_compute_api_AggregateUnderRangesSeries"] = None,
|
|
50014
|
+
filter_by_expression: Optional["scout_compute_api_FilterByExpressionSeries"] = None,
|
|
49958
50015
|
type_of_union: Optional[str] = None
|
|
49959
50016
|
) -> None:
|
|
49960
50017
|
if type_of_union is None:
|
|
49961
|
-
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) + (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) + (derived 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) + (absolute_timestamp 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) + (select1d_array_index is not None) + (select_newest_points is not None) + (aggregate_under_ranges is not None) != 1:
|
|
50018
|
+
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) + (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) + (derived 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) + (absolute_timestamp 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) + (select1d_array_index is not None) + (select_newest_points is not None) + (aggregate_under_ranges is not None) + (filter_by_expression is not None) != 1:
|
|
49962
50019
|
raise ValueError('a union must contain a single member')
|
|
49963
50020
|
|
|
49964
50021
|
if aggregate is not None:
|
|
@@ -50066,6 +50123,9 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
50066
50123
|
if aggregate_under_ranges is not None:
|
|
50067
50124
|
self._aggregate_under_ranges = aggregate_under_ranges
|
|
50068
50125
|
self._type = 'aggregateUnderRanges'
|
|
50126
|
+
if filter_by_expression is not None:
|
|
50127
|
+
self._filter_by_expression = filter_by_expression
|
|
50128
|
+
self._type = 'filterByExpression'
|
|
50069
50129
|
|
|
50070
50130
|
elif type_of_union == 'aggregate':
|
|
50071
50131
|
if aggregate is None:
|
|
@@ -50242,6 +50302,11 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
50242
50302
|
raise ValueError('a union value must not be None')
|
|
50243
50303
|
self._aggregate_under_ranges = aggregate_under_ranges
|
|
50244
50304
|
self._type = 'aggregateUnderRanges'
|
|
50305
|
+
elif type_of_union == 'filterByExpression':
|
|
50306
|
+
if filter_by_expression is None:
|
|
50307
|
+
raise ValueError('a union value must not be None')
|
|
50308
|
+
self._filter_by_expression = filter_by_expression
|
|
50309
|
+
self._type = 'filterByExpression'
|
|
50245
50310
|
|
|
50246
50311
|
@builtins.property
|
|
50247
50312
|
def aggregate(self) -> Optional["scout_compute_api_AggregateNumericSeries"]:
|
|
@@ -50383,6 +50448,10 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
50383
50448
|
def aggregate_under_ranges(self) -> Optional["scout_compute_api_AggregateUnderRangesSeries"]:
|
|
50384
50449
|
return self._aggregate_under_ranges
|
|
50385
50450
|
|
|
50451
|
+
@builtins.property
|
|
50452
|
+
def filter_by_expression(self) -> Optional["scout_compute_api_FilterByExpressionSeries"]:
|
|
50453
|
+
return self._filter_by_expression
|
|
50454
|
+
|
|
50386
50455
|
def accept(self, visitor) -> Any:
|
|
50387
50456
|
if not isinstance(visitor, scout_compute_api_NumericSeriesVisitor):
|
|
50388
50457
|
raise ValueError('{} is not an instance of scout_compute_api_NumericSeriesVisitor'.format(visitor.__class__.__name__))
|
|
@@ -50456,6 +50525,8 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
|
|
|
50456
50525
|
return visitor._select_newest_points(self.select_newest_points)
|
|
50457
50526
|
if self._type == 'aggregateUnderRanges' and self.aggregate_under_ranges is not None:
|
|
50458
50527
|
return visitor._aggregate_under_ranges(self.aggregate_under_ranges)
|
|
50528
|
+
if self._type == 'filterByExpression' and self.filter_by_expression is not None:
|
|
50529
|
+
return visitor._filter_by_expression(self.filter_by_expression)
|
|
50459
50530
|
|
|
50460
50531
|
|
|
50461
50532
|
scout_compute_api_NumericSeries.__name__ = "NumericSeries"
|
|
@@ -50605,6 +50676,10 @@ class scout_compute_api_NumericSeriesVisitor:
|
|
|
50605
50676
|
def _aggregate_under_ranges(self, aggregate_under_ranges: "scout_compute_api_AggregateUnderRangesSeries") -> Any:
|
|
50606
50677
|
pass
|
|
50607
50678
|
|
|
50679
|
+
@abstractmethod
|
|
50680
|
+
def _filter_by_expression(self, filter_by_expression: "scout_compute_api_FilterByExpressionSeries") -> Any:
|
|
50681
|
+
pass
|
|
50682
|
+
|
|
50608
50683
|
|
|
50609
50684
|
scout_compute_api_NumericSeriesVisitor.__name__ = "NumericSeriesVisitor"
|
|
50610
50685
|
scout_compute_api_NumericSeriesVisitor.__qualname__ = "NumericSeriesVisitor"
|
|
@@ -59655,6 +59730,47 @@ scout_compute_resolved_api_FftNode.__qualname__ = "FftNode"
|
|
|
59655
59730
|
scout_compute_resolved_api_FftNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
59656
59731
|
|
|
59657
59732
|
|
|
59733
|
+
class scout_compute_resolved_api_FilterByExpressionSeriesNode(ConjureBeanType):
|
|
59734
|
+
|
|
59735
|
+
@builtins.classmethod
|
|
59736
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
59737
|
+
return {
|
|
59738
|
+
'base': ConjureFieldDefinition('base', scout_compute_api_LocalVariableName),
|
|
59739
|
+
'inputs': ConjureFieldDefinition('inputs', Dict[scout_compute_api_LocalVariableName, scout_compute_resolved_api_NumericSeriesNode]),
|
|
59740
|
+
'expression': ConjureFieldDefinition('expression', str),
|
|
59741
|
+
'interpolation_configuration': ConjureFieldDefinition('interpolationConfiguration', scout_compute_resolved_api_InterpolationConfiguration)
|
|
59742
|
+
}
|
|
59743
|
+
|
|
59744
|
+
__slots__: List[str] = ['_base', '_inputs', '_expression', '_interpolation_configuration']
|
|
59745
|
+
|
|
59746
|
+
def __init__(self, base: str, expression: str, inputs: Dict[str, "scout_compute_resolved_api_NumericSeriesNode"], interpolation_configuration: "scout_compute_resolved_api_InterpolationConfiguration") -> None:
|
|
59747
|
+
self._base = base
|
|
59748
|
+
self._inputs = inputs
|
|
59749
|
+
self._expression = expression
|
|
59750
|
+
self._interpolation_configuration = interpolation_configuration
|
|
59751
|
+
|
|
59752
|
+
@builtins.property
|
|
59753
|
+
def base(self) -> str:
|
|
59754
|
+
return self._base
|
|
59755
|
+
|
|
59756
|
+
@builtins.property
|
|
59757
|
+
def inputs(self) -> Dict[str, "scout_compute_resolved_api_NumericSeriesNode"]:
|
|
59758
|
+
return self._inputs
|
|
59759
|
+
|
|
59760
|
+
@builtins.property
|
|
59761
|
+
def expression(self) -> str:
|
|
59762
|
+
return self._expression
|
|
59763
|
+
|
|
59764
|
+
@builtins.property
|
|
59765
|
+
def interpolation_configuration(self) -> "scout_compute_resolved_api_InterpolationConfiguration":
|
|
59766
|
+
return self._interpolation_configuration
|
|
59767
|
+
|
|
59768
|
+
|
|
59769
|
+
scout_compute_resolved_api_FilterByExpressionSeriesNode.__name__ = "FilterByExpressionSeriesNode"
|
|
59770
|
+
scout_compute_resolved_api_FilterByExpressionSeriesNode.__qualname__ = "FilterByExpressionSeriesNode"
|
|
59771
|
+
scout_compute_resolved_api_FilterByExpressionSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
59772
|
+
|
|
59773
|
+
|
|
59658
59774
|
class scout_compute_resolved_api_ForwardFillInterpolation(ConjureBeanType):
|
|
59659
59775
|
|
|
59660
59776
|
@builtins.classmethod
|
|
@@ -60971,6 +61087,7 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
|
|
|
60971
61087
|
_absolute_timestamp: Optional["scout_compute_resolved_api_AbsoluteTimestampSeriesNode"] = None
|
|
60972
61088
|
_newest_points: Optional["scout_compute_resolved_api_SelectNewestPointsSeriesNode"] = None
|
|
60973
61089
|
_ranges_numeric_aggregation_to_numeric: Optional["scout_compute_resolved_api_RangesNumericAggregationToNumericSeriesNode"] = None
|
|
61090
|
+
_filter_by_expression: Optional["scout_compute_resolved_api_FilterByExpressionSeriesNode"] = None
|
|
60974
61091
|
|
|
60975
61092
|
@builtins.classmethod
|
|
60976
61093
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -61006,7 +61123,8 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
|
|
|
61006
61123
|
'array_select': ConjureFieldDefinition('arraySelect', scout_compute_resolved_api_SelectIndexFromNumericArraySeriesNode),
|
|
61007
61124
|
'absolute_timestamp': ConjureFieldDefinition('absoluteTimestamp', scout_compute_resolved_api_AbsoluteTimestampSeriesNode),
|
|
61008
61125
|
'newest_points': ConjureFieldDefinition('newestPoints', scout_compute_resolved_api_SelectNewestPointsSeriesNode),
|
|
61009
|
-
'ranges_numeric_aggregation_to_numeric': ConjureFieldDefinition('rangesNumericAggregationToNumeric', scout_compute_resolved_api_RangesNumericAggregationToNumericSeriesNode)
|
|
61126
|
+
'ranges_numeric_aggregation_to_numeric': ConjureFieldDefinition('rangesNumericAggregationToNumeric', scout_compute_resolved_api_RangesNumericAggregationToNumericSeriesNode),
|
|
61127
|
+
'filter_by_expression': ConjureFieldDefinition('filterByExpression', scout_compute_resolved_api_FilterByExpressionSeriesNode)
|
|
61010
61128
|
}
|
|
61011
61129
|
|
|
61012
61130
|
def __init__(
|
|
@@ -61043,10 +61161,11 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
|
|
|
61043
61161
|
absolute_timestamp: Optional["scout_compute_resolved_api_AbsoluteTimestampSeriesNode"] = None,
|
|
61044
61162
|
newest_points: Optional["scout_compute_resolved_api_SelectNewestPointsSeriesNode"] = None,
|
|
61045
61163
|
ranges_numeric_aggregation_to_numeric: Optional["scout_compute_resolved_api_RangesNumericAggregationToNumericSeriesNode"] = None,
|
|
61164
|
+
filter_by_expression: Optional["scout_compute_resolved_api_FilterByExpressionSeriesNode"] = None,
|
|
61046
61165
|
type_of_union: Optional[str] = None
|
|
61047
61166
|
) -> None:
|
|
61048
61167
|
if type_of_union is None:
|
|
61049
|
-
if (arithmetic is not None) + (bit_operation is not None) + (count_duplicate is not None) + (cumulative_sum is not None) + (derivative 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) + (resample is not None) + (rolling_operation is not None) + (aggregate 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) + (array_select is not None) + (absolute_timestamp is not None) + (newest_points is not None) + (ranges_numeric_aggregation_to_numeric is not None) != 1:
|
|
61168
|
+
if (arithmetic is not None) + (bit_operation is not None) + (count_duplicate is not None) + (cumulative_sum is not None) + (derivative 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) + (resample is not None) + (rolling_operation is not None) + (aggregate 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) + (array_select is not None) + (absolute_timestamp is not None) + (newest_points is not None) + (ranges_numeric_aggregation_to_numeric is not None) + (filter_by_expression is not None) != 1:
|
|
61050
61169
|
raise ValueError('a union must contain a single member')
|
|
61051
61170
|
|
|
61052
61171
|
if arithmetic is not None:
|
|
@@ -61145,6 +61264,9 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
|
|
|
61145
61264
|
if ranges_numeric_aggregation_to_numeric is not None:
|
|
61146
61265
|
self._ranges_numeric_aggregation_to_numeric = ranges_numeric_aggregation_to_numeric
|
|
61147
61266
|
self._type = 'rangesNumericAggregationToNumeric'
|
|
61267
|
+
if filter_by_expression is not None:
|
|
61268
|
+
self._filter_by_expression = filter_by_expression
|
|
61269
|
+
self._type = 'filterByExpression'
|
|
61148
61270
|
|
|
61149
61271
|
elif type_of_union == 'arithmetic':
|
|
61150
61272
|
if arithmetic is None:
|
|
@@ -61306,6 +61428,11 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
|
|
|
61306
61428
|
raise ValueError('a union value must not be None')
|
|
61307
61429
|
self._ranges_numeric_aggregation_to_numeric = ranges_numeric_aggregation_to_numeric
|
|
61308
61430
|
self._type = 'rangesNumericAggregationToNumeric'
|
|
61431
|
+
elif type_of_union == 'filterByExpression':
|
|
61432
|
+
if filter_by_expression is None:
|
|
61433
|
+
raise ValueError('a union value must not be None')
|
|
61434
|
+
self._filter_by_expression = filter_by_expression
|
|
61435
|
+
self._type = 'filterByExpression'
|
|
61309
61436
|
|
|
61310
61437
|
@builtins.property
|
|
61311
61438
|
def arithmetic(self) -> Optional["scout_compute_resolved_api_ArithmeticSeriesNode"]:
|
|
@@ -61435,6 +61562,10 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
|
|
|
61435
61562
|
def ranges_numeric_aggregation_to_numeric(self) -> Optional["scout_compute_resolved_api_RangesNumericAggregationToNumericSeriesNode"]:
|
|
61436
61563
|
return self._ranges_numeric_aggregation_to_numeric
|
|
61437
61564
|
|
|
61565
|
+
@builtins.property
|
|
61566
|
+
def filter_by_expression(self) -> Optional["scout_compute_resolved_api_FilterByExpressionSeriesNode"]:
|
|
61567
|
+
return self._filter_by_expression
|
|
61568
|
+
|
|
61438
61569
|
def accept(self, visitor) -> Any:
|
|
61439
61570
|
if not isinstance(visitor, scout_compute_resolved_api_NumericSeriesNodeVisitor):
|
|
61440
61571
|
raise ValueError('{} is not an instance of scout_compute_resolved_api_NumericSeriesNodeVisitor'.format(visitor.__class__.__name__))
|
|
@@ -61502,6 +61633,8 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
|
|
|
61502
61633
|
return visitor._newest_points(self.newest_points)
|
|
61503
61634
|
if self._type == 'rangesNumericAggregationToNumeric' and self.ranges_numeric_aggregation_to_numeric is not None:
|
|
61504
61635
|
return visitor._ranges_numeric_aggregation_to_numeric(self.ranges_numeric_aggregation_to_numeric)
|
|
61636
|
+
if self._type == 'filterByExpression' and self.filter_by_expression is not None:
|
|
61637
|
+
return visitor._filter_by_expression(self.filter_by_expression)
|
|
61505
61638
|
|
|
61506
61639
|
|
|
61507
61640
|
scout_compute_resolved_api_NumericSeriesNode.__name__ = "NumericSeriesNode"
|
|
@@ -61639,6 +61772,10 @@ class scout_compute_resolved_api_NumericSeriesNodeVisitor:
|
|
|
61639
61772
|
def _ranges_numeric_aggregation_to_numeric(self, ranges_numeric_aggregation_to_numeric: "scout_compute_resolved_api_RangesNumericAggregationToNumericSeriesNode") -> Any:
|
|
61640
61773
|
pass
|
|
61641
61774
|
|
|
61775
|
+
@abstractmethod
|
|
61776
|
+
def _filter_by_expression(self, filter_by_expression: "scout_compute_resolved_api_FilterByExpressionSeriesNode") -> Any:
|
|
61777
|
+
pass
|
|
61778
|
+
|
|
61642
61779
|
|
|
61643
61780
|
scout_compute_resolved_api_NumericSeriesNodeVisitor.__name__ = "NumericSeriesNodeVisitor"
|
|
61644
61781
|
scout_compute_resolved_api_NumericSeriesNodeVisitor.__qualname__ = "NumericSeriesNodeVisitor"
|
|
@@ -145,6 +145,7 @@ from .._impl import (
|
|
|
145
145
|
scout_compute_api_ExponentialResultDetails as ExponentialResultDetails,
|
|
146
146
|
scout_compute_api_Fft as Fft,
|
|
147
147
|
scout_compute_api_FftWindow as FftWindow,
|
|
148
|
+
scout_compute_api_FilterByExpressionSeries as FilterByExpressionSeries,
|
|
148
149
|
scout_compute_api_FirstPointMatchingCondition as FirstPointMatchingCondition,
|
|
149
150
|
scout_compute_api_ForwardFillInterpolation as ForwardFillInterpolation,
|
|
150
151
|
scout_compute_api_ForwardFillResampleInterpolationConfiguration as ForwardFillResampleInterpolationConfiguration,
|
|
@@ -513,6 +514,7 @@ __all__ = [
|
|
|
513
514
|
'ExponentialResultDetails',
|
|
514
515
|
'Fft',
|
|
515
516
|
'FftWindow',
|
|
517
|
+
'FilterByExpressionSeries',
|
|
516
518
|
'FirstPointMatchingCondition',
|
|
517
519
|
'ForwardFillInterpolation',
|
|
518
520
|
'ForwardFillResampleInterpolationConfiguration',
|
|
@@ -46,6 +46,7 @@ from .._impl import (
|
|
|
46
46
|
scout_compute_resolved_api_ExponentialCurve as ExponentialCurve,
|
|
47
47
|
scout_compute_resolved_api_ExtremaRangesNode as ExtremaRangesNode,
|
|
48
48
|
scout_compute_resolved_api_FftNode as FftNode,
|
|
49
|
+
scout_compute_resolved_api_FilterByExpressionSeriesNode as FilterByExpressionSeriesNode,
|
|
49
50
|
scout_compute_resolved_api_ForwardFillInterpolation as ForwardFillInterpolation,
|
|
50
51
|
scout_compute_resolved_api_ForwardFillResampleInterpolationConfiguration as ForwardFillResampleInterpolationConfiguration,
|
|
51
52
|
scout_compute_resolved_api_FrequencyDomainNode as FrequencyDomainNode,
|
|
@@ -210,6 +211,7 @@ __all__ = [
|
|
|
210
211
|
'ExponentialCurve',
|
|
211
212
|
'ExtremaRangesNode',
|
|
212
213
|
'FftNode',
|
|
214
|
+
'FilterByExpressionSeriesNode',
|
|
213
215
|
'ForwardFillInterpolation',
|
|
214
216
|
'ForwardFillResampleInterpolationConfiguration',
|
|
215
217
|
'FrequencyDomainNode',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=JL1dwrufXbILjx7vXmeZJSx-tCxqDfWDApJAMe2kjcc,2088
|
|
2
|
+
nominal_api/_impl.py,sha256=skjUVGReddMSDY3Nxxys9jz4_HB0bqRepyzJS1RVr2E,3786251
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=GqRLE9wwPPQgALVHFJViG8E4JJ2t3yfHedeXRLu1L70,2226
|
|
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=F5cQo_KqeTpFwqKBDV-iEjrND7xQgkycC1yocpxq1Qk,6277
|
|
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=wA_6Ip0rmGqS1Q3hS4NtyZJnak4tZ8rdisvUFK-BLVE,33751
|
|
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=hPqFEk6hpnBiD8FYg-bxzFIeQtdhMOD__Ars5xcqtUo,17608
|
|
39
39
|
nominal_api/scout_dataexport_api/__init__.py,sha256=E5hE8rqLbdCH1n877yLh_NjpP1RkJOWgqesH-ObhK1o,2122
|
|
40
40
|
nominal_api/scout_datareview_api/__init__.py,sha256=ITQR6pdPseU9vS2bKDeleafiBhurtHmcHeKz_6J8Ab8,12229
|
|
41
41
|
nominal_api/scout_datasource/__init__.py,sha256=Z1Msu1Daf8GlLuM3w5imyB-6DhTNZojxI6xpH1sSvhM,141
|
|
@@ -78,7 +78,7 @@ nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrR
|
|
|
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
80
|
nominal_api/usercreation_api/__init__.py,sha256=Q6M70SlKFVfIxZqRohD4XYmBz5t2DP1DB0a0Q6glqGA,171
|
|
81
|
-
nominal_api-0.
|
|
82
|
-
nominal_api-0.
|
|
83
|
-
nominal_api-0.
|
|
84
|
-
nominal_api-0.
|
|
81
|
+
nominal_api-0.909.0.dist-info/METADATA,sha256=YCsaFTc3urhK4NMpRR8oWHpgXTUGWHG_hO7uH-VdfY0,199
|
|
82
|
+
nominal_api-0.909.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
83
|
+
nominal_api-0.909.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
84
|
+
nominal_api-0.909.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|