nominal-api 0.914.0__py3-none-any.whl → 0.916.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 +487 -46
- nominal_api/scout_compute_api/__init__.py +12 -0
- nominal_api/scout_compute_resolved_api/__init__.py +2 -0
- {nominal_api-0.914.0.dist-info → nominal_api-0.916.0.dist-info}/METADATA +1 -1
- {nominal_api-0.914.0.dist-info → nominal_api-0.916.0.dist-info}/RECORD +8 -8
- {nominal_api-0.914.0.dist-info → nominal_api-0.916.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.914.0.dist-info → nominal_api-0.916.0.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:
|
|
@@ -43210,6 +43210,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
43210
43210
|
_numeric: Optional["scout_compute_api_NumericPlot"] = None
|
|
43211
43211
|
_bucketed_numeric: Optional["scout_compute_api_BucketedNumericPlot"] = None
|
|
43212
43212
|
_numeric_point: Optional[Optional["scout_compute_api_NumericPoint"]] = None
|
|
43213
|
+
_single_point: Optional[Optional["scout_compute_api_SinglePoint"]] = None
|
|
43213
43214
|
_arrow_numeric: Optional["scout_compute_api_ArrowNumericPlot"] = None
|
|
43214
43215
|
_arrow_bucketed_numeric: Optional["scout_compute_api_ArrowBucketedNumericPlot"] = None
|
|
43215
43216
|
_enum: Optional["scout_compute_api_EnumPlot"] = None
|
|
@@ -43239,6 +43240,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
43239
43240
|
'numeric': ConjureFieldDefinition('numeric', scout_compute_api_NumericPlot),
|
|
43240
43241
|
'bucketed_numeric': ConjureFieldDefinition('bucketedNumeric', scout_compute_api_BucketedNumericPlot),
|
|
43241
43242
|
'numeric_point': ConjureFieldDefinition('numericPoint', OptionalTypeWrapper[scout_compute_api_NumericPoint]),
|
|
43243
|
+
'single_point': ConjureFieldDefinition('singlePoint', OptionalTypeWrapper[scout_compute_api_SinglePoint]),
|
|
43242
43244
|
'arrow_numeric': ConjureFieldDefinition('arrowNumeric', scout_compute_api_ArrowNumericPlot),
|
|
43243
43245
|
'arrow_bucketed_numeric': ConjureFieldDefinition('arrowBucketedNumeric', scout_compute_api_ArrowBucketedNumericPlot),
|
|
43244
43246
|
'enum': ConjureFieldDefinition('enum', scout_compute_api_EnumPlot),
|
|
@@ -43268,6 +43270,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
43268
43270
|
numeric: Optional["scout_compute_api_NumericPlot"] = None,
|
|
43269
43271
|
bucketed_numeric: Optional["scout_compute_api_BucketedNumericPlot"] = None,
|
|
43270
43272
|
numeric_point: Optional[Optional["scout_compute_api_NumericPoint"]] = None,
|
|
43273
|
+
single_point: Optional[Optional["scout_compute_api_SinglePoint"]] = None,
|
|
43271
43274
|
arrow_numeric: Optional["scout_compute_api_ArrowNumericPlot"] = None,
|
|
43272
43275
|
arrow_bucketed_numeric: Optional["scout_compute_api_ArrowBucketedNumericPlot"] = None,
|
|
43273
43276
|
enum: Optional["scout_compute_api_EnumPlot"] = None,
|
|
@@ -43290,7 +43293,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
43290
43293
|
type_of_union: Optional[str] = None
|
|
43291
43294
|
) -> None:
|
|
43292
43295
|
if type_of_union is None:
|
|
43293
|
-
if (range is not None) + (ranges_summary is not None) + (range_value is not None) + (numeric is not None) + (bucketed_numeric is not None) + (numeric_point is not None) + (arrow_numeric is not None) + (arrow_bucketed_numeric is not None) + (enum is not None) + (enum_point is not None) + (bucketed_enum is not None) + (arrow_enum is not None) + (arrow_bucketed_enum is not None) + (paged_log is not None) + (log_point is not None) + (cartesian is not None) + (bucketed_cartesian is not None) + (bucketed_cartesian3d is not None) + (bucketed_geo is not None) + (frequency_domain is not None) + (numeric_histogram is not None) + (enum_histogram is not None) + (curve_fit is not None) + (grouped is not None) + (array is not None) != 1:
|
|
43296
|
+
if (range is not None) + (ranges_summary is not None) + (range_value is not None) + (numeric is not None) + (bucketed_numeric is not None) + (numeric_point is not None) + (single_point is not None) + (arrow_numeric is not None) + (arrow_bucketed_numeric is not None) + (enum is not None) + (enum_point is not None) + (bucketed_enum is not None) + (arrow_enum is not None) + (arrow_bucketed_enum is not None) + (paged_log is not None) + (log_point is not None) + (cartesian is not None) + (bucketed_cartesian is not None) + (bucketed_cartesian3d is not None) + (bucketed_geo is not None) + (frequency_domain is not None) + (numeric_histogram is not None) + (enum_histogram is not None) + (curve_fit is not None) + (grouped is not None) + (array is not None) != 1:
|
|
43294
43297
|
raise ValueError('a union must contain a single member')
|
|
43295
43298
|
|
|
43296
43299
|
if range is not None:
|
|
@@ -43311,6 +43314,9 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
43311
43314
|
if numeric_point is not None:
|
|
43312
43315
|
self._numeric_point = numeric_point
|
|
43313
43316
|
self._type = 'numericPoint'
|
|
43317
|
+
if single_point is not None:
|
|
43318
|
+
self._single_point = single_point
|
|
43319
|
+
self._type = 'singlePoint'
|
|
43314
43320
|
if arrow_numeric is not None:
|
|
43315
43321
|
self._arrow_numeric = arrow_numeric
|
|
43316
43322
|
self._type = 'arrowNumeric'
|
|
@@ -43399,6 +43405,11 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
43399
43405
|
raise ValueError('a union value must not be None')
|
|
43400
43406
|
self._numeric_point = numeric_point
|
|
43401
43407
|
self._type = 'numericPoint'
|
|
43408
|
+
elif type_of_union == 'singlePoint':
|
|
43409
|
+
if single_point is None:
|
|
43410
|
+
raise ValueError('a union value must not be None')
|
|
43411
|
+
self._single_point = single_point
|
|
43412
|
+
self._type = 'singlePoint'
|
|
43402
43413
|
elif type_of_union == 'arrowNumeric':
|
|
43403
43414
|
if arrow_numeric is None:
|
|
43404
43415
|
raise ValueError('a union value must not be None')
|
|
@@ -43519,6 +43530,10 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
43519
43530
|
def numeric_point(self) -> Optional[Optional["scout_compute_api_NumericPoint"]]:
|
|
43520
43531
|
return self._numeric_point
|
|
43521
43532
|
|
|
43533
|
+
@builtins.property
|
|
43534
|
+
def single_point(self) -> Optional[Optional["scout_compute_api_SinglePoint"]]:
|
|
43535
|
+
return self._single_point
|
|
43536
|
+
|
|
43522
43537
|
@builtins.property
|
|
43523
43538
|
def arrow_numeric(self) -> Optional["scout_compute_api_ArrowNumericPlot"]:
|
|
43524
43539
|
return self._arrow_numeric
|
|
@@ -43610,6 +43625,8 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
43610
43625
|
return visitor._bucketed_numeric(self.bucketed_numeric)
|
|
43611
43626
|
if self._type == 'numericPoint' and self.numeric_point is not None:
|
|
43612
43627
|
return visitor._numeric_point(self.numeric_point)
|
|
43628
|
+
if self._type == 'singlePoint' and self.single_point is not None:
|
|
43629
|
+
return visitor._single_point(self.single_point)
|
|
43613
43630
|
if self._type == 'arrowNumeric' and self.arrow_numeric is not None:
|
|
43614
43631
|
return visitor._arrow_numeric(self.arrow_numeric)
|
|
43615
43632
|
if self._type == 'arrowBucketedNumeric' and self.arrow_bucketed_numeric is not None:
|
|
@@ -43681,6 +43698,10 @@ class scout_compute_api_ComputeNodeResponseVisitor:
|
|
|
43681
43698
|
def _numeric_point(self, numeric_point: Optional["scout_compute_api_NumericPoint"]) -> Any:
|
|
43682
43699
|
pass
|
|
43683
43700
|
|
|
43701
|
+
@abstractmethod
|
|
43702
|
+
def _single_point(self, single_point: Optional["scout_compute_api_SinglePoint"]) -> Any:
|
|
43703
|
+
pass
|
|
43704
|
+
|
|
43684
43705
|
@abstractmethod
|
|
43685
43706
|
def _arrow_numeric(self, arrow_numeric: "scout_compute_api_ArrowNumericPlot") -> Any:
|
|
43686
43707
|
pass
|
|
@@ -50736,6 +50757,46 @@ scout_compute_api_OutputRangeStartVisitor.__qualname__ = "OutputRangeStartVisito
|
|
|
50736
50757
|
scout_compute_api_OutputRangeStartVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
50737
50758
|
|
|
50738
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
|
+
|
|
50739
50800
|
class scout_compute_api_PageInfo(ConjureBeanType):
|
|
50740
50801
|
"""Specification of a page for a series. Returns raw undecimated points beginning nearest to the given page
|
|
50741
50802
|
token, advancing pageSize points in the time direction specified by the sign of the page size.
|
|
@@ -51883,6 +51944,26 @@ scout_compute_api_RangeMap.__qualname__ = "RangeMap"
|
|
|
51883
51944
|
scout_compute_api_RangeMap.__module__ = "nominal_api.scout_compute_api"
|
|
51884
51945
|
|
|
51885
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
|
+
|
|
51886
51967
|
class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
51887
51968
|
_approximate_threshold: Optional["scout_compute_api_ApproximateThresholdRanges"] = None
|
|
51888
51969
|
_duration_filter: Optional["scout_compute_api_DurationFilterRanges"] = None
|
|
@@ -51904,6 +51985,7 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
51904
51985
|
_stale_range: Optional["scout_compute_api_StaleRanges"] = None
|
|
51905
51986
|
_threshold: Optional["scout_compute_api_ThresholdingRanges"] = None
|
|
51906
51987
|
_union_range: Optional["scout_compute_api_UnionRanges"] = None
|
|
51988
|
+
_padded_ranges: Optional["scout_compute_api_PaddedRanges"] = None
|
|
51907
51989
|
|
|
51908
51990
|
@builtins.classmethod
|
|
51909
51991
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -51927,7 +52009,8 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
51927
52009
|
'stability_detection': ConjureFieldDefinition('stabilityDetection', scout_compute_api_StabilityDetectionRanges),
|
|
51928
52010
|
'stale_range': ConjureFieldDefinition('staleRange', scout_compute_api_StaleRanges),
|
|
51929
52011
|
'threshold': ConjureFieldDefinition('threshold', scout_compute_api_ThresholdingRanges),
|
|
51930
|
-
'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)
|
|
51931
52014
|
}
|
|
51932
52015
|
|
|
51933
52016
|
def __init__(
|
|
@@ -51952,10 +52035,11 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
51952
52035
|
stale_range: Optional["scout_compute_api_StaleRanges"] = None,
|
|
51953
52036
|
threshold: Optional["scout_compute_api_ThresholdingRanges"] = None,
|
|
51954
52037
|
union_range: Optional["scout_compute_api_UnionRanges"] = None,
|
|
52038
|
+
padded_ranges: Optional["scout_compute_api_PaddedRanges"] = None,
|
|
51955
52039
|
type_of_union: Optional[str] = None
|
|
51956
52040
|
) -> None:
|
|
51957
52041
|
if type_of_union is None:
|
|
51958
|
-
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:
|
|
51959
52043
|
raise ValueError('a union must contain a single member')
|
|
51960
52044
|
|
|
51961
52045
|
if approximate_threshold is not None:
|
|
@@ -52018,6 +52102,9 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
52018
52102
|
if union_range is not None:
|
|
52019
52103
|
self._union_range = union_range
|
|
52020
52104
|
self._type = 'unionRange'
|
|
52105
|
+
if padded_ranges is not None:
|
|
52106
|
+
self._padded_ranges = padded_ranges
|
|
52107
|
+
self._type = 'paddedRanges'
|
|
52021
52108
|
|
|
52022
52109
|
elif type_of_union == 'approximateThreshold':
|
|
52023
52110
|
if approximate_threshold is None:
|
|
@@ -52119,6 +52206,11 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
52119
52206
|
raise ValueError('a union value must not be None')
|
|
52120
52207
|
self._union_range = union_range
|
|
52121
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'
|
|
52122
52214
|
|
|
52123
52215
|
@builtins.property
|
|
52124
52216
|
def approximate_threshold(self) -> Optional["scout_compute_api_ApproximateThresholdRanges"]:
|
|
@@ -52204,6 +52296,10 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
52204
52296
|
def union_range(self) -> Optional["scout_compute_api_UnionRanges"]:
|
|
52205
52297
|
return self._union_range
|
|
52206
52298
|
|
|
52299
|
+
@builtins.property
|
|
52300
|
+
def padded_ranges(self) -> Optional["scout_compute_api_PaddedRanges"]:
|
|
52301
|
+
return self._padded_ranges
|
|
52302
|
+
|
|
52207
52303
|
def accept(self, visitor) -> Any:
|
|
52208
52304
|
if not isinstance(visitor, scout_compute_api_RangeSeriesVisitor):
|
|
52209
52305
|
raise ValueError('{} is not an instance of scout_compute_api_RangeSeriesVisitor'.format(visitor.__class__.__name__))
|
|
@@ -52247,6 +52343,8 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
52247
52343
|
return visitor._threshold(self.threshold)
|
|
52248
52344
|
if self._type == 'unionRange' and self.union_range is not None:
|
|
52249
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)
|
|
52250
52348
|
|
|
52251
52349
|
|
|
52252
52350
|
scout_compute_api_RangeSeries.__name__ = "RangeSeries"
|
|
@@ -52336,6 +52434,10 @@ class scout_compute_api_RangeSeriesVisitor:
|
|
|
52336
52434
|
def _union_range(self, union_range: "scout_compute_api_UnionRanges") -> Any:
|
|
52337
52435
|
pass
|
|
52338
52436
|
|
|
52437
|
+
@abstractmethod
|
|
52438
|
+
def _padded_ranges(self, padded_ranges: "scout_compute_api_PaddedRanges") -> Any:
|
|
52439
|
+
pass
|
|
52440
|
+
|
|
52339
52441
|
|
|
52340
52442
|
scout_compute_api_RangeSeriesVisitor.__name__ = "RangeSeriesVisitor"
|
|
52341
52443
|
scout_compute_api_RangeSeriesVisitor.__qualname__ = "RangeSeriesVisitor"
|
|
@@ -53207,40 +53309,52 @@ scout_compute_api_SelectNewestPointsSeries.__module__ = "nominal_api.scout_compu
|
|
|
53207
53309
|
|
|
53208
53310
|
class scout_compute_api_SelectValue(ConjureUnionType):
|
|
53209
53311
|
_first_point: Optional["scout_compute_api_Series"] = None
|
|
53312
|
+
_first_value_point: Optional["scout_compute_api_Series"] = None
|
|
53210
53313
|
_first_range: Optional["scout_compute_api_RangeSeries"] = None
|
|
53211
53314
|
_last_point: Optional["scout_compute_api_Series"] = None
|
|
53315
|
+
_last_value_point: Optional["scout_compute_api_Series"] = None
|
|
53212
53316
|
_last_range: Optional["scout_compute_api_RangeSeries"] = None
|
|
53213
53317
|
|
|
53214
53318
|
@builtins.classmethod
|
|
53215
53319
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
53216
53320
|
return {
|
|
53217
53321
|
'first_point': ConjureFieldDefinition('firstPoint', scout_compute_api_Series),
|
|
53322
|
+
'first_value_point': ConjureFieldDefinition('firstValuePoint', scout_compute_api_Series),
|
|
53218
53323
|
'first_range': ConjureFieldDefinition('firstRange', scout_compute_api_RangeSeries),
|
|
53219
53324
|
'last_point': ConjureFieldDefinition('lastPoint', scout_compute_api_Series),
|
|
53325
|
+
'last_value_point': ConjureFieldDefinition('lastValuePoint', scout_compute_api_Series),
|
|
53220
53326
|
'last_range': ConjureFieldDefinition('lastRange', scout_compute_api_RangeSeries)
|
|
53221
53327
|
}
|
|
53222
53328
|
|
|
53223
53329
|
def __init__(
|
|
53224
53330
|
self,
|
|
53225
53331
|
first_point: Optional["scout_compute_api_Series"] = None,
|
|
53332
|
+
first_value_point: Optional["scout_compute_api_Series"] = None,
|
|
53226
53333
|
first_range: Optional["scout_compute_api_RangeSeries"] = None,
|
|
53227
53334
|
last_point: Optional["scout_compute_api_Series"] = None,
|
|
53335
|
+
last_value_point: Optional["scout_compute_api_Series"] = None,
|
|
53228
53336
|
last_range: Optional["scout_compute_api_RangeSeries"] = None,
|
|
53229
53337
|
type_of_union: Optional[str] = None
|
|
53230
53338
|
) -> None:
|
|
53231
53339
|
if type_of_union is None:
|
|
53232
|
-
if (first_point is not None) + (first_range is not None) + (last_point is not None) + (last_range is not None) != 1:
|
|
53340
|
+
if (first_point is not None) + (first_value_point is not None) + (first_range is not None) + (last_point is not None) + (last_value_point is not None) + (last_range is not None) != 1:
|
|
53233
53341
|
raise ValueError('a union must contain a single member')
|
|
53234
53342
|
|
|
53235
53343
|
if first_point is not None:
|
|
53236
53344
|
self._first_point = first_point
|
|
53237
53345
|
self._type = 'firstPoint'
|
|
53346
|
+
if first_value_point is not None:
|
|
53347
|
+
self._first_value_point = first_value_point
|
|
53348
|
+
self._type = 'firstValuePoint'
|
|
53238
53349
|
if first_range is not None:
|
|
53239
53350
|
self._first_range = first_range
|
|
53240
53351
|
self._type = 'firstRange'
|
|
53241
53352
|
if last_point is not None:
|
|
53242
53353
|
self._last_point = last_point
|
|
53243
53354
|
self._type = 'lastPoint'
|
|
53355
|
+
if last_value_point is not None:
|
|
53356
|
+
self._last_value_point = last_value_point
|
|
53357
|
+
self._type = 'lastValuePoint'
|
|
53244
53358
|
if last_range is not None:
|
|
53245
53359
|
self._last_range = last_range
|
|
53246
53360
|
self._type = 'lastRange'
|
|
@@ -53250,6 +53364,11 @@ class scout_compute_api_SelectValue(ConjureUnionType):
|
|
|
53250
53364
|
raise ValueError('a union value must not be None')
|
|
53251
53365
|
self._first_point = first_point
|
|
53252
53366
|
self._type = 'firstPoint'
|
|
53367
|
+
elif type_of_union == 'firstValuePoint':
|
|
53368
|
+
if first_value_point is None:
|
|
53369
|
+
raise ValueError('a union value must not be None')
|
|
53370
|
+
self._first_value_point = first_value_point
|
|
53371
|
+
self._type = 'firstValuePoint'
|
|
53253
53372
|
elif type_of_union == 'firstRange':
|
|
53254
53373
|
if first_range is None:
|
|
53255
53374
|
raise ValueError('a union value must not be None')
|
|
@@ -53260,6 +53379,11 @@ class scout_compute_api_SelectValue(ConjureUnionType):
|
|
|
53260
53379
|
raise ValueError('a union value must not be None')
|
|
53261
53380
|
self._last_point = last_point
|
|
53262
53381
|
self._type = 'lastPoint'
|
|
53382
|
+
elif type_of_union == 'lastValuePoint':
|
|
53383
|
+
if last_value_point is None:
|
|
53384
|
+
raise ValueError('a union value must not be None')
|
|
53385
|
+
self._last_value_point = last_value_point
|
|
53386
|
+
self._type = 'lastValuePoint'
|
|
53263
53387
|
elif type_of_union == 'lastRange':
|
|
53264
53388
|
if last_range is None:
|
|
53265
53389
|
raise ValueError('a union value must not be None')
|
|
@@ -53270,6 +53394,10 @@ class scout_compute_api_SelectValue(ConjureUnionType):
|
|
|
53270
53394
|
def first_point(self) -> Optional["scout_compute_api_Series"]:
|
|
53271
53395
|
return self._first_point
|
|
53272
53396
|
|
|
53397
|
+
@builtins.property
|
|
53398
|
+
def first_value_point(self) -> Optional["scout_compute_api_Series"]:
|
|
53399
|
+
return self._first_value_point
|
|
53400
|
+
|
|
53273
53401
|
@builtins.property
|
|
53274
53402
|
def first_range(self) -> Optional["scout_compute_api_RangeSeries"]:
|
|
53275
53403
|
return self._first_range
|
|
@@ -53278,6 +53406,10 @@ class scout_compute_api_SelectValue(ConjureUnionType):
|
|
|
53278
53406
|
def last_point(self) -> Optional["scout_compute_api_Series"]:
|
|
53279
53407
|
return self._last_point
|
|
53280
53408
|
|
|
53409
|
+
@builtins.property
|
|
53410
|
+
def last_value_point(self) -> Optional["scout_compute_api_Series"]:
|
|
53411
|
+
return self._last_value_point
|
|
53412
|
+
|
|
53281
53413
|
@builtins.property
|
|
53282
53414
|
def last_range(self) -> Optional["scout_compute_api_RangeSeries"]:
|
|
53283
53415
|
return self._last_range
|
|
@@ -53287,10 +53419,14 @@ class scout_compute_api_SelectValue(ConjureUnionType):
|
|
|
53287
53419
|
raise ValueError('{} is not an instance of scout_compute_api_SelectValueVisitor'.format(visitor.__class__.__name__))
|
|
53288
53420
|
if self._type == 'firstPoint' and self.first_point is not None:
|
|
53289
53421
|
return visitor._first_point(self.first_point)
|
|
53422
|
+
if self._type == 'firstValuePoint' and self.first_value_point is not None:
|
|
53423
|
+
return visitor._first_value_point(self.first_value_point)
|
|
53290
53424
|
if self._type == 'firstRange' and self.first_range is not None:
|
|
53291
53425
|
return visitor._first_range(self.first_range)
|
|
53292
53426
|
if self._type == 'lastPoint' and self.last_point is not None:
|
|
53293
53427
|
return visitor._last_point(self.last_point)
|
|
53428
|
+
if self._type == 'lastValuePoint' and self.last_value_point is not None:
|
|
53429
|
+
return visitor._last_value_point(self.last_value_point)
|
|
53294
53430
|
if self._type == 'lastRange' and self.last_range is not None:
|
|
53295
53431
|
return visitor._last_range(self.last_range)
|
|
53296
53432
|
|
|
@@ -53306,6 +53442,10 @@ class scout_compute_api_SelectValueVisitor:
|
|
|
53306
53442
|
def _first_point(self, first_point: "scout_compute_api_Series") -> Any:
|
|
53307
53443
|
pass
|
|
53308
53444
|
|
|
53445
|
+
@abstractmethod
|
|
53446
|
+
def _first_value_point(self, first_value_point: "scout_compute_api_Series") -> Any:
|
|
53447
|
+
pass
|
|
53448
|
+
|
|
53309
53449
|
@abstractmethod
|
|
53310
53450
|
def _first_range(self, first_range: "scout_compute_api_RangeSeries") -> Any:
|
|
53311
53451
|
pass
|
|
@@ -53314,6 +53454,10 @@ class scout_compute_api_SelectValueVisitor:
|
|
|
53314
53454
|
def _last_point(self, last_point: "scout_compute_api_Series") -> Any:
|
|
53315
53455
|
pass
|
|
53316
53456
|
|
|
53457
|
+
@abstractmethod
|
|
53458
|
+
def _last_value_point(self, last_value_point: "scout_compute_api_Series") -> Any:
|
|
53459
|
+
pass
|
|
53460
|
+
|
|
53317
53461
|
@abstractmethod
|
|
53318
53462
|
def _last_range(self, last_range: "scout_compute_api_RangeSeries") -> Any:
|
|
53319
53463
|
pass
|
|
@@ -53769,6 +53913,45 @@ scout_compute_api_SignalFilterSeries.__qualname__ = "SignalFilterSeries"
|
|
|
53769
53913
|
scout_compute_api_SignalFilterSeries.__module__ = "nominal_api.scout_compute_api"
|
|
53770
53914
|
|
|
53771
53915
|
|
|
53916
|
+
class scout_compute_api_SinglePoint(ConjureBeanType):
|
|
53917
|
+
"""A return type used for sending generic point value returns. Uses strings to pass Int64.
|
|
53918
|
+
Precision loss is a warning that will be true if any of the referenced series are Int series and
|
|
53919
|
+
the result is computed with casting values to doubles due to lack of ability to be done in clickhouse.
|
|
53920
|
+
"""
|
|
53921
|
+
|
|
53922
|
+
@builtins.classmethod
|
|
53923
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
53924
|
+
return {
|
|
53925
|
+
'timestamp': ConjureFieldDefinition('timestamp', api_Timestamp),
|
|
53926
|
+
'value': ConjureFieldDefinition('value', scout_compute_api_Value),
|
|
53927
|
+
'precision_loss': ConjureFieldDefinition('precisionLoss', bool)
|
|
53928
|
+
}
|
|
53929
|
+
|
|
53930
|
+
__slots__: List[str] = ['_timestamp', '_value', '_precision_loss']
|
|
53931
|
+
|
|
53932
|
+
def __init__(self, precision_loss: bool, timestamp: "api_Timestamp", value: "scout_compute_api_Value") -> None:
|
|
53933
|
+
self._timestamp = timestamp
|
|
53934
|
+
self._value = value
|
|
53935
|
+
self._precision_loss = precision_loss
|
|
53936
|
+
|
|
53937
|
+
@builtins.property
|
|
53938
|
+
def timestamp(self) -> "api_Timestamp":
|
|
53939
|
+
return self._timestamp
|
|
53940
|
+
|
|
53941
|
+
@builtins.property
|
|
53942
|
+
def value(self) -> "scout_compute_api_Value":
|
|
53943
|
+
return self._value
|
|
53944
|
+
|
|
53945
|
+
@builtins.property
|
|
53946
|
+
def precision_loss(self) -> bool:
|
|
53947
|
+
return self._precision_loss
|
|
53948
|
+
|
|
53949
|
+
|
|
53950
|
+
scout_compute_api_SinglePoint.__name__ = "SinglePoint"
|
|
53951
|
+
scout_compute_api_SinglePoint.__qualname__ = "SinglePoint"
|
|
53952
|
+
scout_compute_api_SinglePoint.__module__ = "nominal_api.scout_compute_api"
|
|
53953
|
+
|
|
53954
|
+
|
|
53772
53955
|
class scout_compute_api_SpatialDecimateStrategy(ConjureBeanType):
|
|
53773
53956
|
"""Decimate by spatial trees.
|
|
53774
53957
|
Creates buckets by bisecting on each dimension, creating quadrants for 2d scatter and octants for 3d scatter.
|
|
@@ -55368,6 +55551,148 @@ scout_compute_api_UnitsMissing.__qualname__ = "UnitsMissing"
|
|
|
55368
55551
|
scout_compute_api_UnitsMissing.__module__ = "nominal_api.scout_compute_api"
|
|
55369
55552
|
|
|
55370
55553
|
|
|
55554
|
+
class scout_compute_api_Value(ConjureUnionType):
|
|
55555
|
+
"""A way to represent any general return value. Supports numeric, string, array, and struct returns.
|
|
55556
|
+
"""
|
|
55557
|
+
_string_value: Optional[str] = None
|
|
55558
|
+
_float64_value: Optional[float] = None
|
|
55559
|
+
_int64_value: Optional[str] = None
|
|
55560
|
+
_array_value: Optional[List[Optional["scout_compute_api_Value"]]] = None
|
|
55561
|
+
_object_value: Optional[Dict[str, Optional["scout_compute_api_Value"]]] = None
|
|
55562
|
+
|
|
55563
|
+
@builtins.classmethod
|
|
55564
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
55565
|
+
return {
|
|
55566
|
+
'string_value': ConjureFieldDefinition('stringValue', str),
|
|
55567
|
+
'float64_value': ConjureFieldDefinition('float64Value', float),
|
|
55568
|
+
'int64_value': ConjureFieldDefinition('int64Value', str),
|
|
55569
|
+
'array_value': ConjureFieldDefinition('arrayValue', List[OptionalTypeWrapper[scout_compute_api_Value]]),
|
|
55570
|
+
'object_value': ConjureFieldDefinition('objectValue', Dict[str, OptionalTypeWrapper[scout_compute_api_Value]])
|
|
55571
|
+
}
|
|
55572
|
+
|
|
55573
|
+
def __init__(
|
|
55574
|
+
self,
|
|
55575
|
+
string_value: Optional[str] = None,
|
|
55576
|
+
float64_value: Optional[float] = None,
|
|
55577
|
+
int64_value: Optional[str] = None,
|
|
55578
|
+
array_value: Optional[List[Optional["scout_compute_api_Value"]]] = None,
|
|
55579
|
+
object_value: Optional[Dict[str, Optional["scout_compute_api_Value"]]] = None,
|
|
55580
|
+
type_of_union: Optional[str] = None
|
|
55581
|
+
) -> None:
|
|
55582
|
+
if type_of_union is None:
|
|
55583
|
+
if (string_value is not None) + (float64_value is not None) + (int64_value is not None) + (array_value is not None) + (object_value is not None) != 1:
|
|
55584
|
+
raise ValueError('a union must contain a single member')
|
|
55585
|
+
|
|
55586
|
+
if string_value is not None:
|
|
55587
|
+
self._string_value = string_value
|
|
55588
|
+
self._type = 'stringValue'
|
|
55589
|
+
if float64_value is not None:
|
|
55590
|
+
self._float64_value = float64_value
|
|
55591
|
+
self._type = 'float64Value'
|
|
55592
|
+
if int64_value is not None:
|
|
55593
|
+
self._int64_value = int64_value
|
|
55594
|
+
self._type = 'int64Value'
|
|
55595
|
+
if array_value is not None:
|
|
55596
|
+
self._array_value = array_value
|
|
55597
|
+
self._type = 'arrayValue'
|
|
55598
|
+
if object_value is not None:
|
|
55599
|
+
self._object_value = object_value
|
|
55600
|
+
self._type = 'objectValue'
|
|
55601
|
+
|
|
55602
|
+
elif type_of_union == 'stringValue':
|
|
55603
|
+
if string_value is None:
|
|
55604
|
+
raise ValueError('a union value must not be None')
|
|
55605
|
+
self._string_value = string_value
|
|
55606
|
+
self._type = 'stringValue'
|
|
55607
|
+
elif type_of_union == 'float64Value':
|
|
55608
|
+
if float64_value is None:
|
|
55609
|
+
raise ValueError('a union value must not be None')
|
|
55610
|
+
self._float64_value = float64_value
|
|
55611
|
+
self._type = 'float64Value'
|
|
55612
|
+
elif type_of_union == 'int64Value':
|
|
55613
|
+
if int64_value is None:
|
|
55614
|
+
raise ValueError('a union value must not be None')
|
|
55615
|
+
self._int64_value = int64_value
|
|
55616
|
+
self._type = 'int64Value'
|
|
55617
|
+
elif type_of_union == 'arrayValue':
|
|
55618
|
+
if array_value is None:
|
|
55619
|
+
raise ValueError('a union value must not be None')
|
|
55620
|
+
self._array_value = array_value
|
|
55621
|
+
self._type = 'arrayValue'
|
|
55622
|
+
elif type_of_union == 'objectValue':
|
|
55623
|
+
if object_value is None:
|
|
55624
|
+
raise ValueError('a union value must not be None')
|
|
55625
|
+
self._object_value = object_value
|
|
55626
|
+
self._type = 'objectValue'
|
|
55627
|
+
|
|
55628
|
+
@builtins.property
|
|
55629
|
+
def string_value(self) -> Optional[str]:
|
|
55630
|
+
return self._string_value
|
|
55631
|
+
|
|
55632
|
+
@builtins.property
|
|
55633
|
+
def float64_value(self) -> Optional[float]:
|
|
55634
|
+
return self._float64_value
|
|
55635
|
+
|
|
55636
|
+
@builtins.property
|
|
55637
|
+
def int64_value(self) -> Optional[str]:
|
|
55638
|
+
return self._int64_value
|
|
55639
|
+
|
|
55640
|
+
@builtins.property
|
|
55641
|
+
def array_value(self) -> Optional[List[Optional["scout_compute_api_Value"]]]:
|
|
55642
|
+
return self._array_value
|
|
55643
|
+
|
|
55644
|
+
@builtins.property
|
|
55645
|
+
def object_value(self) -> Optional[Dict[str, Optional["scout_compute_api_Value"]]]:
|
|
55646
|
+
return self._object_value
|
|
55647
|
+
|
|
55648
|
+
def accept(self, visitor) -> Any:
|
|
55649
|
+
if not isinstance(visitor, scout_compute_api_ValueVisitor):
|
|
55650
|
+
raise ValueError('{} is not an instance of scout_compute_api_ValueVisitor'.format(visitor.__class__.__name__))
|
|
55651
|
+
if self._type == 'stringValue' and self.string_value is not None:
|
|
55652
|
+
return visitor._string_value(self.string_value)
|
|
55653
|
+
if self._type == 'float64Value' and self.float64_value is not None:
|
|
55654
|
+
return visitor._float64_value(self.float64_value)
|
|
55655
|
+
if self._type == 'int64Value' and self.int64_value is not None:
|
|
55656
|
+
return visitor._int64_value(self.int64_value)
|
|
55657
|
+
if self._type == 'arrayValue' and self.array_value is not None:
|
|
55658
|
+
return visitor._array_value(self.array_value)
|
|
55659
|
+
if self._type == 'objectValue' and self.object_value is not None:
|
|
55660
|
+
return visitor._object_value(self.object_value)
|
|
55661
|
+
|
|
55662
|
+
|
|
55663
|
+
scout_compute_api_Value.__name__ = "Value"
|
|
55664
|
+
scout_compute_api_Value.__qualname__ = "Value"
|
|
55665
|
+
scout_compute_api_Value.__module__ = "nominal_api.scout_compute_api"
|
|
55666
|
+
|
|
55667
|
+
|
|
55668
|
+
class scout_compute_api_ValueVisitor:
|
|
55669
|
+
|
|
55670
|
+
@abstractmethod
|
|
55671
|
+
def _string_value(self, string_value: str) -> Any:
|
|
55672
|
+
pass
|
|
55673
|
+
|
|
55674
|
+
@abstractmethod
|
|
55675
|
+
def _float64_value(self, float64_value: float) -> Any:
|
|
55676
|
+
pass
|
|
55677
|
+
|
|
55678
|
+
@abstractmethod
|
|
55679
|
+
def _int64_value(self, int64_value: str) -> Any:
|
|
55680
|
+
pass
|
|
55681
|
+
|
|
55682
|
+
@abstractmethod
|
|
55683
|
+
def _array_value(self, array_value: List[Optional["scout_compute_api_Value"]]) -> Any:
|
|
55684
|
+
pass
|
|
55685
|
+
|
|
55686
|
+
@abstractmethod
|
|
55687
|
+
def _object_value(self, object_value: Dict[str, Optional["scout_compute_api_Value"]]) -> Any:
|
|
55688
|
+
pass
|
|
55689
|
+
|
|
55690
|
+
|
|
55691
|
+
scout_compute_api_ValueVisitor.__name__ = "ValueVisitor"
|
|
55692
|
+
scout_compute_api_ValueVisitor.__qualname__ = "ValueVisitor"
|
|
55693
|
+
scout_compute_api_ValueVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
55694
|
+
|
|
55695
|
+
|
|
55371
55696
|
class scout_compute_api_ValueDifferenceSeries(ConjureBeanType):
|
|
55372
55697
|
"""Outputs a new series where each value is the difference between the values of the current and previous point.
|
|
55373
55698
|
"""
|
|
@@ -55446,6 +55771,24 @@ scout_compute_api_ValueMapSeries.__qualname__ = "ValueMapSeries"
|
|
|
55446
55771
|
scout_compute_api_ValueMapSeries.__module__ = "nominal_api.scout_compute_api"
|
|
55447
55772
|
|
|
55448
55773
|
|
|
55774
|
+
class scout_compute_api_ValueStrategy(ConjureEnumType):
|
|
55775
|
+
|
|
55776
|
+
FIRST = 'FIRST'
|
|
55777
|
+
'''FIRST'''
|
|
55778
|
+
LAST = 'LAST'
|
|
55779
|
+
'''LAST'''
|
|
55780
|
+
UNKNOWN = 'UNKNOWN'
|
|
55781
|
+
'''UNKNOWN'''
|
|
55782
|
+
|
|
55783
|
+
def __reduce_ex__(self, proto):
|
|
55784
|
+
return self.__class__, (self.name,)
|
|
55785
|
+
|
|
55786
|
+
|
|
55787
|
+
scout_compute_api_ValueStrategy.__name__ = "ValueStrategy"
|
|
55788
|
+
scout_compute_api_ValueStrategy.__qualname__ = "ValueStrategy"
|
|
55789
|
+
scout_compute_api_ValueStrategy.__module__ = "nominal_api.scout_compute_api"
|
|
55790
|
+
|
|
55791
|
+
|
|
55449
55792
|
class scout_compute_api_VariableValue(ConjureUnionType):
|
|
55450
55793
|
_double: Optional[float] = None
|
|
55451
55794
|
_compute_node: Optional["scout_compute_api_ComputeNodeWithContext"] = None
|
|
@@ -61684,6 +62027,41 @@ scout_compute_resolved_api_OnChangeRangesNode.__qualname__ = "OnChangeRangesNode
|
|
|
61684
62027
|
scout_compute_resolved_api_OnChangeRangesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
61685
62028
|
|
|
61686
62029
|
|
|
62030
|
+
class scout_compute_resolved_api_PaddedRangesNode(ConjureBeanType):
|
|
62031
|
+
|
|
62032
|
+
@builtins.classmethod
|
|
62033
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
62034
|
+
return {
|
|
62035
|
+
'input': ConjureFieldDefinition('input', scout_compute_resolved_api_RangesNode),
|
|
62036
|
+
'padding': ConjureFieldDefinition('padding', scout_run_api_Duration),
|
|
62037
|
+
'padding_configuration': ConjureFieldDefinition('paddingConfiguration', scout_compute_api_RangePaddingConfiguration)
|
|
62038
|
+
}
|
|
62039
|
+
|
|
62040
|
+
__slots__: List[str] = ['_input', '_padding', '_padding_configuration']
|
|
62041
|
+
|
|
62042
|
+
def __init__(self, input: "scout_compute_resolved_api_RangesNode", padding: "scout_run_api_Duration", padding_configuration: "scout_compute_api_RangePaddingConfiguration") -> None:
|
|
62043
|
+
self._input = input
|
|
62044
|
+
self._padding = padding
|
|
62045
|
+
self._padding_configuration = padding_configuration
|
|
62046
|
+
|
|
62047
|
+
@builtins.property
|
|
62048
|
+
def input(self) -> "scout_compute_resolved_api_RangesNode":
|
|
62049
|
+
return self._input
|
|
62050
|
+
|
|
62051
|
+
@builtins.property
|
|
62052
|
+
def padding(self) -> "scout_run_api_Duration":
|
|
62053
|
+
return self._padding
|
|
62054
|
+
|
|
62055
|
+
@builtins.property
|
|
62056
|
+
def padding_configuration(self) -> "scout_compute_api_RangePaddingConfiguration":
|
|
62057
|
+
return self._padding_configuration
|
|
62058
|
+
|
|
62059
|
+
|
|
62060
|
+
scout_compute_resolved_api_PaddedRangesNode.__name__ = "PaddedRangesNode"
|
|
62061
|
+
scout_compute_resolved_api_PaddedRangesNode.__qualname__ = "PaddedRangesNode"
|
|
62062
|
+
scout_compute_resolved_api_PaddedRangesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
62063
|
+
|
|
62064
|
+
|
|
61687
62065
|
class scout_compute_resolved_api_PercentageThreshold(ConjureBeanType):
|
|
61688
62066
|
|
|
61689
62067
|
@builtins.classmethod
|
|
@@ -61897,6 +62275,7 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
61897
62275
|
_threshold: Optional["scout_compute_resolved_api_ThresholdingRangesNode"] = None
|
|
61898
62276
|
_union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None
|
|
61899
62277
|
_event_search: Optional["scout_compute_resolved_api_EventSearchNode"] = None
|
|
62278
|
+
_padded_ranges: Optional["scout_compute_resolved_api_PaddedRangesNode"] = None
|
|
61900
62279
|
|
|
61901
62280
|
@builtins.classmethod
|
|
61902
62281
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -61916,7 +62295,8 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
61916
62295
|
'stability_detection': ConjureFieldDefinition('stabilityDetection', scout_compute_resolved_api_StabilityDetectionRangesNode),
|
|
61917
62296
|
'threshold': ConjureFieldDefinition('threshold', scout_compute_resolved_api_ThresholdingRangesNode),
|
|
61918
62297
|
'union_range': ConjureFieldDefinition('unionRange', scout_compute_resolved_api_UnionRangesNode),
|
|
61919
|
-
'event_search': ConjureFieldDefinition('eventSearch', scout_compute_resolved_api_EventSearchNode)
|
|
62298
|
+
'event_search': ConjureFieldDefinition('eventSearch', scout_compute_resolved_api_EventSearchNode),
|
|
62299
|
+
'padded_ranges': ConjureFieldDefinition('paddedRanges', scout_compute_resolved_api_PaddedRangesNode)
|
|
61920
62300
|
}
|
|
61921
62301
|
|
|
61922
62302
|
def __init__(
|
|
@@ -61937,10 +62317,11 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
61937
62317
|
threshold: Optional["scout_compute_resolved_api_ThresholdingRangesNode"] = None,
|
|
61938
62318
|
union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None,
|
|
61939
62319
|
event_search: Optional["scout_compute_resolved_api_EventSearchNode"] = None,
|
|
62320
|
+
padded_ranges: Optional["scout_compute_resolved_api_PaddedRangesNode"] = None,
|
|
61940
62321
|
type_of_union: Optional[str] = None
|
|
61941
62322
|
) -> None:
|
|
61942
62323
|
if type_of_union is None:
|
|
61943
|
-
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:
|
|
62324
|
+
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:
|
|
61944
62325
|
raise ValueError('a union must contain a single member')
|
|
61945
62326
|
|
|
61946
62327
|
if duration_filter is not None:
|
|
@@ -61991,6 +62372,9 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
61991
62372
|
if event_search is not None:
|
|
61992
62373
|
self._event_search = event_search
|
|
61993
62374
|
self._type = 'eventSearch'
|
|
62375
|
+
if padded_ranges is not None:
|
|
62376
|
+
self._padded_ranges = padded_ranges
|
|
62377
|
+
self._type = 'paddedRanges'
|
|
61994
62378
|
|
|
61995
62379
|
elif type_of_union == 'durationFilter':
|
|
61996
62380
|
if duration_filter is None:
|
|
@@ -62072,6 +62456,11 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
62072
62456
|
raise ValueError('a union value must not be None')
|
|
62073
62457
|
self._event_search = event_search
|
|
62074
62458
|
self._type = 'eventSearch'
|
|
62459
|
+
elif type_of_union == 'paddedRanges':
|
|
62460
|
+
if padded_ranges is None:
|
|
62461
|
+
raise ValueError('a union value must not be None')
|
|
62462
|
+
self._padded_ranges = padded_ranges
|
|
62463
|
+
self._type = 'paddedRanges'
|
|
62075
62464
|
|
|
62076
62465
|
@builtins.property
|
|
62077
62466
|
def duration_filter(self) -> Optional["scout_compute_resolved_api_DurationFilterRangesNode"]:
|
|
@@ -62137,6 +62526,10 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
62137
62526
|
def event_search(self) -> Optional["scout_compute_resolved_api_EventSearchNode"]:
|
|
62138
62527
|
return self._event_search
|
|
62139
62528
|
|
|
62529
|
+
@builtins.property
|
|
62530
|
+
def padded_ranges(self) -> Optional["scout_compute_resolved_api_PaddedRangesNode"]:
|
|
62531
|
+
return self._padded_ranges
|
|
62532
|
+
|
|
62140
62533
|
def accept(self, visitor) -> Any:
|
|
62141
62534
|
if not isinstance(visitor, scout_compute_resolved_api_RangesNodeVisitor):
|
|
62142
62535
|
raise ValueError('{} is not an instance of scout_compute_resolved_api_RangesNodeVisitor'.format(visitor.__class__.__name__))
|
|
@@ -62172,6 +62565,8 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
62172
62565
|
return visitor._union_range(self.union_range)
|
|
62173
62566
|
if self._type == 'eventSearch' and self.event_search is not None:
|
|
62174
62567
|
return visitor._event_search(self.event_search)
|
|
62568
|
+
if self._type == 'paddedRanges' and self.padded_ranges is not None:
|
|
62569
|
+
return visitor._padded_ranges(self.padded_ranges)
|
|
62175
62570
|
|
|
62176
62571
|
|
|
62177
62572
|
scout_compute_resolved_api_RangesNode.__name__ = "RangesNode"
|
|
@@ -62245,6 +62640,10 @@ class scout_compute_resolved_api_RangesNodeVisitor:
|
|
|
62245
62640
|
def _event_search(self, event_search: "scout_compute_resolved_api_EventSearchNode") -> Any:
|
|
62246
62641
|
pass
|
|
62247
62642
|
|
|
62643
|
+
@abstractmethod
|
|
62644
|
+
def _padded_ranges(self, padded_ranges: "scout_compute_resolved_api_PaddedRangesNode") -> Any:
|
|
62645
|
+
pass
|
|
62646
|
+
|
|
62248
62647
|
|
|
62249
62648
|
scout_compute_resolved_api_RangesNodeVisitor.__name__ = "RangesNodeVisitor"
|
|
62250
62649
|
scout_compute_resolved_api_RangesNodeVisitor.__qualname__ = "RangesNodeVisitor"
|
|
@@ -63151,40 +63550,52 @@ scout_compute_resolved_api_SelectNewestPointsSeriesNode.__module__ = "nominal_ap
|
|
|
63151
63550
|
|
|
63152
63551
|
class scout_compute_resolved_api_SelectValueNode(ConjureUnionType):
|
|
63153
63552
|
_first_point: Optional["scout_compute_resolved_api_SeriesNode"] = None
|
|
63553
|
+
_first_value_point: Optional["scout_compute_resolved_api_SeriesNode"] = None
|
|
63154
63554
|
_first_range: Optional["scout_compute_resolved_api_RangesNode"] = None
|
|
63155
63555
|
_last_point: Optional["scout_compute_resolved_api_SeriesNode"] = None
|
|
63556
|
+
_last_value_point: Optional["scout_compute_resolved_api_SeriesNode"] = None
|
|
63156
63557
|
_last_range: Optional["scout_compute_resolved_api_RangesNode"] = None
|
|
63157
63558
|
|
|
63158
63559
|
@builtins.classmethod
|
|
63159
63560
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
63160
63561
|
return {
|
|
63161
63562
|
'first_point': ConjureFieldDefinition('firstPoint', scout_compute_resolved_api_SeriesNode),
|
|
63563
|
+
'first_value_point': ConjureFieldDefinition('firstValuePoint', scout_compute_resolved_api_SeriesNode),
|
|
63162
63564
|
'first_range': ConjureFieldDefinition('firstRange', scout_compute_resolved_api_RangesNode),
|
|
63163
63565
|
'last_point': ConjureFieldDefinition('lastPoint', scout_compute_resolved_api_SeriesNode),
|
|
63566
|
+
'last_value_point': ConjureFieldDefinition('lastValuePoint', scout_compute_resolved_api_SeriesNode),
|
|
63164
63567
|
'last_range': ConjureFieldDefinition('lastRange', scout_compute_resolved_api_RangesNode)
|
|
63165
63568
|
}
|
|
63166
63569
|
|
|
63167
63570
|
def __init__(
|
|
63168
63571
|
self,
|
|
63169
63572
|
first_point: Optional["scout_compute_resolved_api_SeriesNode"] = None,
|
|
63573
|
+
first_value_point: Optional["scout_compute_resolved_api_SeriesNode"] = None,
|
|
63170
63574
|
first_range: Optional["scout_compute_resolved_api_RangesNode"] = None,
|
|
63171
63575
|
last_point: Optional["scout_compute_resolved_api_SeriesNode"] = None,
|
|
63576
|
+
last_value_point: Optional["scout_compute_resolved_api_SeriesNode"] = None,
|
|
63172
63577
|
last_range: Optional["scout_compute_resolved_api_RangesNode"] = None,
|
|
63173
63578
|
type_of_union: Optional[str] = None
|
|
63174
63579
|
) -> None:
|
|
63175
63580
|
if type_of_union is None:
|
|
63176
|
-
if (first_point is not None) + (first_range is not None) + (last_point is not None) + (last_range is not None) != 1:
|
|
63581
|
+
if (first_point is not None) + (first_value_point is not None) + (first_range is not None) + (last_point is not None) + (last_value_point is not None) + (last_range is not None) != 1:
|
|
63177
63582
|
raise ValueError('a union must contain a single member')
|
|
63178
63583
|
|
|
63179
63584
|
if first_point is not None:
|
|
63180
63585
|
self._first_point = first_point
|
|
63181
63586
|
self._type = 'firstPoint'
|
|
63587
|
+
if first_value_point is not None:
|
|
63588
|
+
self._first_value_point = first_value_point
|
|
63589
|
+
self._type = 'firstValuePoint'
|
|
63182
63590
|
if first_range is not None:
|
|
63183
63591
|
self._first_range = first_range
|
|
63184
63592
|
self._type = 'firstRange'
|
|
63185
63593
|
if last_point is not None:
|
|
63186
63594
|
self._last_point = last_point
|
|
63187
63595
|
self._type = 'lastPoint'
|
|
63596
|
+
if last_value_point is not None:
|
|
63597
|
+
self._last_value_point = last_value_point
|
|
63598
|
+
self._type = 'lastValuePoint'
|
|
63188
63599
|
if last_range is not None:
|
|
63189
63600
|
self._last_range = last_range
|
|
63190
63601
|
self._type = 'lastRange'
|
|
@@ -63194,6 +63605,11 @@ class scout_compute_resolved_api_SelectValueNode(ConjureUnionType):
|
|
|
63194
63605
|
raise ValueError('a union value must not be None')
|
|
63195
63606
|
self._first_point = first_point
|
|
63196
63607
|
self._type = 'firstPoint'
|
|
63608
|
+
elif type_of_union == 'firstValuePoint':
|
|
63609
|
+
if first_value_point is None:
|
|
63610
|
+
raise ValueError('a union value must not be None')
|
|
63611
|
+
self._first_value_point = first_value_point
|
|
63612
|
+
self._type = 'firstValuePoint'
|
|
63197
63613
|
elif type_of_union == 'firstRange':
|
|
63198
63614
|
if first_range is None:
|
|
63199
63615
|
raise ValueError('a union value must not be None')
|
|
@@ -63204,6 +63620,11 @@ class scout_compute_resolved_api_SelectValueNode(ConjureUnionType):
|
|
|
63204
63620
|
raise ValueError('a union value must not be None')
|
|
63205
63621
|
self._last_point = last_point
|
|
63206
63622
|
self._type = 'lastPoint'
|
|
63623
|
+
elif type_of_union == 'lastValuePoint':
|
|
63624
|
+
if last_value_point is None:
|
|
63625
|
+
raise ValueError('a union value must not be None')
|
|
63626
|
+
self._last_value_point = last_value_point
|
|
63627
|
+
self._type = 'lastValuePoint'
|
|
63207
63628
|
elif type_of_union == 'lastRange':
|
|
63208
63629
|
if last_range is None:
|
|
63209
63630
|
raise ValueError('a union value must not be None')
|
|
@@ -63214,6 +63635,10 @@ class scout_compute_resolved_api_SelectValueNode(ConjureUnionType):
|
|
|
63214
63635
|
def first_point(self) -> Optional["scout_compute_resolved_api_SeriesNode"]:
|
|
63215
63636
|
return self._first_point
|
|
63216
63637
|
|
|
63638
|
+
@builtins.property
|
|
63639
|
+
def first_value_point(self) -> Optional["scout_compute_resolved_api_SeriesNode"]:
|
|
63640
|
+
return self._first_value_point
|
|
63641
|
+
|
|
63217
63642
|
@builtins.property
|
|
63218
63643
|
def first_range(self) -> Optional["scout_compute_resolved_api_RangesNode"]:
|
|
63219
63644
|
return self._first_range
|
|
@@ -63222,6 +63647,10 @@ class scout_compute_resolved_api_SelectValueNode(ConjureUnionType):
|
|
|
63222
63647
|
def last_point(self) -> Optional["scout_compute_resolved_api_SeriesNode"]:
|
|
63223
63648
|
return self._last_point
|
|
63224
63649
|
|
|
63650
|
+
@builtins.property
|
|
63651
|
+
def last_value_point(self) -> Optional["scout_compute_resolved_api_SeriesNode"]:
|
|
63652
|
+
return self._last_value_point
|
|
63653
|
+
|
|
63225
63654
|
@builtins.property
|
|
63226
63655
|
def last_range(self) -> Optional["scout_compute_resolved_api_RangesNode"]:
|
|
63227
63656
|
return self._last_range
|
|
@@ -63231,10 +63660,14 @@ class scout_compute_resolved_api_SelectValueNode(ConjureUnionType):
|
|
|
63231
63660
|
raise ValueError('{} is not an instance of scout_compute_resolved_api_SelectValueNodeVisitor'.format(visitor.__class__.__name__))
|
|
63232
63661
|
if self._type == 'firstPoint' and self.first_point is not None:
|
|
63233
63662
|
return visitor._first_point(self.first_point)
|
|
63663
|
+
if self._type == 'firstValuePoint' and self.first_value_point is not None:
|
|
63664
|
+
return visitor._first_value_point(self.first_value_point)
|
|
63234
63665
|
if self._type == 'firstRange' and self.first_range is not None:
|
|
63235
63666
|
return visitor._first_range(self.first_range)
|
|
63236
63667
|
if self._type == 'lastPoint' and self.last_point is not None:
|
|
63237
63668
|
return visitor._last_point(self.last_point)
|
|
63669
|
+
if self._type == 'lastValuePoint' and self.last_value_point is not None:
|
|
63670
|
+
return visitor._last_value_point(self.last_value_point)
|
|
63238
63671
|
if self._type == 'lastRange' and self.last_range is not None:
|
|
63239
63672
|
return visitor._last_range(self.last_range)
|
|
63240
63673
|
|
|
@@ -63250,6 +63683,10 @@ class scout_compute_resolved_api_SelectValueNodeVisitor:
|
|
|
63250
63683
|
def _first_point(self, first_point: "scout_compute_resolved_api_SeriesNode") -> Any:
|
|
63251
63684
|
pass
|
|
63252
63685
|
|
|
63686
|
+
@abstractmethod
|
|
63687
|
+
def _first_value_point(self, first_value_point: "scout_compute_resolved_api_SeriesNode") -> Any:
|
|
63688
|
+
pass
|
|
63689
|
+
|
|
63253
63690
|
@abstractmethod
|
|
63254
63691
|
def _first_range(self, first_range: "scout_compute_resolved_api_RangesNode") -> Any:
|
|
63255
63692
|
pass
|
|
@@ -63258,6 +63695,10 @@ class scout_compute_resolved_api_SelectValueNodeVisitor:
|
|
|
63258
63695
|
def _last_point(self, last_point: "scout_compute_resolved_api_SeriesNode") -> Any:
|
|
63259
63696
|
pass
|
|
63260
63697
|
|
|
63698
|
+
@abstractmethod
|
|
63699
|
+
def _last_value_point(self, last_value_point: "scout_compute_resolved_api_SeriesNode") -> Any:
|
|
63700
|
+
pass
|
|
63701
|
+
|
|
63261
63702
|
@abstractmethod
|
|
63262
63703
|
def _last_range(self, last_range: "scout_compute_resolved_api_RangesNode") -> Any:
|
|
63263
63704
|
pass
|
|
@@ -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,
|
|
@@ -314,6 +316,7 @@ from .._impl import (
|
|
|
314
316
|
scout_compute_api_SignalFilterConfiguration as SignalFilterConfiguration,
|
|
315
317
|
scout_compute_api_SignalFilterConfigurationVisitor as SignalFilterConfigurationVisitor,
|
|
316
318
|
scout_compute_api_SignalFilterSeries as SignalFilterSeries,
|
|
319
|
+
scout_compute_api_SinglePoint as SinglePoint,
|
|
317
320
|
scout_compute_api_SpatialDecimateStrategy as SpatialDecimateStrategy,
|
|
318
321
|
scout_compute_api_StabilityDetectionRanges as StabilityDetectionRanges,
|
|
319
322
|
scout_compute_api_StabilityWindowConfiguration as StabilityWindowConfiguration,
|
|
@@ -360,8 +363,11 @@ from .._impl import (
|
|
|
360
363
|
scout_compute_api_UnitResult as UnitResult,
|
|
361
364
|
scout_compute_api_UnitResultVisitor as UnitResultVisitor,
|
|
362
365
|
scout_compute_api_UnitsMissing as UnitsMissing,
|
|
366
|
+
scout_compute_api_Value as Value,
|
|
363
367
|
scout_compute_api_ValueDifferenceSeries as ValueDifferenceSeries,
|
|
364
368
|
scout_compute_api_ValueMapSeries as ValueMapSeries,
|
|
369
|
+
scout_compute_api_ValueStrategy as ValueStrategy,
|
|
370
|
+
scout_compute_api_ValueVisitor as ValueVisitor,
|
|
365
371
|
scout_compute_api_VariableName as VariableName,
|
|
366
372
|
scout_compute_api_VariableValue as VariableValue,
|
|
367
373
|
scout_compute_api_VariableValueVisitor as VariableValueVisitor,
|
|
@@ -617,6 +623,7 @@ __all__ = [
|
|
|
617
623
|
'OutputFormat',
|
|
618
624
|
'OutputRangeStart',
|
|
619
625
|
'OutputRangeStartVisitor',
|
|
626
|
+
'PaddedRanges',
|
|
620
627
|
'PageInfo',
|
|
621
628
|
'PageStrategy',
|
|
622
629
|
'PageStrategyVisitor',
|
|
@@ -648,6 +655,7 @@ __all__ = [
|
|
|
648
655
|
'RangeAggregationOperation',
|
|
649
656
|
'RangeAggregationOperationVisitor',
|
|
650
657
|
'RangeMap',
|
|
658
|
+
'RangePaddingConfiguration',
|
|
651
659
|
'RangeSeries',
|
|
652
660
|
'RangeSeriesVisitor',
|
|
653
661
|
'RangeSummary',
|
|
@@ -683,6 +691,7 @@ __all__ = [
|
|
|
683
691
|
'SignalFilterConfiguration',
|
|
684
692
|
'SignalFilterConfigurationVisitor',
|
|
685
693
|
'SignalFilterSeries',
|
|
694
|
+
'SinglePoint',
|
|
686
695
|
'SpatialDecimateStrategy',
|
|
687
696
|
'StabilityDetectionRanges',
|
|
688
697
|
'StabilityWindowConfiguration',
|
|
@@ -729,8 +738,11 @@ __all__ = [
|
|
|
729
738
|
'UnitResult',
|
|
730
739
|
'UnitResultVisitor',
|
|
731
740
|
'UnitsMissing',
|
|
741
|
+
'Value',
|
|
742
|
+
'ValueVisitor',
|
|
732
743
|
'ValueDifferenceSeries',
|
|
733
744
|
'ValueMapSeries',
|
|
745
|
+
'ValueStrategy',
|
|
734
746
|
'VariableName',
|
|
735
747
|
'VariableValue',
|
|
736
748
|
'VariableValueVisitor',
|
|
@@ -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=CW7_BZ2UZur65R2DO7-trm3Od1m-D2s0LQQiYWKANyE,2088
|
|
2
|
+
nominal_api/_impl.py,sha256=AjBv5B5INxbs6ALEonHSJaUr4wtadDlBrpRMKYemHE0,3803671
|
|
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=vxL3b1fqF9GUMWMHmn1hRhchcrBbgXMilNbyDMZgZNY,34201
|
|
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.0.dist-info/METADATA,sha256=B0NxZGb8e8YQQj-zV0afzzhkVvh6GIsmrCw3g7xeHmc,199
|
|
82
|
+
nominal_api-0.916.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
83
|
+
nominal_api-0.916.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
84
|
+
nominal_api-0.916.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|