nominal-api 0.915.0__py3-none-any.whl → 0.916.1__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 +283 -50
- nominal_api/scout_compute_api/__init__.py +8 -0
- nominal_api/scout_compute_resolved_api/__init__.py +2 -0
- {nominal_api-0.915.0.dist-info → nominal_api-0.916.1.dist-info}/METADATA +1 -1
- {nominal_api-0.915.0.dist-info → nominal_api-0.916.1.dist-info}/RECORD +8 -8
- {nominal_api-0.915.0.dist-info → nominal_api-0.916.1.dist-info}/WHEEL +0 -0
- {nominal_api-0.915.0.dist-info → nominal_api-0.916.1.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -14405,27 +14405,27 @@ class module_CreateModuleRequest(ConjureBeanType):
|
|
|
14405
14405
|
@builtins.classmethod
|
|
14406
14406
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
14407
14407
|
return {
|
|
14408
|
-
'
|
|
14408
|
+
'api_name': ConjureFieldDefinition('apiName', str),
|
|
14409
14409
|
'title': ConjureFieldDefinition('title', str),
|
|
14410
14410
|
'description': ConjureFieldDefinition('description', str),
|
|
14411
14411
|
'definition': ConjureFieldDefinition('definition', module_ModuleVersionDefinition),
|
|
14412
14412
|
'workspace': ConjureFieldDefinition('workspace', OptionalTypeWrapper[api_rids_WorkspaceRid])
|
|
14413
14413
|
}
|
|
14414
14414
|
|
|
14415
|
-
__slots__: List[str] = ['
|
|
14415
|
+
__slots__: List[str] = ['_api_name', '_title', '_description', '_definition', '_workspace']
|
|
14416
14416
|
|
|
14417
|
-
def __init__(self, definition: "module_ModuleVersionDefinition", description: str,
|
|
14418
|
-
self.
|
|
14417
|
+
def __init__(self, api_name: str, definition: "module_ModuleVersionDefinition", description: str, title: str, workspace: Optional[str] = None) -> None:
|
|
14418
|
+
self._api_name = api_name
|
|
14419
14419
|
self._title = title
|
|
14420
14420
|
self._description = description
|
|
14421
14421
|
self._definition = definition
|
|
14422
14422
|
self._workspace = workspace
|
|
14423
14423
|
|
|
14424
14424
|
@builtins.property
|
|
14425
|
-
def
|
|
14426
|
-
"""The name
|
|
14425
|
+
def api_name(self) -> str:
|
|
14426
|
+
"""The API name for the module. This string will uniquely identify the module within the organization.
|
|
14427
14427
|
"""
|
|
14428
|
-
return self.
|
|
14428
|
+
return self._api_name
|
|
14429
14429
|
|
|
14430
14430
|
@builtins.property
|
|
14431
14431
|
def title(self) -> str:
|
|
@@ -14456,18 +14456,18 @@ class module_DerivedSeriesMetadata(ConjureBeanType):
|
|
|
14456
14456
|
return {
|
|
14457
14457
|
'function_name': ConjureFieldDefinition('functionName', str),
|
|
14458
14458
|
'function_description': ConjureFieldDefinition('functionDescription', str),
|
|
14459
|
-
'
|
|
14459
|
+
'module_api_name': ConjureFieldDefinition('moduleApiName', str),
|
|
14460
14460
|
'module_application_rid': ConjureFieldDefinition('moduleApplicationRid', modules_api_ModuleApplicationRid),
|
|
14461
14461
|
'application_resolved_parameters': ConjureFieldDefinition('applicationResolvedParameters', List[module_ModuleVariable]),
|
|
14462
14462
|
'data_type': ConjureFieldDefinition('dataType', module_ValueType)
|
|
14463
14463
|
}
|
|
14464
14464
|
|
|
14465
|
-
__slots__: List[str] = ['_function_name', '_function_description', '
|
|
14465
|
+
__slots__: List[str] = ['_function_name', '_function_description', '_module_api_name', '_module_application_rid', '_application_resolved_parameters', '_data_type']
|
|
14466
14466
|
|
|
14467
|
-
def __init__(self, application_resolved_parameters: List["module_ModuleVariable"], data_type: "module_ValueType", function_description: str, function_name: str,
|
|
14467
|
+
def __init__(self, application_resolved_parameters: List["module_ModuleVariable"], data_type: "module_ValueType", function_description: str, function_name: str, module_api_name: str, module_application_rid: str) -> None:
|
|
14468
14468
|
self._function_name = function_name
|
|
14469
14469
|
self._function_description = function_description
|
|
14470
|
-
self.
|
|
14470
|
+
self._module_api_name = module_api_name
|
|
14471
14471
|
self._module_application_rid = module_application_rid
|
|
14472
14472
|
self._application_resolved_parameters = application_resolved_parameters
|
|
14473
14473
|
self._data_type = data_type
|
|
@@ -14481,8 +14481,8 @@ class module_DerivedSeriesMetadata(ConjureBeanType):
|
|
|
14481
14481
|
return self._function_description
|
|
14482
14482
|
|
|
14483
14483
|
@builtins.property
|
|
14484
|
-
def
|
|
14485
|
-
return self.
|
|
14484
|
+
def module_api_name(self) -> str:
|
|
14485
|
+
return self._module_api_name
|
|
14486
14486
|
|
|
14487
14487
|
@builtins.property
|
|
14488
14488
|
def module_application_rid(self) -> str:
|
|
@@ -14875,7 +14875,7 @@ class module_ModuleMetadata(ConjureBeanType):
|
|
|
14875
14875
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
14876
14876
|
return {
|
|
14877
14877
|
'rid': ConjureFieldDefinition('rid', modules_api_ModuleRid),
|
|
14878
|
-
'
|
|
14878
|
+
'api_name': ConjureFieldDefinition('apiName', str),
|
|
14879
14879
|
'title': ConjureFieldDefinition('title', str),
|
|
14880
14880
|
'description': ConjureFieldDefinition('description', str),
|
|
14881
14881
|
'created_by': ConjureFieldDefinition('createdBy', scout_rids_api_UserRid),
|
|
@@ -14883,11 +14883,11 @@ class module_ModuleMetadata(ConjureBeanType):
|
|
|
14883
14883
|
'archived_at': ConjureFieldDefinition('archivedAt', OptionalTypeWrapper[str])
|
|
14884
14884
|
}
|
|
14885
14885
|
|
|
14886
|
-
__slots__: List[str] = ['_rid', '
|
|
14886
|
+
__slots__: List[str] = ['_rid', '_api_name', '_title', '_description', '_created_by', '_created_at', '_archived_at']
|
|
14887
14887
|
|
|
14888
|
-
def __init__(self,
|
|
14888
|
+
def __init__(self, api_name: str, created_at: str, created_by: str, description: str, rid: str, title: str, archived_at: Optional[str] = None) -> None:
|
|
14889
14889
|
self._rid = rid
|
|
14890
|
-
self.
|
|
14890
|
+
self._api_name = api_name
|
|
14891
14891
|
self._title = title
|
|
14892
14892
|
self._description = description
|
|
14893
14893
|
self._created_by = created_by
|
|
@@ -14899,11 +14899,11 @@ class module_ModuleMetadata(ConjureBeanType):
|
|
|
14899
14899
|
return self._rid
|
|
14900
14900
|
|
|
14901
14901
|
@builtins.property
|
|
14902
|
-
def
|
|
14903
|
-
"""
|
|
14902
|
+
def api_name(self) -> str:
|
|
14903
|
+
"""This uniquely identifies the module within the org.
|
|
14904
14904
|
Note that this cannot be changed after creation.
|
|
14905
14905
|
"""
|
|
14906
|
-
return self.
|
|
14906
|
+
return self._api_name
|
|
14907
14907
|
|
|
14908
14908
|
@builtins.property
|
|
14909
14909
|
def title(self) -> str:
|
|
@@ -14968,15 +14968,15 @@ class module_ModuleRef(ConjureBeanType):
|
|
|
14968
14968
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
14969
14969
|
return {
|
|
14970
14970
|
'rid': ConjureFieldDefinition('rid', modules_api_ModuleRid),
|
|
14971
|
-
'
|
|
14971
|
+
'api_name': ConjureFieldDefinition('apiName', str),
|
|
14972
14972
|
'version': ConjureFieldDefinition('version', module_ModuleVersion)
|
|
14973
14973
|
}
|
|
14974
14974
|
|
|
14975
|
-
__slots__: List[str] = ['_rid', '
|
|
14975
|
+
__slots__: List[str] = ['_rid', '_api_name', '_version']
|
|
14976
14976
|
|
|
14977
|
-
def __init__(self,
|
|
14977
|
+
def __init__(self, api_name: str, rid: str, version: str) -> None:
|
|
14978
14978
|
self._rid = rid
|
|
14979
|
-
self.
|
|
14979
|
+
self._api_name = api_name
|
|
14980
14980
|
self._version = version
|
|
14981
14981
|
|
|
14982
14982
|
@builtins.property
|
|
@@ -14984,8 +14984,8 @@ class module_ModuleRef(ConjureBeanType):
|
|
|
14984
14984
|
return self._rid
|
|
14985
14985
|
|
|
14986
14986
|
@builtins.property
|
|
14987
|
-
def
|
|
14988
|
-
return self.
|
|
14987
|
+
def api_name(self) -> str:
|
|
14988
|
+
return self._api_name
|
|
14989
14989
|
|
|
14990
14990
|
@builtins.property
|
|
14991
14991
|
def version(self) -> str:
|
|
@@ -14999,7 +14999,7 @@ module_ModuleRef.__module__ = "nominal_api.module"
|
|
|
14999
14999
|
|
|
15000
15000
|
class module_ModuleService(Service):
|
|
15001
15001
|
"""Modules define collections of compute logic that can be shared and used across different contexts by applying them
|
|
15002
|
-
to assets. The Modules Service provides the
|
|
15002
|
+
to assets. The Modules Service provides the API for managing these collections and using them.
|
|
15003
15003
|
"""
|
|
15004
15004
|
|
|
15005
15005
|
def create_module(self, auth_header: str, request: "module_CreateModuleRequest") -> "module_Module":
|
|
@@ -15536,19 +15536,19 @@ class module_RequestModuleNameRef(ConjureBeanType):
|
|
|
15536
15536
|
@builtins.classmethod
|
|
15537
15537
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15538
15538
|
return {
|
|
15539
|
-
'
|
|
15539
|
+
'api_name': ConjureFieldDefinition('apiName', str),
|
|
15540
15540
|
'version_strategy': ConjureFieldDefinition('versionStrategy', module_VersionStrategy)
|
|
15541
15541
|
}
|
|
15542
15542
|
|
|
15543
|
-
__slots__: List[str] = ['
|
|
15543
|
+
__slots__: List[str] = ['_api_name', '_version_strategy']
|
|
15544
15544
|
|
|
15545
|
-
def __init__(self,
|
|
15546
|
-
self.
|
|
15545
|
+
def __init__(self, api_name: str, version_strategy: "module_VersionStrategy") -> None:
|
|
15546
|
+
self._api_name = api_name
|
|
15547
15547
|
self._version_strategy = version_strategy
|
|
15548
15548
|
|
|
15549
15549
|
@builtins.property
|
|
15550
|
-
def
|
|
15551
|
-
return self.
|
|
15550
|
+
def api_name(self) -> str:
|
|
15551
|
+
return self._api_name
|
|
15552
15552
|
|
|
15553
15553
|
@builtins.property
|
|
15554
15554
|
def version_strategy(self) -> "module_VersionStrategy":
|
|
@@ -16544,25 +16544,25 @@ class module_internal_ModuleComputeDefinition(ConjureBeanType):
|
|
|
16544
16544
|
@builtins.classmethod
|
|
16545
16545
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16546
16546
|
return {
|
|
16547
|
-
'
|
|
16547
|
+
'module_api_name': ConjureFieldDefinition('moduleApiName', str),
|
|
16548
16548
|
'module_rid': ConjureFieldDefinition('moduleRid', modules_api_ModuleRid),
|
|
16549
16549
|
'version': ConjureFieldDefinition('version', module_ModuleVersion),
|
|
16550
16550
|
'default_variables': ConjureFieldDefinition('defaultVariables', List[module_ModuleVariable]),
|
|
16551
16551
|
'functions': ConjureFieldDefinition('functions', List[module_Function])
|
|
16552
16552
|
}
|
|
16553
16553
|
|
|
16554
|
-
__slots__: List[str] = ['
|
|
16554
|
+
__slots__: List[str] = ['_module_api_name', '_module_rid', '_version', '_default_variables', '_functions']
|
|
16555
16555
|
|
|
16556
|
-
def __init__(self, default_variables: List["module_ModuleVariable"], functions: List["module_Function"],
|
|
16557
|
-
self.
|
|
16556
|
+
def __init__(self, default_variables: List["module_ModuleVariable"], functions: List["module_Function"], module_api_name: str, module_rid: str, version: str) -> None:
|
|
16557
|
+
self._module_api_name = module_api_name
|
|
16558
16558
|
self._module_rid = module_rid
|
|
16559
16559
|
self._version = version
|
|
16560
16560
|
self._default_variables = default_variables
|
|
16561
16561
|
self._functions = functions
|
|
16562
16562
|
|
|
16563
16563
|
@builtins.property
|
|
16564
|
-
def
|
|
16565
|
-
return self.
|
|
16564
|
+
def module_api_name(self) -> str:
|
|
16565
|
+
return self._module_api_name
|
|
16566
16566
|
|
|
16567
16567
|
@builtins.property
|
|
16568
16568
|
def module_rid(self) -> str:
|
|
@@ -50757,6 +50757,46 @@ scout_compute_api_OutputRangeStartVisitor.__qualname__ = "OutputRangeStartVisito
|
|
|
50757
50757
|
scout_compute_api_OutputRangeStartVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
50758
50758
|
|
|
50759
50759
|
|
|
50760
|
+
class scout_compute_api_PaddedRanges(ConjureBeanType):
|
|
50761
|
+
"""Expands ranges durations by adding temporal padding to the start, end, or both sides. Note that if the input
|
|
50762
|
+
ranges contain a RangeValue, it will be dropped.
|
|
50763
|
+
"""
|
|
50764
|
+
|
|
50765
|
+
@builtins.classmethod
|
|
50766
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
50767
|
+
return {
|
|
50768
|
+
'input': ConjureFieldDefinition('input', scout_compute_api_RangeSeries),
|
|
50769
|
+
'padding': ConjureFieldDefinition('padding', scout_compute_api_DurationConstant),
|
|
50770
|
+
'padding_configuration': ConjureFieldDefinition('paddingConfiguration', OptionalTypeWrapper[scout_compute_api_RangePaddingConfiguration])
|
|
50771
|
+
}
|
|
50772
|
+
|
|
50773
|
+
__slots__: List[str] = ['_input', '_padding', '_padding_configuration']
|
|
50774
|
+
|
|
50775
|
+
def __init__(self, input: "scout_compute_api_RangeSeries", padding: "scout_compute_api_DurationConstant", padding_configuration: Optional["scout_compute_api_RangePaddingConfiguration"] = None) -> None:
|
|
50776
|
+
self._input = input
|
|
50777
|
+
self._padding = padding
|
|
50778
|
+
self._padding_configuration = padding_configuration
|
|
50779
|
+
|
|
50780
|
+
@builtins.property
|
|
50781
|
+
def input(self) -> "scout_compute_api_RangeSeries":
|
|
50782
|
+
return self._input
|
|
50783
|
+
|
|
50784
|
+
@builtins.property
|
|
50785
|
+
def padding(self) -> "scout_compute_api_DurationConstant":
|
|
50786
|
+
return self._padding
|
|
50787
|
+
|
|
50788
|
+
@builtins.property
|
|
50789
|
+
def padding_configuration(self) -> Optional["scout_compute_api_RangePaddingConfiguration"]:
|
|
50790
|
+
"""Configuration for how to apply padding to the ranges. Defaults to PAD_START_AND_END if not specified.
|
|
50791
|
+
"""
|
|
50792
|
+
return self._padding_configuration
|
|
50793
|
+
|
|
50794
|
+
|
|
50795
|
+
scout_compute_api_PaddedRanges.__name__ = "PaddedRanges"
|
|
50796
|
+
scout_compute_api_PaddedRanges.__qualname__ = "PaddedRanges"
|
|
50797
|
+
scout_compute_api_PaddedRanges.__module__ = "nominal_api.scout_compute_api"
|
|
50798
|
+
|
|
50799
|
+
|
|
50760
50800
|
class scout_compute_api_PageInfo(ConjureBeanType):
|
|
50761
50801
|
"""Specification of a page for a series. Returns raw undecimated points beginning nearest to the given page
|
|
50762
50802
|
token, advancing pageSize points in the time direction specified by the sign of the page size.
|
|
@@ -51904,6 +51944,26 @@ scout_compute_api_RangeMap.__qualname__ = "RangeMap"
|
|
|
51904
51944
|
scout_compute_api_RangeMap.__module__ = "nominal_api.scout_compute_api"
|
|
51905
51945
|
|
|
51906
51946
|
|
|
51947
|
+
class scout_compute_api_RangePaddingConfiguration(ConjureEnumType):
|
|
51948
|
+
|
|
51949
|
+
PAD_START = 'PAD_START'
|
|
51950
|
+
'''PAD_START'''
|
|
51951
|
+
PAD_END = 'PAD_END'
|
|
51952
|
+
'''PAD_END'''
|
|
51953
|
+
PAD_START_AND_END = 'PAD_START_AND_END'
|
|
51954
|
+
'''PAD_START_AND_END'''
|
|
51955
|
+
UNKNOWN = 'UNKNOWN'
|
|
51956
|
+
'''UNKNOWN'''
|
|
51957
|
+
|
|
51958
|
+
def __reduce_ex__(self, proto):
|
|
51959
|
+
return self.__class__, (self.name,)
|
|
51960
|
+
|
|
51961
|
+
|
|
51962
|
+
scout_compute_api_RangePaddingConfiguration.__name__ = "RangePaddingConfiguration"
|
|
51963
|
+
scout_compute_api_RangePaddingConfiguration.__qualname__ = "RangePaddingConfiguration"
|
|
51964
|
+
scout_compute_api_RangePaddingConfiguration.__module__ = "nominal_api.scout_compute_api"
|
|
51965
|
+
|
|
51966
|
+
|
|
51907
51967
|
class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
51908
51968
|
_approximate_threshold: Optional["scout_compute_api_ApproximateThresholdRanges"] = None
|
|
51909
51969
|
_duration_filter: Optional["scout_compute_api_DurationFilterRanges"] = None
|
|
@@ -51925,6 +51985,7 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
51925
51985
|
_stale_range: Optional["scout_compute_api_StaleRanges"] = None
|
|
51926
51986
|
_threshold: Optional["scout_compute_api_ThresholdingRanges"] = None
|
|
51927
51987
|
_union_range: Optional["scout_compute_api_UnionRanges"] = None
|
|
51988
|
+
_padded_ranges: Optional["scout_compute_api_PaddedRanges"] = None
|
|
51928
51989
|
|
|
51929
51990
|
@builtins.classmethod
|
|
51930
51991
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -51948,7 +52009,8 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
51948
52009
|
'stability_detection': ConjureFieldDefinition('stabilityDetection', scout_compute_api_StabilityDetectionRanges),
|
|
51949
52010
|
'stale_range': ConjureFieldDefinition('staleRange', scout_compute_api_StaleRanges),
|
|
51950
52011
|
'threshold': ConjureFieldDefinition('threshold', scout_compute_api_ThresholdingRanges),
|
|
51951
|
-
'union_range': ConjureFieldDefinition('unionRange', scout_compute_api_UnionRanges)
|
|
52012
|
+
'union_range': ConjureFieldDefinition('unionRange', scout_compute_api_UnionRanges),
|
|
52013
|
+
'padded_ranges': ConjureFieldDefinition('paddedRanges', scout_compute_api_PaddedRanges)
|
|
51952
52014
|
}
|
|
51953
52015
|
|
|
51954
52016
|
def __init__(
|
|
@@ -51973,10 +52035,11 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
51973
52035
|
stale_range: Optional["scout_compute_api_StaleRanges"] = None,
|
|
51974
52036
|
threshold: Optional["scout_compute_api_ThresholdingRanges"] = None,
|
|
51975
52037
|
union_range: Optional["scout_compute_api_UnionRanges"] = None,
|
|
52038
|
+
padded_ranges: Optional["scout_compute_api_PaddedRanges"] = None,
|
|
51976
52039
|
type_of_union: Optional[str] = None
|
|
51977
52040
|
) -> None:
|
|
51978
52041
|
if type_of_union is None:
|
|
51979
|
-
if (approximate_threshold is not None) + (duration_filter is not None) + (enum_filter is not None) + (enum_series_equality_ranges_node is not None) + (events_search is not None) + (intersect_range is not None) + (literal_ranges is not None) + (min_max_threshold is not None) + (not_ is not None) + (on_change is not None) + (peak is not None) + (range_numeric_aggregation is not None) + (raw is not None) + (derived is not None) + (series_crossover_ranges_node is not None) + (series_equality_ranges_node is not None) + (stability_detection is not None) + (stale_range is not None) + (threshold is not None) + (union_range is not None) != 1:
|
|
52042
|
+
if (approximate_threshold is not None) + (duration_filter is not None) + (enum_filter is not None) + (enum_series_equality_ranges_node is not None) + (events_search is not None) + (intersect_range is not None) + (literal_ranges is not None) + (min_max_threshold is not None) + (not_ is not None) + (on_change is not None) + (peak is not None) + (range_numeric_aggregation is not None) + (raw is not None) + (derived is not None) + (series_crossover_ranges_node is not None) + (series_equality_ranges_node is not None) + (stability_detection is not None) + (stale_range is not None) + (threshold is not None) + (union_range is not None) + (padded_ranges is not None) != 1:
|
|
51980
52043
|
raise ValueError('a union must contain a single member')
|
|
51981
52044
|
|
|
51982
52045
|
if approximate_threshold is not None:
|
|
@@ -52039,6 +52102,9 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
52039
52102
|
if union_range is not None:
|
|
52040
52103
|
self._union_range = union_range
|
|
52041
52104
|
self._type = 'unionRange'
|
|
52105
|
+
if padded_ranges is not None:
|
|
52106
|
+
self._padded_ranges = padded_ranges
|
|
52107
|
+
self._type = 'paddedRanges'
|
|
52042
52108
|
|
|
52043
52109
|
elif type_of_union == 'approximateThreshold':
|
|
52044
52110
|
if approximate_threshold is None:
|
|
@@ -52140,6 +52206,11 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
52140
52206
|
raise ValueError('a union value must not be None')
|
|
52141
52207
|
self._union_range = union_range
|
|
52142
52208
|
self._type = 'unionRange'
|
|
52209
|
+
elif type_of_union == 'paddedRanges':
|
|
52210
|
+
if padded_ranges is None:
|
|
52211
|
+
raise ValueError('a union value must not be None')
|
|
52212
|
+
self._padded_ranges = padded_ranges
|
|
52213
|
+
self._type = 'paddedRanges'
|
|
52143
52214
|
|
|
52144
52215
|
@builtins.property
|
|
52145
52216
|
def approximate_threshold(self) -> Optional["scout_compute_api_ApproximateThresholdRanges"]:
|
|
@@ -52225,6 +52296,10 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
52225
52296
|
def union_range(self) -> Optional["scout_compute_api_UnionRanges"]:
|
|
52226
52297
|
return self._union_range
|
|
52227
52298
|
|
|
52299
|
+
@builtins.property
|
|
52300
|
+
def padded_ranges(self) -> Optional["scout_compute_api_PaddedRanges"]:
|
|
52301
|
+
return self._padded_ranges
|
|
52302
|
+
|
|
52228
52303
|
def accept(self, visitor) -> Any:
|
|
52229
52304
|
if not isinstance(visitor, scout_compute_api_RangeSeriesVisitor):
|
|
52230
52305
|
raise ValueError('{} is not an instance of scout_compute_api_RangeSeriesVisitor'.format(visitor.__class__.__name__))
|
|
@@ -52268,6 +52343,8 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
52268
52343
|
return visitor._threshold(self.threshold)
|
|
52269
52344
|
if self._type == 'unionRange' and self.union_range is not None:
|
|
52270
52345
|
return visitor._union_range(self.union_range)
|
|
52346
|
+
if self._type == 'paddedRanges' and self.padded_ranges is not None:
|
|
52347
|
+
return visitor._padded_ranges(self.padded_ranges)
|
|
52271
52348
|
|
|
52272
52349
|
|
|
52273
52350
|
scout_compute_api_RangeSeries.__name__ = "RangeSeries"
|
|
@@ -52357,6 +52434,10 @@ class scout_compute_api_RangeSeriesVisitor:
|
|
|
52357
52434
|
def _union_range(self, union_range: "scout_compute_api_UnionRanges") -> Any:
|
|
52358
52435
|
pass
|
|
52359
52436
|
|
|
52437
|
+
@abstractmethod
|
|
52438
|
+
def _padded_ranges(self, padded_ranges: "scout_compute_api_PaddedRanges") -> Any:
|
|
52439
|
+
pass
|
|
52440
|
+
|
|
52360
52441
|
|
|
52361
52442
|
scout_compute_api_RangeSeriesVisitor.__name__ = "RangeSeriesVisitor"
|
|
52362
52443
|
scout_compute_api_RangeSeriesVisitor.__qualname__ = "RangeSeriesVisitor"
|
|
@@ -53053,41 +53134,58 @@ scout_compute_api_ScatterFitOptions.__module__ = "nominal_api.scout_compute_api"
|
|
|
53053
53134
|
|
|
53054
53135
|
class scout_compute_api_ScatterSummarizationStrategy(ConjureUnionType):
|
|
53055
53136
|
_spatial: Optional["scout_compute_api_SpatialDecimateStrategy"] = None
|
|
53137
|
+
_temporal: Optional["scout_compute_api_TemporalDecimateStrategy"] = None
|
|
53056
53138
|
|
|
53057
53139
|
@builtins.classmethod
|
|
53058
53140
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
53059
53141
|
return {
|
|
53060
|
-
'spatial': ConjureFieldDefinition('spatial', scout_compute_api_SpatialDecimateStrategy)
|
|
53142
|
+
'spatial': ConjureFieldDefinition('spatial', scout_compute_api_SpatialDecimateStrategy),
|
|
53143
|
+
'temporal': ConjureFieldDefinition('temporal', scout_compute_api_TemporalDecimateStrategy)
|
|
53061
53144
|
}
|
|
53062
53145
|
|
|
53063
53146
|
def __init__(
|
|
53064
53147
|
self,
|
|
53065
53148
|
spatial: Optional["scout_compute_api_SpatialDecimateStrategy"] = None,
|
|
53149
|
+
temporal: Optional["scout_compute_api_TemporalDecimateStrategy"] = None,
|
|
53066
53150
|
type_of_union: Optional[str] = None
|
|
53067
53151
|
) -> None:
|
|
53068
53152
|
if type_of_union is None:
|
|
53069
|
-
if (spatial is not None) != 1:
|
|
53153
|
+
if (spatial is not None) + (temporal is not None) != 1:
|
|
53070
53154
|
raise ValueError('a union must contain a single member')
|
|
53071
53155
|
|
|
53072
53156
|
if spatial is not None:
|
|
53073
53157
|
self._spatial = spatial
|
|
53074
53158
|
self._type = 'spatial'
|
|
53159
|
+
if temporal is not None:
|
|
53160
|
+
self._temporal = temporal
|
|
53161
|
+
self._type = 'temporal'
|
|
53075
53162
|
|
|
53076
53163
|
elif type_of_union == 'spatial':
|
|
53077
53164
|
if spatial is None:
|
|
53078
53165
|
raise ValueError('a union value must not be None')
|
|
53079
53166
|
self._spatial = spatial
|
|
53080
53167
|
self._type = 'spatial'
|
|
53168
|
+
elif type_of_union == 'temporal':
|
|
53169
|
+
if temporal is None:
|
|
53170
|
+
raise ValueError('a union value must not be None')
|
|
53171
|
+
self._temporal = temporal
|
|
53172
|
+
self._type = 'temporal'
|
|
53081
53173
|
|
|
53082
53174
|
@builtins.property
|
|
53083
53175
|
def spatial(self) -> Optional["scout_compute_api_SpatialDecimateStrategy"]:
|
|
53084
53176
|
return self._spatial
|
|
53085
53177
|
|
|
53178
|
+
@builtins.property
|
|
53179
|
+
def temporal(self) -> Optional["scout_compute_api_TemporalDecimateStrategy"]:
|
|
53180
|
+
return self._temporal
|
|
53181
|
+
|
|
53086
53182
|
def accept(self, visitor) -> Any:
|
|
53087
53183
|
if not isinstance(visitor, scout_compute_api_ScatterSummarizationStrategyVisitor):
|
|
53088
53184
|
raise ValueError('{} is not an instance of scout_compute_api_ScatterSummarizationStrategyVisitor'.format(visitor.__class__.__name__))
|
|
53089
53185
|
if self._type == 'spatial' and self.spatial is not None:
|
|
53090
53186
|
return visitor._spatial(self.spatial)
|
|
53187
|
+
if self._type == 'temporal' and self.temporal is not None:
|
|
53188
|
+
return visitor._temporal(self.temporal)
|
|
53091
53189
|
|
|
53092
53190
|
|
|
53093
53191
|
scout_compute_api_ScatterSummarizationStrategy.__name__ = "ScatterSummarizationStrategy"
|
|
@@ -53101,12 +53199,40 @@ class scout_compute_api_ScatterSummarizationStrategyVisitor:
|
|
|
53101
53199
|
def _spatial(self, spatial: "scout_compute_api_SpatialDecimateStrategy") -> Any:
|
|
53102
53200
|
pass
|
|
53103
53201
|
|
|
53202
|
+
@abstractmethod
|
|
53203
|
+
def _temporal(self, temporal: "scout_compute_api_TemporalDecimateStrategy") -> Any:
|
|
53204
|
+
pass
|
|
53205
|
+
|
|
53104
53206
|
|
|
53105
53207
|
scout_compute_api_ScatterSummarizationStrategyVisitor.__name__ = "ScatterSummarizationStrategyVisitor"
|
|
53106
53208
|
scout_compute_api_ScatterSummarizationStrategyVisitor.__qualname__ = "ScatterSummarizationStrategyVisitor"
|
|
53107
53209
|
scout_compute_api_ScatterSummarizationStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
53108
53210
|
|
|
53109
53211
|
|
|
53212
|
+
class scout_compute_api_ScatterTemporalAggregation(ConjureEnumType):
|
|
53213
|
+
|
|
53214
|
+
MEAN = 'MEAN'
|
|
53215
|
+
'''MEAN'''
|
|
53216
|
+
MIN = 'MIN'
|
|
53217
|
+
'''MIN'''
|
|
53218
|
+
MAX = 'MAX'
|
|
53219
|
+
'''MAX'''
|
|
53220
|
+
FIRST = 'FIRST'
|
|
53221
|
+
'''FIRST'''
|
|
53222
|
+
LAST = 'LAST'
|
|
53223
|
+
'''LAST'''
|
|
53224
|
+
UNKNOWN = 'UNKNOWN'
|
|
53225
|
+
'''UNKNOWN'''
|
|
53226
|
+
|
|
53227
|
+
def __reduce_ex__(self, proto):
|
|
53228
|
+
return self.__class__, (self.name,)
|
|
53229
|
+
|
|
53230
|
+
|
|
53231
|
+
scout_compute_api_ScatterTemporalAggregation.__name__ = "ScatterTemporalAggregation"
|
|
53232
|
+
scout_compute_api_ScatterTemporalAggregation.__qualname__ = "ScatterTemporalAggregation"
|
|
53233
|
+
scout_compute_api_ScatterTemporalAggregation.__module__ = "nominal_api.scout_compute_api"
|
|
53234
|
+
|
|
53235
|
+
|
|
53110
53236
|
class scout_compute_api_SearchEventOriginType(ConjureEnumType):
|
|
53111
53237
|
|
|
53112
53238
|
WORKBOOK = 'WORKBOOK'
|
|
@@ -54323,14 +54449,16 @@ class scout_compute_api_SummarizeCartesian(ConjureBeanType):
|
|
|
54323
54449
|
return {
|
|
54324
54450
|
'input': ConjureFieldDefinition('input', scout_compute_api_Cartesian),
|
|
54325
54451
|
'bounds': ConjureFieldDefinition('bounds', OptionalTypeWrapper[scout_compute_api_CartesianBounds]),
|
|
54452
|
+
'summarization_strategy': ConjureFieldDefinition('summarizationStrategy', OptionalTypeWrapper[scout_compute_api_ScatterSummarizationStrategy]),
|
|
54326
54453
|
'max_points': ConjureFieldDefinition('maxPoints', OptionalTypeWrapper[int])
|
|
54327
54454
|
}
|
|
54328
54455
|
|
|
54329
|
-
__slots__: List[str] = ['_input', '_bounds', '_max_points']
|
|
54456
|
+
__slots__: List[str] = ['_input', '_bounds', '_summarization_strategy', '_max_points']
|
|
54330
54457
|
|
|
54331
|
-
def __init__(self, input: "scout_compute_api_Cartesian", bounds: Optional["scout_compute_api_CartesianBounds"] = None, max_points: Optional[int] = None) -> None:
|
|
54458
|
+
def __init__(self, input: "scout_compute_api_Cartesian", bounds: Optional["scout_compute_api_CartesianBounds"] = None, max_points: Optional[int] = None, summarization_strategy: Optional["scout_compute_api_ScatterSummarizationStrategy"] = None) -> None:
|
|
54332
54459
|
self._input = input
|
|
54333
54460
|
self._bounds = bounds
|
|
54461
|
+
self._summarization_strategy = summarization_strategy
|
|
54334
54462
|
self._max_points = max_points
|
|
54335
54463
|
|
|
54336
54464
|
@builtins.property
|
|
@@ -54341,6 +54469,12 @@ class scout_compute_api_SummarizeCartesian(ConjureBeanType):
|
|
|
54341
54469
|
def bounds(self) -> Optional["scout_compute_api_CartesianBounds"]:
|
|
54342
54470
|
return self._bounds
|
|
54343
54471
|
|
|
54472
|
+
@builtins.property
|
|
54473
|
+
def summarization_strategy(self) -> Optional["scout_compute_api_ScatterSummarizationStrategy"]:
|
|
54474
|
+
"""The summarization strategy to use when there are more than `maxPoints`. Defaults to spatial.
|
|
54475
|
+
"""
|
|
54476
|
+
return self._summarization_strategy
|
|
54477
|
+
|
|
54344
54478
|
@builtins.property
|
|
54345
54479
|
def max_points(self) -> Optional[int]:
|
|
54346
54480
|
"""The maximum number of points to return in the response. If more points are found, a BucketedCartesianPlot
|
|
@@ -54707,6 +54841,43 @@ scout_compute_api_TagFiltersVisitor.__qualname__ = "TagFiltersVisitor"
|
|
|
54707
54841
|
scout_compute_api_TagFiltersVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
54708
54842
|
|
|
54709
54843
|
|
|
54844
|
+
class scout_compute_api_TemporalDecimateStrategy(ConjureBeanType):
|
|
54845
|
+
"""Buckets the input by time range into equally sized buckets.
|
|
54846
|
+
The number of buckets is determined by the maxPoints parameter.
|
|
54847
|
+
Returns a CartesianPlot.
|
|
54848
|
+
"""
|
|
54849
|
+
|
|
54850
|
+
@builtins.classmethod
|
|
54851
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
54852
|
+
return {
|
|
54853
|
+
'x_aggregation': ConjureFieldDefinition('xAggregation', scout_compute_api_ScatterTemporalAggregation),
|
|
54854
|
+
'y_aggregation': ConjureFieldDefinition('yAggregation', scout_compute_api_ScatterTemporalAggregation)
|
|
54855
|
+
}
|
|
54856
|
+
|
|
54857
|
+
__slots__: List[str] = ['_x_aggregation', '_y_aggregation']
|
|
54858
|
+
|
|
54859
|
+
def __init__(self, x_aggregation: "scout_compute_api_ScatterTemporalAggregation", y_aggregation: "scout_compute_api_ScatterTemporalAggregation") -> None:
|
|
54860
|
+
self._x_aggregation = x_aggregation
|
|
54861
|
+
self._y_aggregation = y_aggregation
|
|
54862
|
+
|
|
54863
|
+
@builtins.property
|
|
54864
|
+
def x_aggregation(self) -> "scout_compute_api_ScatterTemporalAggregation":
|
|
54865
|
+
"""The strategy to use for aggregating the x values in each bucket.
|
|
54866
|
+
"""
|
|
54867
|
+
return self._x_aggregation
|
|
54868
|
+
|
|
54869
|
+
@builtins.property
|
|
54870
|
+
def y_aggregation(self) -> "scout_compute_api_ScatterTemporalAggregation":
|
|
54871
|
+
"""The strategy to use for aggregating the y values in each bucket.
|
|
54872
|
+
"""
|
|
54873
|
+
return self._y_aggregation
|
|
54874
|
+
|
|
54875
|
+
|
|
54876
|
+
scout_compute_api_TemporalDecimateStrategy.__name__ = "TemporalDecimateStrategy"
|
|
54877
|
+
scout_compute_api_TemporalDecimateStrategy.__qualname__ = "TemporalDecimateStrategy"
|
|
54878
|
+
scout_compute_api_TemporalDecimateStrategy.__module__ = "nominal_api.scout_compute_api"
|
|
54879
|
+
|
|
54880
|
+
|
|
54710
54881
|
class scout_compute_api_Threshold(ConjureUnionType):
|
|
54711
54882
|
_absolute: Optional["scout_compute_api_AbsoluteThreshold"] = None
|
|
54712
54883
|
_percentage: Optional["scout_compute_api_PercentageThreshold"] = None
|
|
@@ -61946,6 +62117,41 @@ scout_compute_resolved_api_OnChangeRangesNode.__qualname__ = "OnChangeRangesNode
|
|
|
61946
62117
|
scout_compute_resolved_api_OnChangeRangesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
61947
62118
|
|
|
61948
62119
|
|
|
62120
|
+
class scout_compute_resolved_api_PaddedRangesNode(ConjureBeanType):
|
|
62121
|
+
|
|
62122
|
+
@builtins.classmethod
|
|
62123
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
62124
|
+
return {
|
|
62125
|
+
'input': ConjureFieldDefinition('input', scout_compute_resolved_api_RangesNode),
|
|
62126
|
+
'padding': ConjureFieldDefinition('padding', scout_run_api_Duration),
|
|
62127
|
+
'padding_configuration': ConjureFieldDefinition('paddingConfiguration', scout_compute_api_RangePaddingConfiguration)
|
|
62128
|
+
}
|
|
62129
|
+
|
|
62130
|
+
__slots__: List[str] = ['_input', '_padding', '_padding_configuration']
|
|
62131
|
+
|
|
62132
|
+
def __init__(self, input: "scout_compute_resolved_api_RangesNode", padding: "scout_run_api_Duration", padding_configuration: "scout_compute_api_RangePaddingConfiguration") -> None:
|
|
62133
|
+
self._input = input
|
|
62134
|
+
self._padding = padding
|
|
62135
|
+
self._padding_configuration = padding_configuration
|
|
62136
|
+
|
|
62137
|
+
@builtins.property
|
|
62138
|
+
def input(self) -> "scout_compute_resolved_api_RangesNode":
|
|
62139
|
+
return self._input
|
|
62140
|
+
|
|
62141
|
+
@builtins.property
|
|
62142
|
+
def padding(self) -> "scout_run_api_Duration":
|
|
62143
|
+
return self._padding
|
|
62144
|
+
|
|
62145
|
+
@builtins.property
|
|
62146
|
+
def padding_configuration(self) -> "scout_compute_api_RangePaddingConfiguration":
|
|
62147
|
+
return self._padding_configuration
|
|
62148
|
+
|
|
62149
|
+
|
|
62150
|
+
scout_compute_resolved_api_PaddedRangesNode.__name__ = "PaddedRangesNode"
|
|
62151
|
+
scout_compute_resolved_api_PaddedRangesNode.__qualname__ = "PaddedRangesNode"
|
|
62152
|
+
scout_compute_resolved_api_PaddedRangesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
62153
|
+
|
|
62154
|
+
|
|
61949
62155
|
class scout_compute_resolved_api_PercentageThreshold(ConjureBeanType):
|
|
61950
62156
|
|
|
61951
62157
|
@builtins.classmethod
|
|
@@ -62159,6 +62365,7 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
62159
62365
|
_threshold: Optional["scout_compute_resolved_api_ThresholdingRangesNode"] = None
|
|
62160
62366
|
_union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None
|
|
62161
62367
|
_event_search: Optional["scout_compute_resolved_api_EventSearchNode"] = None
|
|
62368
|
+
_padded_ranges: Optional["scout_compute_resolved_api_PaddedRangesNode"] = None
|
|
62162
62369
|
|
|
62163
62370
|
@builtins.classmethod
|
|
62164
62371
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -62178,7 +62385,8 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
62178
62385
|
'stability_detection': ConjureFieldDefinition('stabilityDetection', scout_compute_resolved_api_StabilityDetectionRangesNode),
|
|
62179
62386
|
'threshold': ConjureFieldDefinition('threshold', scout_compute_resolved_api_ThresholdingRangesNode),
|
|
62180
62387
|
'union_range': ConjureFieldDefinition('unionRange', scout_compute_resolved_api_UnionRangesNode),
|
|
62181
|
-
'event_search': ConjureFieldDefinition('eventSearch', scout_compute_resolved_api_EventSearchNode)
|
|
62388
|
+
'event_search': ConjureFieldDefinition('eventSearch', scout_compute_resolved_api_EventSearchNode),
|
|
62389
|
+
'padded_ranges': ConjureFieldDefinition('paddedRanges', scout_compute_resolved_api_PaddedRangesNode)
|
|
62182
62390
|
}
|
|
62183
62391
|
|
|
62184
62392
|
def __init__(
|
|
@@ -62199,10 +62407,11 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
62199
62407
|
threshold: Optional["scout_compute_resolved_api_ThresholdingRangesNode"] = None,
|
|
62200
62408
|
union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None,
|
|
62201
62409
|
event_search: Optional["scout_compute_resolved_api_EventSearchNode"] = None,
|
|
62410
|
+
padded_ranges: Optional["scout_compute_resolved_api_PaddedRangesNode"] = None,
|
|
62202
62411
|
type_of_union: Optional[str] = None
|
|
62203
62412
|
) -> None:
|
|
62204
62413
|
if type_of_union is None:
|
|
62205
|
-
if (duration_filter is not None) + (enum_equality is not None) + (enum_filter is not None) + (extrema is not None) + (intersect_range is not None) + (literal_ranges is not None) + (min_max_threshold is not None) + (not_ is not None) + (on_change is not None) + (range_numeric_aggregation is not None) + (series_crossover_ranges_node is not None) + (stale_range is not None) + (stability_detection is not None) + (threshold is not None) + (union_range is not None) + (event_search is not None) != 1:
|
|
62414
|
+
if (duration_filter is not None) + (enum_equality is not None) + (enum_filter is not None) + (extrema is not None) + (intersect_range is not None) + (literal_ranges is not None) + (min_max_threshold is not None) + (not_ is not None) + (on_change is not None) + (range_numeric_aggregation is not None) + (series_crossover_ranges_node is not None) + (stale_range is not None) + (stability_detection is not None) + (threshold is not None) + (union_range is not None) + (event_search is not None) + (padded_ranges is not None) != 1:
|
|
62206
62415
|
raise ValueError('a union must contain a single member')
|
|
62207
62416
|
|
|
62208
62417
|
if duration_filter is not None:
|
|
@@ -62253,6 +62462,9 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
62253
62462
|
if event_search is not None:
|
|
62254
62463
|
self._event_search = event_search
|
|
62255
62464
|
self._type = 'eventSearch'
|
|
62465
|
+
if padded_ranges is not None:
|
|
62466
|
+
self._padded_ranges = padded_ranges
|
|
62467
|
+
self._type = 'paddedRanges'
|
|
62256
62468
|
|
|
62257
62469
|
elif type_of_union == 'durationFilter':
|
|
62258
62470
|
if duration_filter is None:
|
|
@@ -62334,6 +62546,11 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
62334
62546
|
raise ValueError('a union value must not be None')
|
|
62335
62547
|
self._event_search = event_search
|
|
62336
62548
|
self._type = 'eventSearch'
|
|
62549
|
+
elif type_of_union == 'paddedRanges':
|
|
62550
|
+
if padded_ranges is None:
|
|
62551
|
+
raise ValueError('a union value must not be None')
|
|
62552
|
+
self._padded_ranges = padded_ranges
|
|
62553
|
+
self._type = 'paddedRanges'
|
|
62337
62554
|
|
|
62338
62555
|
@builtins.property
|
|
62339
62556
|
def duration_filter(self) -> Optional["scout_compute_resolved_api_DurationFilterRangesNode"]:
|
|
@@ -62399,6 +62616,10 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
62399
62616
|
def event_search(self) -> Optional["scout_compute_resolved_api_EventSearchNode"]:
|
|
62400
62617
|
return self._event_search
|
|
62401
62618
|
|
|
62619
|
+
@builtins.property
|
|
62620
|
+
def padded_ranges(self) -> Optional["scout_compute_resolved_api_PaddedRangesNode"]:
|
|
62621
|
+
return self._padded_ranges
|
|
62622
|
+
|
|
62402
62623
|
def accept(self, visitor) -> Any:
|
|
62403
62624
|
if not isinstance(visitor, scout_compute_resolved_api_RangesNodeVisitor):
|
|
62404
62625
|
raise ValueError('{} is not an instance of scout_compute_resolved_api_RangesNodeVisitor'.format(visitor.__class__.__name__))
|
|
@@ -62434,6 +62655,8 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
62434
62655
|
return visitor._union_range(self.union_range)
|
|
62435
62656
|
if self._type == 'eventSearch' and self.event_search is not None:
|
|
62436
62657
|
return visitor._event_search(self.event_search)
|
|
62658
|
+
if self._type == 'paddedRanges' and self.padded_ranges is not None:
|
|
62659
|
+
return visitor._padded_ranges(self.padded_ranges)
|
|
62437
62660
|
|
|
62438
62661
|
|
|
62439
62662
|
scout_compute_resolved_api_RangesNode.__name__ = "RangesNode"
|
|
@@ -62507,6 +62730,10 @@ class scout_compute_resolved_api_RangesNodeVisitor:
|
|
|
62507
62730
|
def _event_search(self, event_search: "scout_compute_resolved_api_EventSearchNode") -> Any:
|
|
62508
62731
|
pass
|
|
62509
62732
|
|
|
62733
|
+
@abstractmethod
|
|
62734
|
+
def _padded_ranges(self, padded_ranges: "scout_compute_resolved_api_PaddedRangesNode") -> Any:
|
|
62735
|
+
pass
|
|
62736
|
+
|
|
62510
62737
|
|
|
62511
62738
|
scout_compute_resolved_api_RangesNodeVisitor.__name__ = "RangesNodeVisitor"
|
|
62512
62739
|
scout_compute_resolved_api_RangesNodeVisitor.__qualname__ = "RangesNodeVisitor"
|
|
@@ -64157,15 +64384,17 @@ class scout_compute_resolved_api_SummarizeCartesianNode(ConjureBeanType):
|
|
|
64157
64384
|
return {
|
|
64158
64385
|
'input': ConjureFieldDefinition('input', scout_compute_resolved_api_CartesianNode),
|
|
64159
64386
|
'bounds': ConjureFieldDefinition('bounds', OptionalTypeWrapper[scout_compute_resolved_api_CartesianBounds]),
|
|
64160
|
-
'max_points': ConjureFieldDefinition('maxPoints', OptionalTypeWrapper[int])
|
|
64387
|
+
'max_points': ConjureFieldDefinition('maxPoints', OptionalTypeWrapper[int]),
|
|
64388
|
+
'summarization_strategy': ConjureFieldDefinition('summarizationStrategy', scout_compute_api_ScatterSummarizationStrategy)
|
|
64161
64389
|
}
|
|
64162
64390
|
|
|
64163
|
-
__slots__: List[str] = ['_input', '_bounds', '_max_points']
|
|
64391
|
+
__slots__: List[str] = ['_input', '_bounds', '_max_points', '_summarization_strategy']
|
|
64164
64392
|
|
|
64165
|
-
def __init__(self, input: "scout_compute_resolved_api_CartesianNode", bounds: Optional["scout_compute_resolved_api_CartesianBounds"] = None, max_points: Optional[int] = None) -> None:
|
|
64393
|
+
def __init__(self, input: "scout_compute_resolved_api_CartesianNode", summarization_strategy: "scout_compute_api_ScatterSummarizationStrategy", bounds: Optional["scout_compute_resolved_api_CartesianBounds"] = None, max_points: Optional[int] = None) -> None:
|
|
64166
64394
|
self._input = input
|
|
64167
64395
|
self._bounds = bounds
|
|
64168
64396
|
self._max_points = max_points
|
|
64397
|
+
self._summarization_strategy = summarization_strategy
|
|
64169
64398
|
|
|
64170
64399
|
@builtins.property
|
|
64171
64400
|
def input(self) -> "scout_compute_resolved_api_CartesianNode":
|
|
@@ -64179,6 +64408,10 @@ class scout_compute_resolved_api_SummarizeCartesianNode(ConjureBeanType):
|
|
|
64179
64408
|
def max_points(self) -> Optional[int]:
|
|
64180
64409
|
return self._max_points
|
|
64181
64410
|
|
|
64411
|
+
@builtins.property
|
|
64412
|
+
def summarization_strategy(self) -> "scout_compute_api_ScatterSummarizationStrategy":
|
|
64413
|
+
return self._summarization_strategy
|
|
64414
|
+
|
|
64182
64415
|
|
|
64183
64416
|
scout_compute_resolved_api_SummarizeCartesianNode.__name__ = "SummarizeCartesianNode"
|
|
64184
64417
|
scout_compute_resolved_api_SummarizeCartesianNode.__qualname__ = "SummarizeCartesianNode"
|
|
@@ -248,6 +248,7 @@ from .._impl import (
|
|
|
248
248
|
scout_compute_api_OutputFormat as OutputFormat,
|
|
249
249
|
scout_compute_api_OutputRangeStart as OutputRangeStart,
|
|
250
250
|
scout_compute_api_OutputRangeStartVisitor as OutputRangeStartVisitor,
|
|
251
|
+
scout_compute_api_PaddedRanges as PaddedRanges,
|
|
251
252
|
scout_compute_api_PageInfo as PageInfo,
|
|
252
253
|
scout_compute_api_PageStrategy as PageStrategy,
|
|
253
254
|
scout_compute_api_PageStrategyVisitor as PageStrategyVisitor,
|
|
@@ -279,6 +280,7 @@ from .._impl import (
|
|
|
279
280
|
scout_compute_api_RangeAggregationOperation as RangeAggregationOperation,
|
|
280
281
|
scout_compute_api_RangeAggregationOperationVisitor as RangeAggregationOperationVisitor,
|
|
281
282
|
scout_compute_api_RangeMap as RangeMap,
|
|
283
|
+
scout_compute_api_RangePaddingConfiguration as RangePaddingConfiguration,
|
|
282
284
|
scout_compute_api_RangeSeries as RangeSeries,
|
|
283
285
|
scout_compute_api_RangeSeriesVisitor as RangeSeriesVisitor,
|
|
284
286
|
scout_compute_api_RangeSummary as RangeSummary,
|
|
@@ -298,6 +300,7 @@ from .._impl import (
|
|
|
298
300
|
scout_compute_api_ScatterFitOptions as ScatterFitOptions,
|
|
299
301
|
scout_compute_api_ScatterSummarizationStrategy as ScatterSummarizationStrategy,
|
|
300
302
|
scout_compute_api_ScatterSummarizationStrategyVisitor as ScatterSummarizationStrategyVisitor,
|
|
303
|
+
scout_compute_api_ScatterTemporalAggregation as ScatterTemporalAggregation,
|
|
301
304
|
scout_compute_api_SearchEventOriginType as SearchEventOriginType,
|
|
302
305
|
scout_compute_api_SelectIndexFrom1dEnumArraySeries as SelectIndexFrom1dEnumArraySeries,
|
|
303
306
|
scout_compute_api_SelectIndexFrom1dNumericArraySeries as SelectIndexFrom1dNumericArraySeries,
|
|
@@ -339,6 +342,7 @@ from .._impl import (
|
|
|
339
342
|
scout_compute_api_TagFilterValidationErrorType as TagFilterValidationErrorType,
|
|
340
343
|
scout_compute_api_TagFilters as TagFilters,
|
|
341
344
|
scout_compute_api_TagFiltersVisitor as TagFiltersVisitor,
|
|
345
|
+
scout_compute_api_TemporalDecimateStrategy as TemporalDecimateStrategy,
|
|
342
346
|
scout_compute_api_Threshold as Threshold,
|
|
343
347
|
scout_compute_api_ThresholdOperator as ThresholdOperator,
|
|
344
348
|
scout_compute_api_ThresholdVisitor as ThresholdVisitor,
|
|
@@ -621,6 +625,7 @@ __all__ = [
|
|
|
621
625
|
'OutputFormat',
|
|
622
626
|
'OutputRangeStart',
|
|
623
627
|
'OutputRangeStartVisitor',
|
|
628
|
+
'PaddedRanges',
|
|
624
629
|
'PageInfo',
|
|
625
630
|
'PageStrategy',
|
|
626
631
|
'PageStrategyVisitor',
|
|
@@ -652,6 +657,7 @@ __all__ = [
|
|
|
652
657
|
'RangeAggregationOperation',
|
|
653
658
|
'RangeAggregationOperationVisitor',
|
|
654
659
|
'RangeMap',
|
|
660
|
+
'RangePaddingConfiguration',
|
|
655
661
|
'RangeSeries',
|
|
656
662
|
'RangeSeriesVisitor',
|
|
657
663
|
'RangeSummary',
|
|
@@ -671,6 +677,7 @@ __all__ = [
|
|
|
671
677
|
'ScatterFitOptions',
|
|
672
678
|
'ScatterSummarizationStrategy',
|
|
673
679
|
'ScatterSummarizationStrategyVisitor',
|
|
680
|
+
'ScatterTemporalAggregation',
|
|
674
681
|
'SearchEventOriginType',
|
|
675
682
|
'SelectIndexFrom1dEnumArraySeries',
|
|
676
683
|
'SelectIndexFrom1dNumericArraySeries',
|
|
@@ -712,6 +719,7 @@ __all__ = [
|
|
|
712
719
|
'TagFilterValidationErrorType',
|
|
713
720
|
'TagFilters',
|
|
714
721
|
'TagFiltersVisitor',
|
|
722
|
+
'TemporalDecimateStrategy',
|
|
715
723
|
'Threshold',
|
|
716
724
|
'ThresholdVisitor',
|
|
717
725
|
'ThresholdOperator',
|
|
@@ -96,6 +96,7 @@ from .._impl import (
|
|
|
96
96
|
scout_compute_resolved_api_NumericUnionSeriesNode as NumericUnionSeriesNode,
|
|
97
97
|
scout_compute_resolved_api_OffsetSeriesNode as OffsetSeriesNode,
|
|
98
98
|
scout_compute_resolved_api_OnChangeRangesNode as OnChangeRangesNode,
|
|
99
|
+
scout_compute_resolved_api_PaddedRangesNode as PaddedRangesNode,
|
|
99
100
|
scout_compute_resolved_api_PercentageThreshold as PercentageThreshold,
|
|
100
101
|
scout_compute_resolved_api_PeriodogramNode as PeriodogramNode,
|
|
101
102
|
scout_compute_resolved_api_PersistenceWindowConfiguration as PersistenceWindowConfiguration,
|
|
@@ -261,6 +262,7 @@ __all__ = [
|
|
|
261
262
|
'NumericUnionSeriesNode',
|
|
262
263
|
'OffsetSeriesNode',
|
|
263
264
|
'OnChangeRangesNode',
|
|
265
|
+
'PaddedRangesNode',
|
|
264
266
|
'PercentageThreshold',
|
|
265
267
|
'PeriodogramNode',
|
|
266
268
|
'PersistenceWindowConfiguration',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=Yl06g57Lr6RswRXLfT2tUc2TuDmyI90oJmPEwegrJHQ,2088
|
|
2
|
+
nominal_api/_impl.py,sha256=_Rwp5_n1RfizdyUrTyeclxV-TSGMl8zdPzWupc9OFv4,3807968
|
|
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=j2VBWPlPUGikx7uzDBo5vQ_kh7J9UPcS3hAZjCjBrtc,34423
|
|
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=cnh00fuFDRDg5aH3R1_iBomncmzGv0lM7-evSNvNIOk,17701
|
|
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.916.1.dist-info/METADATA,sha256=Ri4kZGIVLdr_FazP8yQ_mX-FUbbhHPSuvpaLWsmwGsM,199
|
|
82
|
+
nominal_api-0.916.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
83
|
+
nominal_api-0.916.1.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
84
|
+
nominal_api-0.916.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|