nominal-api 0.640.1__py3-none-any.whl → 0.642.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 +35 -17
- nominal_api/persistent_compute_api/__init__.py +1 -0
- {nominal_api-0.640.1.dist-info → nominal_api-0.642.0.dist-info}/METADATA +1 -1
- {nominal_api-0.640.1.dist-info → nominal_api-0.642.0.dist-info}/RECORD +7 -7
- {nominal_api-0.640.1.dist-info → nominal_api-0.642.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.640.1.dist-info → nominal_api-0.642.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -12654,6 +12654,34 @@ persistent_compute_api_HealthMessageVisitor.__qualname__ = "HealthMessageVisitor
|
|
|
12654
12654
|
persistent_compute_api_HealthMessageVisitor.__module__ = "nominal_api.persistent_compute_api"
|
|
12655
12655
|
|
|
12656
12656
|
|
|
12657
|
+
class persistent_compute_api_InvalidComputationType(ConjureEnumType):
|
|
12658
|
+
|
|
12659
|
+
POINT_PERSISTENCE = 'POINT_PERSISTENCE'
|
|
12660
|
+
'''POINT_PERSISTENCE'''
|
|
12661
|
+
CUMULATIVE_SUM = 'CUMULATIVE_SUM'
|
|
12662
|
+
'''CUMULATIVE_SUM'''
|
|
12663
|
+
INTEGRAL = 'INTEGRAL'
|
|
12664
|
+
'''INTEGRAL'''
|
|
12665
|
+
STALENESS_DETECTION = 'STALENESS_DETECTION'
|
|
12666
|
+
'''STALENESS_DETECTION'''
|
|
12667
|
+
FREQUENCY_DOMAIN = 'FREQUENCY_DOMAIN'
|
|
12668
|
+
'''FREQUENCY_DOMAIN'''
|
|
12669
|
+
CURVE_FITTING = 'CURVE_FITTING'
|
|
12670
|
+
'''CURVE_FITTING'''
|
|
12671
|
+
PAGE_SUMMARIZATION_STRATEGY = 'PAGE_SUMMARIZATION_STRATEGY'
|
|
12672
|
+
'''PAGE_SUMMARIZATION_STRATEGY'''
|
|
12673
|
+
UNKNOWN = 'UNKNOWN'
|
|
12674
|
+
'''UNKNOWN'''
|
|
12675
|
+
|
|
12676
|
+
def __reduce_ex__(self, proto):
|
|
12677
|
+
return self.__class__, (self.name,)
|
|
12678
|
+
|
|
12679
|
+
|
|
12680
|
+
persistent_compute_api_InvalidComputationType.__name__ = "InvalidComputationType"
|
|
12681
|
+
persistent_compute_api_InvalidComputationType.__qualname__ = "InvalidComputationType"
|
|
12682
|
+
persistent_compute_api_InvalidComputationType.__module__ = "nominal_api.persistent_compute_api"
|
|
12683
|
+
|
|
12684
|
+
|
|
12657
12685
|
class persistent_compute_api_Ping(ConjureBeanType):
|
|
12658
12686
|
"""
|
|
12659
12687
|
A ping can be sent by both client and server to keep the connection open and check that it is still working.
|
|
@@ -12815,9 +12843,10 @@ class persistent_compute_api_ShutdownNotice(ConjureBeanType):
|
|
|
12815
12843
|
Indicates that the websocket will shut down in the near future. Until it is, SubscriptionUpdates will
|
|
12816
12844
|
still be sent to the client. Clients that want to avoid downtime or latency spikes should initiate a new
|
|
12817
12845
|
websocket and recreate all their subscriptions there but still keep this websocket open until the new
|
|
12818
|
-
websockets starts sending SubscriptionUpdates.
|
|
12819
|
-
|
|
12820
|
-
|
|
12846
|
+
websockets starts sending SubscriptionUpdates.
|
|
12847
|
+
Note: The initial updates that the new websocket sends might be somewhat stale because of server and
|
|
12848
|
+
connection pools warm up. The client might want to wait with fully switching to the new subscription until
|
|
12849
|
+
the updates aren't very stale anymore.
|
|
12821
12850
|
"""
|
|
12822
12851
|
|
|
12823
12852
|
@builtins.classmethod
|
|
@@ -13070,16 +13099,14 @@ class persistent_compute_api_SubscriptionOptions(ConjureBeanType):
|
|
|
13070
13099
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
13071
13100
|
return {
|
|
13072
13101
|
'min_delay': ConjureFieldDefinition('minDelay', persistent_compute_api_Milliseconds),
|
|
13073
|
-
'allow_appends': ConjureFieldDefinition('allowAppends', OptionalTypeWrapper[bool])
|
|
13074
|
-
'allow_graceful_warm_up': ConjureFieldDefinition('allowGracefulWarmUp', OptionalTypeWrapper[bool])
|
|
13102
|
+
'allow_appends': ConjureFieldDefinition('allowAppends', OptionalTypeWrapper[bool])
|
|
13075
13103
|
}
|
|
13076
13104
|
|
|
13077
|
-
__slots__: List[str] = ['_min_delay', '_allow_appends'
|
|
13105
|
+
__slots__: List[str] = ['_min_delay', '_allow_appends']
|
|
13078
13106
|
|
|
13079
|
-
def __init__(self, min_delay: int, allow_appends: Optional[bool] = None
|
|
13107
|
+
def __init__(self, min_delay: int, allow_appends: Optional[bool] = None) -> None:
|
|
13080
13108
|
self._min_delay = min_delay
|
|
13081
13109
|
self._allow_appends = allow_appends
|
|
13082
|
-
self._allow_graceful_warm_up = allow_graceful_warm_up
|
|
13083
13110
|
|
|
13084
13111
|
@builtins.property
|
|
13085
13112
|
def min_delay(self) -> int:
|
|
@@ -13101,15 +13128,6 @@ implement support.
|
|
|
13101
13128
|
"""
|
|
13102
13129
|
return self._allow_appends
|
|
13103
13130
|
|
|
13104
|
-
@builtins.property
|
|
13105
|
-
def allow_graceful_warm_up(self) -> Optional[bool]:
|
|
13106
|
-
"""
|
|
13107
|
-
If true, the subscriptions will be allowed to warm up before sending results, in order to guarantee low
|
|
13108
|
-
latency. This should be set when doing a graceful switch based on a
|
|
13109
|
-
`ServerMessage::HealthMessage::ShutdownNotice`. Defaults to `false`.
|
|
13110
|
-
"""
|
|
13111
|
-
return self._allow_graceful_warm_up
|
|
13112
|
-
|
|
13113
13131
|
|
|
13114
13132
|
persistent_compute_api_SubscriptionOptions.__name__ = "SubscriptionOptions"
|
|
13115
13133
|
persistent_compute_api_SubscriptionOptions.__qualname__ = "SubscriptionOptions"
|
|
@@ -8,6 +8,7 @@ from .._impl import (
|
|
|
8
8
|
persistent_compute_api_FullResult as FullResult,
|
|
9
9
|
persistent_compute_api_HealthMessage as HealthMessage,
|
|
10
10
|
persistent_compute_api_HealthMessageVisitor as HealthMessageVisitor,
|
|
11
|
+
persistent_compute_api_InvalidComputationType as InvalidComputationType,
|
|
11
12
|
persistent_compute_api_Milliseconds as Milliseconds,
|
|
12
13
|
persistent_compute_api_Ping as Ping,
|
|
13
14
|
persistent_compute_api_Pong as Pong,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=N1h9pyz8AHsi4ZuSZt0c1XG6rC9MCcW0a0yxnrkc4DA,1995
|
|
2
|
+
nominal_api/_impl.py,sha256=zHPL_MzTti3hd57gVeGBTjQQnPwOKtZSkNCQlhxHI2c,3087997
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=1oJPOuAMfV2uClPUW8Ie1nj2Y6j81TDpedcc3yUFTe0,1294
|
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=CAtt44XgNZEEUDv-BbEbYtuxQ8y1wqSZU-STjBYdZv8,80
|
|
@@ -17,7 +17,7 @@ nominal_api/datasource_pagination_api/__init__.py,sha256=3GO8TAUavOe6dUEitOhje74
|
|
|
17
17
|
nominal_api/event/__init__.py,sha256=I6GasoAKx2MLe72oaGDjnB_GWsGOnf6Ow_li3bi4eY8,1024
|
|
18
18
|
nominal_api/ingest_api/__init__.py,sha256=o-JBX6tm7Tfwkll1eqiiOzqZYvIyajtgqGkPjmYjrrQ,7014
|
|
19
19
|
nominal_api/ingest_workflow_api/__init__.py,sha256=fbjGpZ-UK2dTfdpzKIurwLB5m24afqsD81WT84kYFs4,1628
|
|
20
|
-
nominal_api/persistent_compute_api/__init__.py,sha256=
|
|
20
|
+
nominal_api/persistent_compute_api/__init__.py,sha256=ThraDBJyYB5nFrbB6FZZpDoVAmsq8GAibiK0nu63MVA,2050
|
|
21
21
|
nominal_api/scout/__init__.py,sha256=ip3XK_9jJKAoFiCifUVMTpDMiUE4mWIdGzMDu7LASus,324
|
|
22
22
|
nominal_api/scout_api/__init__.py,sha256=_yhqikk4r2QptjyRGhmcs8z3Ocjpw8rzvxqkc48HS5s,592
|
|
23
23
|
nominal_api/scout_asset_api/__init__.py,sha256=Ph-KlW-ki0JRejYQZDvbZ2jRzNAttVBux27lcEj7--Q,1910
|
|
@@ -73,7 +73,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=Q9iZHurmyDsJIFbUg-Eb
|
|
|
73
73
|
nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
|
|
74
74
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=U9EhlqdF9qzD1O9al0vcvcdgS_C5lq-lN3Kmr0K3g84,1191
|
|
75
75
|
nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
|
|
76
|
-
nominal_api-0.
|
|
77
|
-
nominal_api-0.
|
|
78
|
-
nominal_api-0.
|
|
79
|
-
nominal_api-0.
|
|
76
|
+
nominal_api-0.642.0.dist-info/METADATA,sha256=wtVIeVg0grmbdcwXBq0RSg7MS-gkQZkNkJ5poaoxfms,199
|
|
77
|
+
nominal_api-0.642.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
78
|
+
nominal_api-0.642.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
79
|
+
nominal_api-0.642.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|