nominal-api 0.878.0__py3-none-any.whl → 0.879.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 +43 -5
- nominal_api/scout_chartdefinition_api/__init__.py +2 -0
- {nominal_api-0.878.0.dist-info → nominal_api-0.879.0.dist-info}/METADATA +1 -1
- {nominal_api-0.878.0.dist-info → nominal_api-0.879.0.dist-info}/RECORD +7 -7
- {nominal_api-0.878.0.dist-info → nominal_api-0.879.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.878.0.dist-info → nominal_api-0.879.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
@@ -31221,15 +31221,17 @@ class scout_chartdefinition_api_Threshold(ConjureBeanType):
|
|
31221
31221
|
return {
|
31222
31222
|
'value': ConjureFieldDefinition('value', float),
|
31223
31223
|
'color': ConjureFieldDefinition('color', scout_api_HexColor),
|
31224
|
-
'label': ConjureFieldDefinition('label', OptionalTypeWrapper[str])
|
31224
|
+
'label': ConjureFieldDefinition('label', OptionalTypeWrapper[str]),
|
31225
|
+
'latch': ConjureFieldDefinition('latch', OptionalTypeWrapper[scout_chartdefinition_api_ThresholdLatch])
|
31225
31226
|
}
|
31226
31227
|
|
31227
|
-
__slots__: List[str] = ['_value', '_color', '_label']
|
31228
|
+
__slots__: List[str] = ['_value', '_color', '_label', '_latch']
|
31228
31229
|
|
31229
|
-
def __init__(self, color: str, value: float, label: Optional[str] = None) -> None:
|
31230
|
+
def __init__(self, color: str, value: float, label: Optional[str] = None, latch: Optional["scout_chartdefinition_api_ThresholdLatch"] = None) -> None:
|
31230
31231
|
self._value = value
|
31231
31232
|
self._color = color
|
31232
31233
|
self._label = label
|
31234
|
+
self._latch = latch
|
31233
31235
|
|
31234
31236
|
@builtins.property
|
31235
31237
|
def value(self) -> float:
|
@@ -31249,6 +31251,13 @@ class scout_chartdefinition_api_Threshold(ConjureBeanType):
|
|
31249
31251
|
"""
|
31250
31252
|
return self._label
|
31251
31253
|
|
31254
|
+
@builtins.property
|
31255
|
+
def latch(self) -> Optional["scout_chartdefinition_api_ThresholdLatch"]:
|
31256
|
+
"""Options for pinning an indicator that data was within the threshold range
|
31257
|
+
while streaming.
|
31258
|
+
"""
|
31259
|
+
return self._latch
|
31260
|
+
|
31252
31261
|
|
31253
31262
|
scout_chartdefinition_api_Threshold.__name__ = "Threshold"
|
31254
31263
|
scout_chartdefinition_api_Threshold.__qualname__ = "Threshold"
|
@@ -31281,6 +31290,29 @@ scout_chartdefinition_api_ThresholdDisconnectedValues.__qualname__ = "ThresholdD
|
|
31281
31290
|
scout_chartdefinition_api_ThresholdDisconnectedValues.__module__ = "nominal_api.scout_chartdefinition_api"
|
31282
31291
|
|
31283
31292
|
|
31293
|
+
class scout_chartdefinition_api_ThresholdLatch(ConjureBeanType):
|
31294
|
+
|
31295
|
+
@builtins.classmethod
|
31296
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
31297
|
+
return {
|
31298
|
+
'enabled': ConjureFieldDefinition('enabled', bool)
|
31299
|
+
}
|
31300
|
+
|
31301
|
+
__slots__: List[str] = ['_enabled']
|
31302
|
+
|
31303
|
+
def __init__(self, enabled: bool) -> None:
|
31304
|
+
self._enabled = enabled
|
31305
|
+
|
31306
|
+
@builtins.property
|
31307
|
+
def enabled(self) -> bool:
|
31308
|
+
return self._enabled
|
31309
|
+
|
31310
|
+
|
31311
|
+
scout_chartdefinition_api_ThresholdLatch.__name__ = "ThresholdLatch"
|
31312
|
+
scout_chartdefinition_api_ThresholdLatch.__qualname__ = "ThresholdLatch"
|
31313
|
+
scout_chartdefinition_api_ThresholdLatch.__module__ = "nominal_api.scout_chartdefinition_api"
|
31314
|
+
|
31315
|
+
|
31284
31316
|
class scout_chartdefinition_api_ThresholdLineStyle(ConjureEnumType):
|
31285
31317
|
|
31286
31318
|
DOTTED = 'DOTTED'
|
@@ -32005,19 +32037,25 @@ class scout_chartdefinition_api_ValueTableCell(ConjureBeanType):
|
|
32005
32037
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
32006
32038
|
return {
|
32007
32039
|
'variable_name': ConjureFieldDefinition('variableName', str),
|
32040
|
+
'uuid': ConjureFieldDefinition('uuid', OptionalTypeWrapper[str]),
|
32008
32041
|
'config': ConjureFieldDefinition('config', scout_chartdefinition_api_ValueTableCellConfig)
|
32009
32042
|
}
|
32010
32043
|
|
32011
|
-
__slots__: List[str] = ['_variable_name', '_config']
|
32044
|
+
__slots__: List[str] = ['_variable_name', '_uuid', '_config']
|
32012
32045
|
|
32013
|
-
def __init__(self, config: "scout_chartdefinition_api_ValueTableCellConfig", variable_name: str) -> None:
|
32046
|
+
def __init__(self, config: "scout_chartdefinition_api_ValueTableCellConfig", variable_name: str, uuid: Optional[str] = None) -> None:
|
32014
32047
|
self._variable_name = variable_name
|
32048
|
+
self._uuid = uuid
|
32015
32049
|
self._config = config
|
32016
32050
|
|
32017
32051
|
@builtins.property
|
32018
32052
|
def variable_name(self) -> str:
|
32019
32053
|
return self._variable_name
|
32020
32054
|
|
32055
|
+
@builtins.property
|
32056
|
+
def uuid(self) -> Optional[str]:
|
32057
|
+
return self._uuid
|
32058
|
+
|
32021
32059
|
@builtins.property
|
32022
32060
|
def config(self) -> "scout_chartdefinition_api_ValueTableCellConfig":
|
32023
32061
|
return self._config
|
@@ -138,6 +138,7 @@ from .._impl import (
|
|
138
138
|
scout_chartdefinition_api_StalenessVisualisationVisitor as StalenessVisualisationVisitor,
|
139
139
|
scout_chartdefinition_api_Threshold as Threshold,
|
140
140
|
scout_chartdefinition_api_ThresholdDisconnectedValues as ThresholdDisconnectedValues,
|
141
|
+
scout_chartdefinition_api_ThresholdLatch as ThresholdLatch,
|
141
142
|
scout_chartdefinition_api_ThresholdLineStyle as ThresholdLineStyle,
|
142
143
|
scout_chartdefinition_api_ThresholdShadingConfig as ThresholdShadingConfig,
|
143
144
|
scout_chartdefinition_api_TimeSeriesChartDefinition as TimeSeriesChartDefinition,
|
@@ -323,6 +324,7 @@ __all__ = [
|
|
323
324
|
'StalenessVisualisationVisitor',
|
324
325
|
'Threshold',
|
325
326
|
'ThresholdDisconnectedValues',
|
327
|
+
'ThresholdLatch',
|
326
328
|
'ThresholdLineStyle',
|
327
329
|
'ThresholdShadingConfig',
|
328
330
|
'TimeSeriesChartDefinition',
|
@@ -1,5 +1,5 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
1
|
+
nominal_api/__init__.py,sha256=nhcgn6sMtUXUE_vQoGyVytU8Kbere_K1I9Fc7I8ofyE,2088
|
2
|
+
nominal_api/_impl.py,sha256=9cqlkkdQZlP6ISub6ZJex7B9oG_Bosp3CLX6NVvhQFI,3750846
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
4
4
|
nominal_api/api/__init__.py,sha256=ZiGjcYwIBCrZR5pPqyqX2ggRJmVcSlOCazMtF2xCZzw,2171
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
@@ -28,7 +28,7 @@ nominal_api/scout_assets/__init__.py,sha256=1ZyiolDjhxnrhyeUxW_KyeQ_q-6stlqd1I2d
|
|
28
28
|
nominal_api/scout_catalog/__init__.py,sha256=1EnyVFs0chW7ne4yECCPvNC_Lzb9SIGtYlb2RzSc0KE,4988
|
29
29
|
nominal_api/scout_channelvariables_api/__init__.py,sha256=Wahkyy-m3gEcaRFYU5ZV3beW-W4OeYnOs9Y4eirQO38,1033
|
30
30
|
nominal_api/scout_chart_api/__init__.py,sha256=hkNhoFOmPYnLFeINiQXqya78wbAsx65DoKU0TpUwhQo,261
|
31
|
-
nominal_api/scout_chartdefinition_api/__init__.py,sha256=
|
31
|
+
nominal_api/scout_chartdefinition_api/__init__.py,sha256=AtetXldKIztX3odY5WVtC_arWMUsFT-tsVQpfkm6R6k,19162
|
32
32
|
nominal_api/scout_checklistexecution_api/__init__.py,sha256=iVeUjPTlbpQ3vlQkQjHrNDiFdqaWaQeGb6TQxuox-1c,4892
|
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
|
@@ -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.879.0.dist-info/METADATA,sha256=frXTxNARnqKu5Ev_8G_a9hSYvfux2m3wJt-ynl-EdIo,199
|
82
|
+
nominal_api-0.879.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
83
|
+
nominal_api-0.879.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
84
|
+
nominal_api-0.879.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|