nominal-api 0.711.0__py3-none-any.whl → 0.712.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 +1 -53
- nominal_api/persistent_compute_api/__init__.py +0 -2
- {nominal_api-0.711.0.dist-info → nominal_api-0.712.0.dist-info}/METADATA +1 -1
- {nominal_api-0.711.0.dist-info → nominal_api-0.712.0.dist-info}/RECORD +7 -7
- {nominal_api-0.711.0.dist-info → nominal_api-0.712.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.711.0.dist-info → nominal_api-0.712.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -14397,37 +14397,6 @@ persistent_compute_api_InvalidComputationType.__qualname__ = "InvalidComputation
|
|
|
14397
14397
|
persistent_compute_api_InvalidComputationType.__module__ = "nominal_api.persistent_compute_api"
|
|
14398
14398
|
|
|
14399
14399
|
|
|
14400
|
-
class persistent_compute_api_PartialFullGroupedResult(ConjureBeanType):
|
|
14401
|
-
"""We send grouped results split by grouping so that message size doesn't get too large and prevent pings from being sent.
|
|
14402
|
-
"""
|
|
14403
|
-
|
|
14404
|
-
@builtins.classmethod
|
|
14405
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
14406
|
-
return {
|
|
14407
|
-
'grouping': ConjureFieldDefinition('grouping', scout_compute_api_Grouping),
|
|
14408
|
-
'response': ConjureFieldDefinition('response', scout_compute_api_ComputeNodeResponse)
|
|
14409
|
-
}
|
|
14410
|
-
|
|
14411
|
-
__slots__: List[str] = ['_grouping', '_response']
|
|
14412
|
-
|
|
14413
|
-
def __init__(self, grouping: "scout_compute_api_Grouping", response: "scout_compute_api_ComputeNodeResponse") -> None:
|
|
14414
|
-
self._grouping = grouping
|
|
14415
|
-
self._response = response
|
|
14416
|
-
|
|
14417
|
-
@builtins.property
|
|
14418
|
-
def grouping(self) -> "scout_compute_api_Grouping":
|
|
14419
|
-
return self._grouping
|
|
14420
|
-
|
|
14421
|
-
@builtins.property
|
|
14422
|
-
def response(self) -> "scout_compute_api_ComputeNodeResponse":
|
|
14423
|
-
return self._response
|
|
14424
|
-
|
|
14425
|
-
|
|
14426
|
-
persistent_compute_api_PartialFullGroupedResult.__name__ = "PartialFullGroupedResult"
|
|
14427
|
-
persistent_compute_api_PartialFullGroupedResult.__qualname__ = "PartialFullGroupedResult"
|
|
14428
|
-
persistent_compute_api_PartialFullGroupedResult.__module__ = "nominal_api.persistent_compute_api"
|
|
14429
|
-
|
|
14430
|
-
|
|
14431
14400
|
class persistent_compute_api_Ping(ConjureBeanType):
|
|
14432
14401
|
"""A ping can be sent by both client and server to keep the connection open and check that it is still working.
|
|
14433
14402
|
The receiving end should send back a pong immediately.
|
|
@@ -14876,7 +14845,6 @@ persistent_compute_api_SubscriptionOptions.__module__ = "nominal_api.persistent_
|
|
|
14876
14845
|
|
|
14877
14846
|
class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
14878
14847
|
_full: Optional["persistent_compute_api_FullResult"] = None
|
|
14879
|
-
_partial_full_grouped: Optional["persistent_compute_api_PartialFullGroupedResult"] = None
|
|
14880
14848
|
_append: Optional["persistent_compute_api_AppendResult"] = None
|
|
14881
14849
|
_error: Optional["persistent_compute_api_SubscriptionUpdateError"] = None
|
|
14882
14850
|
|
|
@@ -14884,7 +14852,6 @@ class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
|
14884
14852
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
14885
14853
|
return {
|
|
14886
14854
|
'full': ConjureFieldDefinition('full', persistent_compute_api_FullResult),
|
|
14887
|
-
'partial_full_grouped': ConjureFieldDefinition('partialFullGrouped', persistent_compute_api_PartialFullGroupedResult),
|
|
14888
14855
|
'append': ConjureFieldDefinition('append', persistent_compute_api_AppendResult),
|
|
14889
14856
|
'error': ConjureFieldDefinition('error', persistent_compute_api_SubscriptionUpdateError)
|
|
14890
14857
|
}
|
|
@@ -14892,21 +14859,17 @@ class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
|
14892
14859
|
def __init__(
|
|
14893
14860
|
self,
|
|
14894
14861
|
full: Optional["persistent_compute_api_FullResult"] = None,
|
|
14895
|
-
partial_full_grouped: Optional["persistent_compute_api_PartialFullGroupedResult"] = None,
|
|
14896
14862
|
append: Optional["persistent_compute_api_AppendResult"] = None,
|
|
14897
14863
|
error: Optional["persistent_compute_api_SubscriptionUpdateError"] = None,
|
|
14898
14864
|
type_of_union: Optional[str] = None
|
|
14899
14865
|
) -> None:
|
|
14900
14866
|
if type_of_union is None:
|
|
14901
|
-
if (full is not None) + (
|
|
14867
|
+
if (full is not None) + (append is not None) + (error is not None) != 1:
|
|
14902
14868
|
raise ValueError('a union must contain a single member')
|
|
14903
14869
|
|
|
14904
14870
|
if full is not None:
|
|
14905
14871
|
self._full = full
|
|
14906
14872
|
self._type = 'full'
|
|
14907
|
-
if partial_full_grouped is not None:
|
|
14908
|
-
self._partial_full_grouped = partial_full_grouped
|
|
14909
|
-
self._type = 'partialFullGrouped'
|
|
14910
14873
|
if append is not None:
|
|
14911
14874
|
self._append = append
|
|
14912
14875
|
self._type = 'append'
|
|
@@ -14919,11 +14882,6 @@ class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
|
14919
14882
|
raise ValueError('a union value must not be None')
|
|
14920
14883
|
self._full = full
|
|
14921
14884
|
self._type = 'full'
|
|
14922
|
-
elif type_of_union == 'partialFullGrouped':
|
|
14923
|
-
if partial_full_grouped is None:
|
|
14924
|
-
raise ValueError('a union value must not be None')
|
|
14925
|
-
self._partial_full_grouped = partial_full_grouped
|
|
14926
|
-
self._type = 'partialFullGrouped'
|
|
14927
14885
|
elif type_of_union == 'append':
|
|
14928
14886
|
if append is None:
|
|
14929
14887
|
raise ValueError('a union value must not be None')
|
|
@@ -14939,10 +14897,6 @@ class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
|
14939
14897
|
def full(self) -> Optional["persistent_compute_api_FullResult"]:
|
|
14940
14898
|
return self._full
|
|
14941
14899
|
|
|
14942
|
-
@builtins.property
|
|
14943
|
-
def partial_full_grouped(self) -> Optional["persistent_compute_api_PartialFullGroupedResult"]:
|
|
14944
|
-
return self._partial_full_grouped
|
|
14945
|
-
|
|
14946
14900
|
@builtins.property
|
|
14947
14901
|
def append(self) -> Optional["persistent_compute_api_AppendResult"]:
|
|
14948
14902
|
return self._append
|
|
@@ -14956,8 +14910,6 @@ class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
|
14956
14910
|
raise ValueError('{} is not an instance of persistent_compute_api_SubscriptionUpdateVisitor'.format(visitor.__class__.__name__))
|
|
14957
14911
|
if self._type == 'full' and self.full is not None:
|
|
14958
14912
|
return visitor._full(self.full)
|
|
14959
|
-
if self._type == 'partialFullGrouped' and self.partial_full_grouped is not None:
|
|
14960
|
-
return visitor._partial_full_grouped(self.partial_full_grouped)
|
|
14961
14913
|
if self._type == 'append' and self.append is not None:
|
|
14962
14914
|
return visitor._append(self.append)
|
|
14963
14915
|
if self._type == 'error' and self.error is not None:
|
|
@@ -14975,10 +14927,6 @@ class persistent_compute_api_SubscriptionUpdateVisitor:
|
|
|
14975
14927
|
def _full(self, full: "persistent_compute_api_FullResult") -> Any:
|
|
14976
14928
|
pass
|
|
14977
14929
|
|
|
14978
|
-
@abstractmethod
|
|
14979
|
-
def _partial_full_grouped(self, partial_full_grouped: "persistent_compute_api_PartialFullGroupedResult") -> Any:
|
|
14980
|
-
pass
|
|
14981
|
-
|
|
14982
14930
|
@abstractmethod
|
|
14983
14931
|
def _append(self, append: "persistent_compute_api_AppendResult") -> Any:
|
|
14984
14932
|
pass
|
|
@@ -12,7 +12,6 @@ from .._impl import (
|
|
|
12
12
|
persistent_compute_api_HealthMessageVisitor as HealthMessageVisitor,
|
|
13
13
|
persistent_compute_api_InvalidComputationType as InvalidComputationType,
|
|
14
14
|
persistent_compute_api_Milliseconds as Milliseconds,
|
|
15
|
-
persistent_compute_api_PartialFullGroupedResult as PartialFullGroupedResult,
|
|
16
15
|
persistent_compute_api_Ping as Ping,
|
|
17
16
|
persistent_compute_api_Pong as Pong,
|
|
18
17
|
persistent_compute_api_ServerMessage as ServerMessage,
|
|
@@ -46,7 +45,6 @@ __all__ = [
|
|
|
46
45
|
'HealthMessageVisitor',
|
|
47
46
|
'InvalidComputationType',
|
|
48
47
|
'Milliseconds',
|
|
49
|
-
'PartialFullGroupedResult',
|
|
50
48
|
'Ping',
|
|
51
49
|
'Pong',
|
|
52
50
|
'ServerMessage',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=K3B4Bu0TfOD5CYl51bRX64WEMt3Y2F37LOy0uJExaFQ,1956
|
|
2
|
+
nominal_api/_impl.py,sha256=_xSqFV4v4koQpYnIiu1FS1p9DOlcMFNpTiHORfZNlGY,3256970
|
|
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=rBW4rJUOngFkU105JvMSLyQ4n8_ha-NtKziEaaZSH6U,2665
|
|
18
18
|
nominal_api/ingest_api/__init__.py,sha256=qEn3BJXMbdRSVFG55Dpp4RnOOSPwUMJ9iRscz9wyyCk,11159
|
|
19
19
|
nominal_api/ingest_workflow_api/__init__.py,sha256=lTCb7s4VCrpur0TDpTy_EDvUdHJ4UKqcTv8MYiEeeko,2954
|
|
20
|
-
nominal_api/persistent_compute_api/__init__.py,sha256=
|
|
20
|
+
nominal_api/persistent_compute_api/__init__.py,sha256=g_sUmgWIHWs7O9LOppSfO7p7BxhJjJ74BFBTum2vPHg,3109
|
|
21
21
|
nominal_api/scout/__init__.py,sha256=dZzrrqBeio2l0txhlNoHSfv6QsA9a3EVDp0_XpubUGk,481
|
|
22
22
|
nominal_api/scout_api/__init__.py,sha256=MBFasDkc62-_Zqi-p6baBbtfvvhq_1bs0f5RuC5LdPM,865
|
|
23
23
|
nominal_api/scout_asset_api/__init__.py,sha256=MsYetuKhCzWW4ccPCthOXbfN6AjwTKyGCN0C9XlwPIU,3361
|
|
@@ -72,7 +72,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
|
|
|
72
72
|
nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
|
|
73
73
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
|
|
74
74
|
nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
|
|
75
|
-
nominal_api-0.
|
|
76
|
-
nominal_api-0.
|
|
77
|
-
nominal_api-0.
|
|
78
|
-
nominal_api-0.
|
|
75
|
+
nominal_api-0.712.0.dist-info/METADATA,sha256=FS0wKgaQIhkkXX650pdHQJBUkaWIPqhV-VlTLJvx_Fc,199
|
|
76
|
+
nominal_api-0.712.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
77
|
+
nominal_api-0.712.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
78
|
+
nominal_api-0.712.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|