nominal-api 0.830.0__py3-none-any.whl → 0.831.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 +39 -2
- nominal_api/scout_comparisonnotebook_api/__init__.py +2 -0
- {nominal_api-0.830.0.dist-info → nominal_api-0.831.0.dist-info}/METADATA +1 -1
- {nominal_api-0.830.0.dist-info → nominal_api-0.831.0.dist-info}/RECORD +7 -7
- {nominal_api-0.830.0.dist-info → nominal_api-0.831.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.830.0.dist-info → nominal_api-0.831.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -37607,6 +37607,7 @@ class scout_comparisonnotebook_api_AggregationType(ConjureUnionType):
|
|
|
37607
37607
|
_min: Optional["scout_comparisonnotebook_api_Min"] = None
|
|
37608
37608
|
_mean: Optional["scout_comparisonnotebook_api_Mean"] = None
|
|
37609
37609
|
_standard_deviation: Optional["scout_comparisonnotebook_api_StandardDeviation"] = None
|
|
37610
|
+
_count: Optional["scout_comparisonnotebook_api_Count"] = None
|
|
37610
37611
|
|
|
37611
37612
|
@builtins.classmethod
|
|
37612
37613
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -37614,7 +37615,8 @@ class scout_comparisonnotebook_api_AggregationType(ConjureUnionType):
|
|
|
37614
37615
|
'max': ConjureFieldDefinition('max', scout_comparisonnotebook_api_Max),
|
|
37615
37616
|
'min': ConjureFieldDefinition('min', scout_comparisonnotebook_api_Min),
|
|
37616
37617
|
'mean': ConjureFieldDefinition('mean', scout_comparisonnotebook_api_Mean),
|
|
37617
|
-
'standard_deviation': ConjureFieldDefinition('standardDeviation', scout_comparisonnotebook_api_StandardDeviation)
|
|
37618
|
+
'standard_deviation': ConjureFieldDefinition('standardDeviation', scout_comparisonnotebook_api_StandardDeviation),
|
|
37619
|
+
'count': ConjureFieldDefinition('count', scout_comparisonnotebook_api_Count)
|
|
37618
37620
|
}
|
|
37619
37621
|
|
|
37620
37622
|
def __init__(
|
|
@@ -37623,10 +37625,11 @@ class scout_comparisonnotebook_api_AggregationType(ConjureUnionType):
|
|
|
37623
37625
|
min: Optional["scout_comparisonnotebook_api_Min"] = None,
|
|
37624
37626
|
mean: Optional["scout_comparisonnotebook_api_Mean"] = None,
|
|
37625
37627
|
standard_deviation: Optional["scout_comparisonnotebook_api_StandardDeviation"] = None,
|
|
37628
|
+
count: Optional["scout_comparisonnotebook_api_Count"] = None,
|
|
37626
37629
|
type_of_union: Optional[str] = None
|
|
37627
37630
|
) -> None:
|
|
37628
37631
|
if type_of_union is None:
|
|
37629
|
-
if (max is not None) + (min is not None) + (mean is not None) + (standard_deviation is not None) != 1:
|
|
37632
|
+
if (max is not None) + (min is not None) + (mean is not None) + (standard_deviation is not None) + (count is not None) != 1:
|
|
37630
37633
|
raise ValueError('a union must contain a single member')
|
|
37631
37634
|
|
|
37632
37635
|
if max is not None:
|
|
@@ -37641,6 +37644,9 @@ class scout_comparisonnotebook_api_AggregationType(ConjureUnionType):
|
|
|
37641
37644
|
if standard_deviation is not None:
|
|
37642
37645
|
self._standard_deviation = standard_deviation
|
|
37643
37646
|
self._type = 'standardDeviation'
|
|
37647
|
+
if count is not None:
|
|
37648
|
+
self._count = count
|
|
37649
|
+
self._type = 'count'
|
|
37644
37650
|
|
|
37645
37651
|
elif type_of_union == 'max':
|
|
37646
37652
|
if max is None:
|
|
@@ -37662,6 +37668,11 @@ class scout_comparisonnotebook_api_AggregationType(ConjureUnionType):
|
|
|
37662
37668
|
raise ValueError('a union value must not be None')
|
|
37663
37669
|
self._standard_deviation = standard_deviation
|
|
37664
37670
|
self._type = 'standardDeviation'
|
|
37671
|
+
elif type_of_union == 'count':
|
|
37672
|
+
if count is None:
|
|
37673
|
+
raise ValueError('a union value must not be None')
|
|
37674
|
+
self._count = count
|
|
37675
|
+
self._type = 'count'
|
|
37665
37676
|
|
|
37666
37677
|
@builtins.property
|
|
37667
37678
|
def max(self) -> Optional["scout_comparisonnotebook_api_Max"]:
|
|
@@ -37679,6 +37690,10 @@ class scout_comparisonnotebook_api_AggregationType(ConjureUnionType):
|
|
|
37679
37690
|
def standard_deviation(self) -> Optional["scout_comparisonnotebook_api_StandardDeviation"]:
|
|
37680
37691
|
return self._standard_deviation
|
|
37681
37692
|
|
|
37693
|
+
@builtins.property
|
|
37694
|
+
def count(self) -> Optional["scout_comparisonnotebook_api_Count"]:
|
|
37695
|
+
return self._count
|
|
37696
|
+
|
|
37682
37697
|
def accept(self, visitor) -> Any:
|
|
37683
37698
|
if not isinstance(visitor, scout_comparisonnotebook_api_AggregationTypeVisitor):
|
|
37684
37699
|
raise ValueError('{} is not an instance of scout_comparisonnotebook_api_AggregationTypeVisitor'.format(visitor.__class__.__name__))
|
|
@@ -37690,6 +37705,8 @@ class scout_comparisonnotebook_api_AggregationType(ConjureUnionType):
|
|
|
37690
37705
|
return visitor._mean(self.mean)
|
|
37691
37706
|
if self._type == 'standardDeviation' and self.standard_deviation is not None:
|
|
37692
37707
|
return visitor._standard_deviation(self.standard_deviation)
|
|
37708
|
+
if self._type == 'count' and self.count is not None:
|
|
37709
|
+
return visitor._count(self.count)
|
|
37693
37710
|
|
|
37694
37711
|
|
|
37695
37712
|
scout_comparisonnotebook_api_AggregationType.__name__ = "AggregationType"
|
|
@@ -37715,6 +37732,10 @@ class scout_comparisonnotebook_api_AggregationTypeVisitor:
|
|
|
37715
37732
|
def _standard_deviation(self, standard_deviation: "scout_comparisonnotebook_api_StandardDeviation") -> Any:
|
|
37716
37733
|
pass
|
|
37717
37734
|
|
|
37735
|
+
@abstractmethod
|
|
37736
|
+
def _count(self, count: "scout_comparisonnotebook_api_Count") -> Any:
|
|
37737
|
+
pass
|
|
37738
|
+
|
|
37718
37739
|
|
|
37719
37740
|
scout_comparisonnotebook_api_AggregationTypeVisitor.__name__ = "AggregationTypeVisitor"
|
|
37720
37741
|
scout_comparisonnotebook_api_AggregationTypeVisitor.__qualname__ = "AggregationTypeVisitor"
|
|
@@ -38649,6 +38670,22 @@ scout_comparisonnotebook_api_ComputeNodeWithContext.__qualname__ = "ComputeNodeW
|
|
|
38649
38670
|
scout_comparisonnotebook_api_ComputeNodeWithContext.__module__ = "nominal_api.scout_comparisonnotebook_api"
|
|
38650
38671
|
|
|
38651
38672
|
|
|
38673
|
+
class scout_comparisonnotebook_api_Count(ConjureBeanType):
|
|
38674
|
+
|
|
38675
|
+
@builtins.classmethod
|
|
38676
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
38677
|
+
return {
|
|
38678
|
+
}
|
|
38679
|
+
|
|
38680
|
+
__slots__: List[str] = []
|
|
38681
|
+
|
|
38682
|
+
|
|
38683
|
+
|
|
38684
|
+
scout_comparisonnotebook_api_Count.__name__ = "Count"
|
|
38685
|
+
scout_comparisonnotebook_api_Count.__qualname__ = "Count"
|
|
38686
|
+
scout_comparisonnotebook_api_Count.__module__ = "nominal_api.scout_comparisonnotebook_api"
|
|
38687
|
+
|
|
38688
|
+
|
|
38652
38689
|
class scout_comparisonnotebook_api_Max(ConjureBeanType):
|
|
38653
38690
|
|
|
38654
38691
|
@builtins.classmethod
|
|
@@ -32,6 +32,7 @@ from .._impl import (
|
|
|
32
32
|
scout_comparisonnotebook_api_ComparisonWorkbookDataScope as ComparisonWorkbookDataScope,
|
|
33
33
|
scout_comparisonnotebook_api_ComparisonWorkbookDataScopeVisitor as ComparisonWorkbookDataScopeVisitor,
|
|
34
34
|
scout_comparisonnotebook_api_ComputeNodeWithContext as ComputeNodeWithContext,
|
|
35
|
+
scout_comparisonnotebook_api_Count as Count,
|
|
35
36
|
scout_comparisonnotebook_api_Max as Max,
|
|
36
37
|
scout_comparisonnotebook_api_Mean as Mean,
|
|
37
38
|
scout_comparisonnotebook_api_Min as Min,
|
|
@@ -85,6 +86,7 @@ __all__ = [
|
|
|
85
86
|
'ComparisonWorkbookDataScope',
|
|
86
87
|
'ComparisonWorkbookDataScopeVisitor',
|
|
87
88
|
'ComputeNodeWithContext',
|
|
89
|
+
'Count',
|
|
88
90
|
'Max',
|
|
89
91
|
'Mean',
|
|
90
92
|
'Min',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=UztHexY8_Cix0K42JOKVDs6wKrS5t5mAfhM1msrFNrQ,2064
|
|
2
|
+
nominal_api/_impl.py,sha256=kvny6lfqec8CbPsvem79wLrVadGlrmfYxQpiYUOyDQc,3623140
|
|
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
|
|
@@ -31,7 +31,7 @@ nominal_api/scout_chart_api/__init__.py,sha256=hkNhoFOmPYnLFeINiQXqya78wbAsx65Do
|
|
|
31
31
|
nominal_api/scout_chartdefinition_api/__init__.py,sha256=PLZCFbCZZtjLgbYxGQEaakctcfqpLfca27CKEtO4_wY,17935
|
|
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
|
-
nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=
|
|
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
36
|
nominal_api/scout_compute_api/__init__.py,sha256=YJs_eK18EyVeBvbqWomBin-q6kJ3Q3oWoBV6rK5AcbQ,30919
|
|
37
37
|
nominal_api/scout_compute_api_deprecated/__init__.py,sha256=JrZKbt1ulYECTdUSkXn6On22Alu_cPUBjCRWTN3ctxk,5041
|
|
@@ -77,7 +77,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
|
|
|
77
77
|
nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
|
|
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
|
-
nominal_api-0.
|
|
81
|
-
nominal_api-0.
|
|
82
|
-
nominal_api-0.
|
|
83
|
-
nominal_api-0.
|
|
80
|
+
nominal_api-0.831.0.dist-info/METADATA,sha256=HRERdWi4z54a-ATLNwR1GA3EevvHJsTtMJ6YmRfn7yE,199
|
|
81
|
+
nominal_api-0.831.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
82
|
+
nominal_api-0.831.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
83
|
+
nominal_api-0.831.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|