nominal-api 0.735.0__py3-none-any.whl → 0.737.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +171 -56
- nominal_api/modules/__init__.py +10 -4
- nominal_api/scout_chartdefinition_api/__init__.py +2 -0
- {nominal_api-0.735.0.dist-info → nominal_api-0.737.0.dist-info}/METADATA +1 -1
- {nominal_api-0.735.0.dist-info → nominal_api-0.737.0.dist-info}/RECORD +8 -8
- {nominal_api-0.735.0.dist-info → nominal_api-0.737.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.735.0.dist-info → nominal_api-0.737.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
@@ -14190,22 +14190,24 @@ modules_BatchUnarchiveModulesResponse.__qualname__ = "BatchUnarchiveModulesRespo
|
|
14190
14190
|
modules_BatchUnarchiveModulesResponse.__module__ = "nominal_api.modules"
|
14191
14191
|
|
14192
14192
|
|
14193
|
-
class
|
14193
|
+
class modules_CreateModuleRequest(ConjureBeanType):
|
14194
14194
|
|
14195
14195
|
@builtins.classmethod
|
14196
14196
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
14197
14197
|
return {
|
14198
14198
|
'name': ConjureFieldDefinition('name', str),
|
14199
14199
|
'description': ConjureFieldDefinition('description', str),
|
14200
|
-
'definition': ConjureFieldDefinition('definition', modules_ModuleVersionDefinition)
|
14200
|
+
'definition': ConjureFieldDefinition('definition', modules_ModuleVersionDefinition),
|
14201
|
+
'workspace': ConjureFieldDefinition('workspace', OptionalTypeWrapper[api_rids_WorkspaceRid])
|
14201
14202
|
}
|
14202
14203
|
|
14203
|
-
__slots__: List[str] = ['_name', '_description', '_definition']
|
14204
|
+
__slots__: List[str] = ['_name', '_description', '_definition', '_workspace']
|
14204
14205
|
|
14205
|
-
def __init__(self, definition: "modules_ModuleVersionDefinition", description: str, name: str) -> None:
|
14206
|
+
def __init__(self, definition: "modules_ModuleVersionDefinition", description: str, name: str, workspace: Optional[str] = None) -> None:
|
14206
14207
|
self._name = name
|
14207
14208
|
self._description = description
|
14208
14209
|
self._definition = definition
|
14210
|
+
self._workspace = workspace
|
14209
14211
|
|
14210
14212
|
@builtins.property
|
14211
14213
|
def name(self) -> str:
|
@@ -14221,10 +14223,14 @@ class modules_CreateOrUpdateModuleRequest(ConjureBeanType):
|
|
14221
14223
|
def definition(self) -> "modules_ModuleVersionDefinition":
|
14222
14224
|
return self._definition
|
14223
14225
|
|
14226
|
+
@builtins.property
|
14227
|
+
def workspace(self) -> Optional[str]:
|
14228
|
+
return self._workspace
|
14224
14229
|
|
14225
|
-
|
14226
|
-
|
14227
|
-
|
14230
|
+
|
14231
|
+
modules_CreateModuleRequest.__name__ = "CreateModuleRequest"
|
14232
|
+
modules_CreateModuleRequest.__qualname__ = "CreateModuleRequest"
|
14233
|
+
modules_CreateModuleRequest.__module__ = "nominal_api.modules"
|
14228
14234
|
|
14229
14235
|
|
14230
14236
|
class modules_Function(ConjureBeanType):
|
@@ -14379,9 +14385,9 @@ class modules_FunctionParameter(ConjureBeanType):
|
|
14379
14385
|
@builtins.classmethod
|
14380
14386
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
14381
14387
|
return {
|
14382
|
-
'name': ConjureFieldDefinition('name',
|
14388
|
+
'name': ConjureFieldDefinition('name', modules_ParameterName),
|
14383
14389
|
'type': ConjureFieldDefinition('type', modules_ValueType),
|
14384
|
-
'default_value': ConjureFieldDefinition('defaultValue', OptionalTypeWrapper[
|
14390
|
+
'default_value': ConjureFieldDefinition('defaultValue', OptionalTypeWrapper[modules_VariableName])
|
14385
14391
|
}
|
14386
14392
|
|
14387
14393
|
__slots__: List[str] = ['_name', '_type', '_default_value']
|
@@ -14566,7 +14572,7 @@ class modules_ModuleParameter(ConjureBeanType):
|
|
14566
14572
|
@builtins.classmethod
|
14567
14573
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
14568
14574
|
return {
|
14569
|
-
'name': ConjureFieldDefinition('name',
|
14575
|
+
'name': ConjureFieldDefinition('name', modules_ParameterName),
|
14570
14576
|
'type': ConjureFieldDefinition('type', modules_ValueType)
|
14571
14577
|
}
|
14572
14578
|
|
@@ -14642,19 +14648,54 @@ modules_ModuleSummary.__qualname__ = "ModuleSummary"
|
|
14642
14648
|
modules_ModuleSummary.__module__ = "nominal_api.modules"
|
14643
14649
|
|
14644
14650
|
|
14651
|
+
class modules_ModuleVariable(ConjureBeanType):
|
14652
|
+
|
14653
|
+
@builtins.classmethod
|
14654
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
14655
|
+
return {
|
14656
|
+
'name': ConjureFieldDefinition('name', modules_VariableName),
|
14657
|
+
'type': ConjureFieldDefinition('type', modules_ValueType),
|
14658
|
+
'value': ConjureFieldDefinition('value', scout_compute_api_VariableValue)
|
14659
|
+
}
|
14660
|
+
|
14661
|
+
__slots__: List[str] = ['_name', '_type', '_value']
|
14662
|
+
|
14663
|
+
def __init__(self, name: str, type: "modules_ValueType", value: "scout_compute_api_VariableValue") -> None:
|
14664
|
+
self._name = name
|
14665
|
+
self._type = type
|
14666
|
+
self._value = value
|
14667
|
+
|
14668
|
+
@builtins.property
|
14669
|
+
def name(self) -> str:
|
14670
|
+
return self._name
|
14671
|
+
|
14672
|
+
@builtins.property
|
14673
|
+
def type(self) -> "modules_ValueType":
|
14674
|
+
return self._type
|
14675
|
+
|
14676
|
+
@builtins.property
|
14677
|
+
def value(self) -> "scout_compute_api_VariableValue":
|
14678
|
+
return self._value
|
14679
|
+
|
14680
|
+
|
14681
|
+
modules_ModuleVariable.__name__ = "ModuleVariable"
|
14682
|
+
modules_ModuleVariable.__qualname__ = "ModuleVariable"
|
14683
|
+
modules_ModuleVariable.__module__ = "nominal_api.modules"
|
14684
|
+
|
14685
|
+
|
14645
14686
|
class modules_ModuleVersionDefinition(ConjureBeanType):
|
14646
14687
|
|
14647
14688
|
@builtins.classmethod
|
14648
14689
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
14649
14690
|
return {
|
14650
14691
|
'parameters': ConjureFieldDefinition('parameters', List[modules_ModuleParameter]),
|
14651
|
-
'default_variables': ConjureFieldDefinition('defaultVariables', List[
|
14692
|
+
'default_variables': ConjureFieldDefinition('defaultVariables', List[modules_ModuleVariable]),
|
14652
14693
|
'functions': ConjureFieldDefinition('functions', List[modules_Function])
|
14653
14694
|
}
|
14654
14695
|
|
14655
14696
|
__slots__: List[str] = ['_parameters', '_default_variables', '_functions']
|
14656
14697
|
|
14657
|
-
def __init__(self, default_variables: List["
|
14698
|
+
def __init__(self, default_variables: List["modules_ModuleVariable"], functions: List["modules_Function"], parameters: List["modules_ModuleParameter"]) -> None:
|
14658
14699
|
self._parameters = parameters
|
14659
14700
|
self._default_variables = default_variables
|
14660
14701
|
self._functions = functions
|
@@ -14666,7 +14707,7 @@ class modules_ModuleVersionDefinition(ConjureBeanType):
|
|
14666
14707
|
return self._parameters
|
14667
14708
|
|
14668
14709
|
@builtins.property
|
14669
|
-
def default_variables(self) -> List["
|
14710
|
+
def default_variables(self) -> List["modules_ModuleVariable"]:
|
14670
14711
|
"""Specifies the variables that are present within the module to be used by other variables or functions.
|
14671
14712
|
Limited to 100.
|
14672
14713
|
"""
|
@@ -14719,7 +14760,7 @@ class modules_ModulesService(Service):
|
|
14719
14760
|
to assets. The Modules Service provides the api for managing these collections and using them.
|
14720
14761
|
"""
|
14721
14762
|
|
14722
|
-
def create_module(self, auth_header: str, request: "
|
14763
|
+
def create_module(self, auth_header: str, request: "modules_CreateModuleRequest") -> "modules_Module":
|
14723
14764
|
"""Create a new module.
|
14724
14765
|
"""
|
14725
14766
|
_conjure_encoder = ConjureEncoder()
|
@@ -14751,7 +14792,7 @@ to assets. The Modules Service provides the api for managing these collections a
|
|
14751
14792
|
_decoder = ConjureDecoder()
|
14752
14793
|
return _decoder.decode(_response.json(), modules_Module, self._return_none_for_unknown_union_types)
|
14753
14794
|
|
14754
|
-
def update_module(self, auth_header: str, module_rid: str, request: "
|
14795
|
+
def update_module(self, auth_header: str, module_rid: str, request: "modules_UpdateModuleRequest") -> "modules_Module":
|
14755
14796
|
"""Update an existing module.
|
14756
14797
|
"""
|
14757
14798
|
_conjure_encoder = ConjureEncoder()
|
@@ -15022,16 +15063,18 @@ class modules_SearchModuleApplicationsRequest(ConjureBeanType):
|
|
15022
15063
|
'search_text': ConjureFieldDefinition('searchText', str),
|
15023
15064
|
'asset_rids': ConjureFieldDefinition('assetRids', OptionalTypeWrapper[List[scout_rids_api_AssetRid]]),
|
15024
15065
|
'module_rids': ConjureFieldDefinition('moduleRids', OptionalTypeWrapper[List[modules_api_ModuleRid]]),
|
15066
|
+
'workspaces': ConjureFieldDefinition('workspaces', OptionalTypeWrapper[List[api_rids_WorkspaceRid]]),
|
15025
15067
|
'page_size': ConjureFieldDefinition('pageSize', int),
|
15026
15068
|
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
15027
15069
|
}
|
15028
15070
|
|
15029
|
-
__slots__: List[str] = ['_search_text', '_asset_rids', '_module_rids', '_page_size', '_next_page_token']
|
15071
|
+
__slots__: List[str] = ['_search_text', '_asset_rids', '_module_rids', '_workspaces', '_page_size', '_next_page_token']
|
15030
15072
|
|
15031
|
-
def __init__(self, page_size: int, search_text: str, asset_rids: Optional[List[str]] = None, module_rids: Optional[List[str]] = None, next_page_token: Optional[str] = None) -> None:
|
15073
|
+
def __init__(self, page_size: int, search_text: str, asset_rids: Optional[List[str]] = None, module_rids: Optional[List[str]] = None, next_page_token: Optional[str] = None, workspaces: Optional[List[str]] = None) -> None:
|
15032
15074
|
self._search_text = search_text
|
15033
15075
|
self._asset_rids = asset_rids
|
15034
15076
|
self._module_rids = module_rids
|
15077
|
+
self._workspaces = workspaces
|
15035
15078
|
self._page_size = page_size
|
15036
15079
|
self._next_page_token = next_page_token
|
15037
15080
|
|
@@ -15047,6 +15090,10 @@ class modules_SearchModuleApplicationsRequest(ConjureBeanType):
|
|
15047
15090
|
def module_rids(self) -> Optional[List[str]]:
|
15048
15091
|
return self._module_rids
|
15049
15092
|
|
15093
|
+
@builtins.property
|
15094
|
+
def workspaces(self) -> Optional[List[str]]:
|
15095
|
+
return self._workspaces
|
15096
|
+
|
15050
15097
|
@builtins.property
|
15051
15098
|
def page_size(self) -> int:
|
15052
15099
|
return self._page_size
|
@@ -15094,6 +15141,7 @@ class modules_SearchModulesQuery(ConjureUnionType):
|
|
15094
15141
|
_search_text: Optional[str] = None
|
15095
15142
|
_created_by: Optional[str] = None
|
15096
15143
|
_last_updated_by: Optional[str] = None
|
15144
|
+
_workspace: Optional[str] = None
|
15097
15145
|
_and_: Optional[List["modules_SearchModulesQuery"]] = None
|
15098
15146
|
_or_: Optional[List["modules_SearchModulesQuery"]] = None
|
15099
15147
|
_not_: Optional["modules_SearchModulesQuery"] = None
|
@@ -15104,6 +15152,7 @@ class modules_SearchModulesQuery(ConjureUnionType):
|
|
15104
15152
|
'search_text': ConjureFieldDefinition('searchText', str),
|
15105
15153
|
'created_by': ConjureFieldDefinition('createdBy', scout_rids_api_UserRid),
|
15106
15154
|
'last_updated_by': ConjureFieldDefinition('lastUpdatedBy', scout_rids_api_UserRid),
|
15155
|
+
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid),
|
15107
15156
|
'and_': ConjureFieldDefinition('and', List[modules_SearchModulesQuery]),
|
15108
15157
|
'or_': ConjureFieldDefinition('or', List[modules_SearchModulesQuery]),
|
15109
15158
|
'not_': ConjureFieldDefinition('not', modules_SearchModulesQuery)
|
@@ -15114,13 +15163,14 @@ class modules_SearchModulesQuery(ConjureUnionType):
|
|
15114
15163
|
search_text: Optional[str] = None,
|
15115
15164
|
created_by: Optional[str] = None,
|
15116
15165
|
last_updated_by: Optional[str] = None,
|
15166
|
+
workspace: Optional[str] = None,
|
15117
15167
|
and_: Optional[List["modules_SearchModulesQuery"]] = None,
|
15118
15168
|
or_: Optional[List["modules_SearchModulesQuery"]] = None,
|
15119
15169
|
not_: Optional["modules_SearchModulesQuery"] = None,
|
15120
15170
|
type_of_union: Optional[str] = None
|
15121
15171
|
) -> None:
|
15122
15172
|
if type_of_union is None:
|
15123
|
-
if (search_text is not None) + (created_by is not None) + (last_updated_by is not None) + (and_ is not None) + (or_ is not None) + (not_ is not None) != 1:
|
15173
|
+
if (search_text is not None) + (created_by is not None) + (last_updated_by is not None) + (workspace is not None) + (and_ is not None) + (or_ is not None) + (not_ is not None) != 1:
|
15124
15174
|
raise ValueError('a union must contain a single member')
|
15125
15175
|
|
15126
15176
|
if search_text is not None:
|
@@ -15132,6 +15182,9 @@ class modules_SearchModulesQuery(ConjureUnionType):
|
|
15132
15182
|
if last_updated_by is not None:
|
15133
15183
|
self._last_updated_by = last_updated_by
|
15134
15184
|
self._type = 'lastUpdatedBy'
|
15185
|
+
if workspace is not None:
|
15186
|
+
self._workspace = workspace
|
15187
|
+
self._type = 'workspace'
|
15135
15188
|
if and_ is not None:
|
15136
15189
|
self._and_ = and_
|
15137
15190
|
self._type = 'and'
|
@@ -15157,6 +15210,11 @@ class modules_SearchModulesQuery(ConjureUnionType):
|
|
15157
15210
|
raise ValueError('a union value must not be None')
|
15158
15211
|
self._last_updated_by = last_updated_by
|
15159
15212
|
self._type = 'lastUpdatedBy'
|
15213
|
+
elif type_of_union == 'workspace':
|
15214
|
+
if workspace is None:
|
15215
|
+
raise ValueError('a union value must not be None')
|
15216
|
+
self._workspace = workspace
|
15217
|
+
self._type = 'workspace'
|
15160
15218
|
elif type_of_union == 'and':
|
15161
15219
|
if and_ is None:
|
15162
15220
|
raise ValueError('a union value must not be None')
|
@@ -15185,6 +15243,10 @@ class modules_SearchModulesQuery(ConjureUnionType):
|
|
15185
15243
|
def last_updated_by(self) -> Optional[str]:
|
15186
15244
|
return self._last_updated_by
|
15187
15245
|
|
15246
|
+
@builtins.property
|
15247
|
+
def workspace(self) -> Optional[str]:
|
15248
|
+
return self._workspace
|
15249
|
+
|
15188
15250
|
@builtins.property
|
15189
15251
|
def and_(self) -> Optional[List["modules_SearchModulesQuery"]]:
|
15190
15252
|
return self._and_
|
@@ -15206,6 +15268,8 @@ class modules_SearchModulesQuery(ConjureUnionType):
|
|
15206
15268
|
return visitor._created_by(self.created_by)
|
15207
15269
|
if self._type == 'lastUpdatedBy' and self.last_updated_by is not None:
|
15208
15270
|
return visitor._last_updated_by(self.last_updated_by)
|
15271
|
+
if self._type == 'workspace' and self.workspace is not None:
|
15272
|
+
return visitor._workspace(self.workspace)
|
15209
15273
|
if self._type == 'and' and self.and_ is not None:
|
15210
15274
|
return visitor._and(self.and_)
|
15211
15275
|
if self._type == 'or' and self.or_ is not None:
|
@@ -15233,6 +15297,10 @@ class modules_SearchModulesQueryVisitor:
|
|
15233
15297
|
def _last_updated_by(self, last_updated_by: str) -> Any:
|
15234
15298
|
pass
|
15235
15299
|
|
15300
|
+
@abstractmethod
|
15301
|
+
def _workspace(self, workspace: str) -> Any:
|
15302
|
+
pass
|
15303
|
+
|
15236
15304
|
@abstractmethod
|
15237
15305
|
def _and(self, and_: List["modules_SearchModulesQuery"]) -> Any:
|
15238
15306
|
pass
|
@@ -15350,41 +15418,6 @@ modules_SemanticVersion.__qualname__ = "SemanticVersion"
|
|
15350
15418
|
modules_SemanticVersion.__module__ = "nominal_api.modules"
|
15351
15419
|
|
15352
15420
|
|
15353
|
-
class modules_TypedModuleVariable(ConjureBeanType):
|
15354
|
-
|
15355
|
-
@builtins.classmethod
|
15356
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
15357
|
-
return {
|
15358
|
-
'name': ConjureFieldDefinition('name', str),
|
15359
|
-
'type': ConjureFieldDefinition('type', modules_ValueType),
|
15360
|
-
'value': ConjureFieldDefinition('value', scout_compute_api_VariableValue)
|
15361
|
-
}
|
15362
|
-
|
15363
|
-
__slots__: List[str] = ['_name', '_type', '_value']
|
15364
|
-
|
15365
|
-
def __init__(self, name: str, type: "modules_ValueType", value: "scout_compute_api_VariableValue") -> None:
|
15366
|
-
self._name = name
|
15367
|
-
self._type = type
|
15368
|
-
self._value = value
|
15369
|
-
|
15370
|
-
@builtins.property
|
15371
|
-
def name(self) -> str:
|
15372
|
-
return self._name
|
15373
|
-
|
15374
|
-
@builtins.property
|
15375
|
-
def type(self) -> "modules_ValueType":
|
15376
|
-
return self._type
|
15377
|
-
|
15378
|
-
@builtins.property
|
15379
|
-
def value(self) -> "scout_compute_api_VariableValue":
|
15380
|
-
return self._value
|
15381
|
-
|
15382
|
-
|
15383
|
-
modules_TypedModuleVariable.__name__ = "TypedModuleVariable"
|
15384
|
-
modules_TypedModuleVariable.__qualname__ = "TypedModuleVariable"
|
15385
|
-
modules_TypedModuleVariable.__module__ = "nominal_api.modules"
|
15386
|
-
|
15387
|
-
|
15388
15421
|
class modules_UnapplyModuleRequest(ConjureBeanType):
|
15389
15422
|
|
15390
15423
|
@builtins.classmethod
|
@@ -15437,6 +15470,43 @@ modules_UnapplyModuleResponse.__qualname__ = "UnapplyModuleResponse"
|
|
15437
15470
|
modules_UnapplyModuleResponse.__module__ = "nominal_api.modules"
|
15438
15471
|
|
15439
15472
|
|
15473
|
+
class modules_UpdateModuleRequest(ConjureBeanType):
|
15474
|
+
|
15475
|
+
@builtins.classmethod
|
15476
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
15477
|
+
return {
|
15478
|
+
'name': ConjureFieldDefinition('name', str),
|
15479
|
+
'description': ConjureFieldDefinition('description', str),
|
15480
|
+
'definition': ConjureFieldDefinition('definition', modules_ModuleVersionDefinition)
|
15481
|
+
}
|
15482
|
+
|
15483
|
+
__slots__: List[str] = ['_name', '_description', '_definition']
|
15484
|
+
|
15485
|
+
def __init__(self, definition: "modules_ModuleVersionDefinition", description: str, name: str) -> None:
|
15486
|
+
self._name = name
|
15487
|
+
self._description = description
|
15488
|
+
self._definition = definition
|
15489
|
+
|
15490
|
+
@builtins.property
|
15491
|
+
def name(self) -> str:
|
15492
|
+
"""The name of the module. This should be unique to the module in the current workspace.
|
15493
|
+
"""
|
15494
|
+
return self._name
|
15495
|
+
|
15496
|
+
@builtins.property
|
15497
|
+
def description(self) -> str:
|
15498
|
+
return self._description
|
15499
|
+
|
15500
|
+
@builtins.property
|
15501
|
+
def definition(self) -> "modules_ModuleVersionDefinition":
|
15502
|
+
return self._definition
|
15503
|
+
|
15504
|
+
|
15505
|
+
modules_UpdateModuleRequest.__name__ = "UpdateModuleRequest"
|
15506
|
+
modules_UpdateModuleRequest.__qualname__ = "UpdateModuleRequest"
|
15507
|
+
modules_UpdateModuleRequest.__module__ = "nominal_api.modules"
|
15508
|
+
|
15509
|
+
|
15440
15510
|
class modules_ValueType(ConjureEnumType):
|
15441
15511
|
|
15442
15512
|
NUMERIC_SERIES = 'NUMERIC_SERIES'
|
@@ -27848,6 +27918,39 @@ scout_chartdefinition_api_Scatter3dTraceComputeConfig.__qualname__ = "Scatter3dT
|
|
27848
27918
|
scout_chartdefinition_api_Scatter3dTraceComputeConfig.__module__ = "nominal_api.scout_chartdefinition_api"
|
27849
27919
|
|
27850
27920
|
|
27921
|
+
class scout_chartdefinition_api_StalenessConfiguration(ConjureBeanType):
|
27922
|
+
|
27923
|
+
@builtins.classmethod
|
27924
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
27925
|
+
return {
|
27926
|
+
'threshold': ConjureFieldDefinition('threshold', scout_run_api_Duration),
|
27927
|
+
'connect_stale_points': ConjureFieldDefinition('connectStalePoints', bool)
|
27928
|
+
}
|
27929
|
+
|
27930
|
+
__slots__: List[str] = ['_threshold', '_connect_stale_points']
|
27931
|
+
|
27932
|
+
def __init__(self, connect_stale_points: bool, threshold: "scout_run_api_Duration") -> None:
|
27933
|
+
self._threshold = threshold
|
27934
|
+
self._connect_stale_points = connect_stale_points
|
27935
|
+
|
27936
|
+
@builtins.property
|
27937
|
+
def threshold(self) -> "scout_run_api_Duration":
|
27938
|
+
"""The duration above which points are considered stale. By default this is 1 second.
|
27939
|
+
"""
|
27940
|
+
return self._threshold
|
27941
|
+
|
27942
|
+
@builtins.property
|
27943
|
+
def connect_stale_points(self) -> bool:
|
27944
|
+
"""Whether or not to visually connect stale points, i.e. points whose distance exceeds that of the configured threshold. By default this is true.
|
27945
|
+
"""
|
27946
|
+
return self._connect_stale_points
|
27947
|
+
|
27948
|
+
|
27949
|
+
scout_chartdefinition_api_StalenessConfiguration.__name__ = "StalenessConfiguration"
|
27950
|
+
scout_chartdefinition_api_StalenessConfiguration.__qualname__ = "StalenessConfiguration"
|
27951
|
+
scout_chartdefinition_api_StalenessConfiguration.__module__ = "nominal_api.scout_chartdefinition_api"
|
27952
|
+
|
27953
|
+
|
27851
27954
|
class scout_chartdefinition_api_Threshold(ConjureBeanType):
|
27852
27955
|
|
27853
27956
|
@builtins.classmethod
|
@@ -28025,12 +28128,13 @@ class scout_chartdefinition_api_TimeSeriesChartDefinitionV1(ConjureBeanType):
|
|
28025
28128
|
'title': ConjureFieldDefinition('title', OptionalTypeWrapper[str]),
|
28026
28129
|
'value_axes': ConjureFieldDefinition('valueAxes', List[scout_chartdefinition_api_ValueAxis]),
|
28027
28130
|
'thresholds': ConjureFieldDefinition('thresholds', OptionalTypeWrapper[List[scout_chartdefinition_api_AxisThresholdVisualization]]),
|
28028
|
-
'disconnected_values': ConjureFieldDefinition('disconnectedValues', OptionalTypeWrapper[scout_chartdefinition_api_DisconnectedValueVisualization])
|
28131
|
+
'disconnected_values': ConjureFieldDefinition('disconnectedValues', OptionalTypeWrapper[scout_chartdefinition_api_DisconnectedValueVisualization]),
|
28132
|
+
'staleness_configuration': ConjureFieldDefinition('stalenessConfiguration', OptionalTypeWrapper[scout_chartdefinition_api_StalenessConfiguration])
|
28029
28133
|
}
|
28030
28134
|
|
28031
|
-
__slots__: List[str] = ['_rows', '_comparison_run_groups', '_events', '_title', '_value_axes', '_thresholds', '_disconnected_values']
|
28135
|
+
__slots__: List[str] = ['_rows', '_comparison_run_groups', '_events', '_title', '_value_axes', '_thresholds', '_disconnected_values', '_staleness_configuration']
|
28032
28136
|
|
28033
|
-
def __init__(self, comparison_run_groups: List["scout_comparisonrun_api_ComparisonRunGroup"], rows: List["scout_chartdefinition_api_TimeSeriesRow"], value_axes: List["scout_chartdefinition_api_ValueAxis"], disconnected_values: Optional["scout_chartdefinition_api_DisconnectedValueVisualization"] = None, events: Optional[List["scout_chartdefinition_api_Event"]] = None, thresholds: Optional[List["scout_chartdefinition_api_AxisThresholdVisualization"]] = None, title: Optional[str] = None) -> None:
|
28137
|
+
def __init__(self, comparison_run_groups: List["scout_comparisonrun_api_ComparisonRunGroup"], rows: List["scout_chartdefinition_api_TimeSeriesRow"], value_axes: List["scout_chartdefinition_api_ValueAxis"], disconnected_values: Optional["scout_chartdefinition_api_DisconnectedValueVisualization"] = None, events: Optional[List["scout_chartdefinition_api_Event"]] = None, staleness_configuration: Optional["scout_chartdefinition_api_StalenessConfiguration"] = None, thresholds: Optional[List["scout_chartdefinition_api_AxisThresholdVisualization"]] = None, title: Optional[str] = None) -> None:
|
28034
28138
|
self._rows = rows
|
28035
28139
|
self._comparison_run_groups = comparison_run_groups
|
28036
28140
|
self._events = events
|
@@ -28038,6 +28142,7 @@ class scout_chartdefinition_api_TimeSeriesChartDefinitionV1(ConjureBeanType):
|
|
28038
28142
|
self._value_axes = value_axes
|
28039
28143
|
self._thresholds = thresholds
|
28040
28144
|
self._disconnected_values = disconnected_values
|
28145
|
+
self._staleness_configuration = staleness_configuration
|
28041
28146
|
|
28042
28147
|
@builtins.property
|
28043
28148
|
def rows(self) -> List["scout_chartdefinition_api_TimeSeriesRow"]:
|
@@ -28069,6 +28174,12 @@ class scout_chartdefinition_api_TimeSeriesChartDefinitionV1(ConjureBeanType):
|
|
28069
28174
|
"""
|
28070
28175
|
return self._disconnected_values
|
28071
28176
|
|
28177
|
+
@builtins.property
|
28178
|
+
def staleness_configuration(self) -> Optional["scout_chartdefinition_api_StalenessConfiguration"]:
|
28179
|
+
"""Determines when to draw lines between points. By default, the staleness threshold is 1s and stale points are connected.
|
28180
|
+
"""
|
28181
|
+
return self._staleness_configuration
|
28182
|
+
|
28072
28183
|
|
28073
28184
|
scout_chartdefinition_api_TimeSeriesChartDefinitionV1.__name__ = "TimeSeriesChartDefinitionV1"
|
28074
28185
|
scout_chartdefinition_api_TimeSeriesChartDefinitionV1.__qualname__ = "TimeSeriesChartDefinitionV1"
|
@@ -85406,6 +85517,8 @@ timeseries_logicalseries_api_LocationName = str
|
|
85406
85517
|
|
85407
85518
|
api_rids_DataSourceRid = str
|
85408
85519
|
|
85520
|
+
modules_ParameterName = str
|
85521
|
+
|
85409
85522
|
scout_rids_api_CheckLineageRid = str
|
85410
85523
|
|
85411
85524
|
scout_rids_api_VizId = str
|
@@ -85454,6 +85567,8 @@ persistent_compute_api_Milliseconds = int
|
|
85454
85567
|
|
85455
85568
|
ingest_api_IngestJobRid = str
|
85456
85569
|
|
85570
|
+
modules_VariableName = str
|
85571
|
+
|
85457
85572
|
scout_compute_api_ErrorType = str
|
85458
85573
|
|
85459
85574
|
scout_rids_api_FunctionLineageRid = str
|
nominal_api/modules/__init__.py
CHANGED
@@ -7,7 +7,7 @@ from .._impl import (
|
|
7
7
|
modules_BatchGetModulesRequest as BatchGetModulesRequest,
|
8
8
|
modules_BatchUnarchiveModulesRequest as BatchUnarchiveModulesRequest,
|
9
9
|
modules_BatchUnarchiveModulesResponse as BatchUnarchiveModulesResponse,
|
10
|
-
|
10
|
+
modules_CreateModuleRequest as CreateModuleRequest,
|
11
11
|
modules_Function as Function,
|
12
12
|
modules_FunctionNode as FunctionNode,
|
13
13
|
modules_FunctionNodeVisitor as FunctionNodeVisitor,
|
@@ -19,9 +19,11 @@ from .._impl import (
|
|
19
19
|
modules_ModuleParameter as ModuleParameter,
|
20
20
|
modules_ModuleRef as ModuleRef,
|
21
21
|
modules_ModuleSummary as ModuleSummary,
|
22
|
+
modules_ModuleVariable as ModuleVariable,
|
22
23
|
modules_ModuleVersionDefinition as ModuleVersionDefinition,
|
23
24
|
modules_ModuleVersionMetadata as ModuleVersionMetadata,
|
24
25
|
modules_ModulesService as ModulesService,
|
26
|
+
modules_ParameterName as ParameterName,
|
25
27
|
modules_SearchModuleApplicationsRequest as SearchModuleApplicationsRequest,
|
26
28
|
modules_SearchModuleApplicationsResponse as SearchModuleApplicationsResponse,
|
27
29
|
modules_SearchModulesQuery as SearchModulesQuery,
|
@@ -29,10 +31,11 @@ from .._impl import (
|
|
29
31
|
modules_SearchModulesRequest as SearchModulesRequest,
|
30
32
|
modules_SearchModulesResponse as SearchModulesResponse,
|
31
33
|
modules_SemanticVersion as SemanticVersion,
|
32
|
-
modules_TypedModuleVariable as TypedModuleVariable,
|
33
34
|
modules_UnapplyModuleRequest as UnapplyModuleRequest,
|
34
35
|
modules_UnapplyModuleResponse as UnapplyModuleResponse,
|
36
|
+
modules_UpdateModuleRequest as UpdateModuleRequest,
|
35
37
|
modules_ValueType as ValueType,
|
38
|
+
modules_VariableName as VariableName,
|
36
39
|
)
|
37
40
|
|
38
41
|
__all__ = [
|
@@ -43,7 +46,7 @@ __all__ = [
|
|
43
46
|
'BatchGetModulesRequest',
|
44
47
|
'BatchUnarchiveModulesRequest',
|
45
48
|
'BatchUnarchiveModulesResponse',
|
46
|
-
'
|
49
|
+
'CreateModuleRequest',
|
47
50
|
'Function',
|
48
51
|
'FunctionNode',
|
49
52
|
'FunctionNodeVisitor',
|
@@ -55,8 +58,10 @@ __all__ = [
|
|
55
58
|
'ModuleParameter',
|
56
59
|
'ModuleRef',
|
57
60
|
'ModuleSummary',
|
61
|
+
'ModuleVariable',
|
58
62
|
'ModuleVersionDefinition',
|
59
63
|
'ModuleVersionMetadata',
|
64
|
+
'ParameterName',
|
60
65
|
'SearchModuleApplicationsRequest',
|
61
66
|
'SearchModuleApplicationsResponse',
|
62
67
|
'SearchModulesQuery',
|
@@ -64,10 +69,11 @@ __all__ = [
|
|
64
69
|
'SearchModulesRequest',
|
65
70
|
'SearchModulesResponse',
|
66
71
|
'SemanticVersion',
|
67
|
-
'TypedModuleVariable',
|
68
72
|
'UnapplyModuleRequest',
|
69
73
|
'UnapplyModuleResponse',
|
74
|
+
'UpdateModuleRequest',
|
70
75
|
'ValueType',
|
76
|
+
'VariableName',
|
71
77
|
'ModulesService',
|
72
78
|
]
|
73
79
|
|
@@ -102,6 +102,7 @@ from .._impl import (
|
|
102
102
|
scout_chartdefinition_api_RangeValueVisualisationVisitor as RangeValueVisualisationVisitor,
|
103
103
|
scout_chartdefinition_api_Scatter3dDecimationStrategy as Scatter3dDecimationStrategy,
|
104
104
|
scout_chartdefinition_api_Scatter3dTraceComputeConfig as Scatter3dTraceComputeConfig,
|
105
|
+
scout_chartdefinition_api_StalenessConfiguration as StalenessConfiguration,
|
105
106
|
scout_chartdefinition_api_Threshold as Threshold,
|
106
107
|
scout_chartdefinition_api_ThresholdDisconnectedValues as ThresholdDisconnectedValues,
|
107
108
|
scout_chartdefinition_api_ThresholdLineStyle as ThresholdLineStyle,
|
@@ -251,6 +252,7 @@ __all__ = [
|
|
251
252
|
'RangeValueVisualisationVisitor',
|
252
253
|
'Scatter3dDecimationStrategy',
|
253
254
|
'Scatter3dTraceComputeConfig',
|
255
|
+
'StalenessConfiguration',
|
254
256
|
'Threshold',
|
255
257
|
'ThresholdDisconnectedValues',
|
256
258
|
'ThresholdLineStyle',
|
@@ -1,5 +1,5 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
1
|
+
nominal_api/__init__.py,sha256=9PlAi9BwiwyrEs8Bl-4GLuXabNkWjUY1lj0uv23lC5c,1990
|
2
|
+
nominal_api/_impl.py,sha256=8LlYL4ky_7ASSEOUhyvFS79pJIkYoXgRXZ2eBntug9k,3364623
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
4
4
|
nominal_api/api/__init__.py,sha256=PMREKP7UhxJ1_gHkrlJET46qlDHksKMm6-woR1p6WnU,1970
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
@@ -17,7 +17,7 @@ nominal_api/datasource_pagination_api/__init__.py,sha256=WeENj6yqi2XfInU8YgjFwqw
|
|
17
17
|
nominal_api/event/__init__.py,sha256=t5q8N5ozj3tHwRVhwtL6kwu-1-FMIoTGJT1RX75pwZM,2830
|
18
18
|
nominal_api/ingest_api/__init__.py,sha256=GOAqTeO8WnfczSrfgrcAgFL155TrW9Uzslm5o1tQdm0,11313
|
19
19
|
nominal_api/ingest_workflow_api/__init__.py,sha256=lTCb7s4VCrpur0TDpTy_EDvUdHJ4UKqcTv8MYiEeeko,2954
|
20
|
-
nominal_api/modules/__init__.py,sha256=
|
20
|
+
nominal_api/modules/__init__.py,sha256=wdHy45k945hhWX5qslGEEta2ACsXaTfgUxGyeSDVs80,2977
|
21
21
|
nominal_api/modules_api/__init__.py,sha256=V8ccEclLTh6CbzZvpRhcncPFqFBU-sSUSkfr4KzXL6w,112
|
22
22
|
nominal_api/persistent_compute_api/__init__.py,sha256=bOWBiRLJbl3winMP9EowCUpPpRIUYyejua3059wJWQk,3314
|
23
23
|
nominal_api/scout/__init__.py,sha256=dZzrrqBeio2l0txhlNoHSfv6QsA9a3EVDp0_XpubUGk,481
|
@@ -27,7 +27,7 @@ nominal_api/scout_assets/__init__.py,sha256=1ZyiolDjhxnrhyeUxW_KyeQ_q-6stlqd1I2d
|
|
27
27
|
nominal_api/scout_catalog/__init__.py,sha256=HQ20iWT-Cw2_ch5OqcUl7OwdeB3uHP5o0xivTpOfvFI,4519
|
28
28
|
nominal_api/scout_channelvariables_api/__init__.py,sha256=Wahkyy-m3gEcaRFYU5ZV3beW-W4OeYnOs9Y4eirQO38,1033
|
29
29
|
nominal_api/scout_chart_api/__init__.py,sha256=hkNhoFOmPYnLFeINiQXqya78wbAsx65DoKU0TpUwhQo,261
|
30
|
-
nominal_api/scout_chartdefinition_api/__init__.py,sha256=
|
30
|
+
nominal_api/scout_chartdefinition_api/__init__.py,sha256=6cSEjkqj2VAYkH0oMzTgZwB00HDleQuJuqtofC-fViQ,15457
|
31
31
|
nominal_api/scout_checklistexecution_api/__init__.py,sha256=iVeUjPTlbpQ3vlQkQjHrNDiFdqaWaQeGb6TQxuox-1c,4892
|
32
32
|
nominal_api/scout_checks_api/__init__.py,sha256=sxTv9ZL2rnXCaR7wVRNafqIPIzBbIPDGiJdYAr-VSV0,7317
|
33
33
|
nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=RpTvc8WqNxOuDSXWs-xV3MSSFIoIy8Fj3eaIDCVygvU,6215
|
@@ -74,7 +74,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
|
|
74
74
|
nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
|
75
75
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
|
76
76
|
nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
|
77
|
-
nominal_api-0.
|
78
|
-
nominal_api-0.
|
79
|
-
nominal_api-0.
|
80
|
-
nominal_api-0.
|
77
|
+
nominal_api-0.737.0.dist-info/METADATA,sha256=jAg-HFETRl1-fM6j1vNXxYSdQ3_YxOJ_AZ4McLBPs5U,199
|
78
|
+
nominal_api-0.737.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
79
|
+
nominal_api-0.737.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
80
|
+
nominal_api-0.737.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|