nominal-api 0.851.0__py3-none-any.whl → 0.853.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 +432 -14
- nominal_api/scout_compute_api/__init__.py +2 -0
- nominal_api/scout_datasource_connection_api/__init__.py +12 -0
- nominal_api/timeseries_archetype_api/__init__.py +2 -0
- nominal_api/timeseries_logicalseries_api/__init__.py +4 -0
- {nominal_api-0.851.0.dist-info → nominal_api-0.853.0.dist-info}/METADATA +1 -1
- {nominal_api-0.851.0.dist-info → nominal_api-0.853.0.dist-info}/RECORD +10 -10
- {nominal_api-0.851.0.dist-info → nominal_api-0.853.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.851.0.dist-info → nominal_api-0.853.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
@@ -46374,24 +46374,52 @@ class scout_compute_api_Fft(ConjureBeanType):
|
|
46374
46374
|
@builtins.classmethod
|
46375
46375
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
46376
46376
|
return {
|
46377
|
-
'input': ConjureFieldDefinition('input', scout_compute_api_NumericSeries)
|
46377
|
+
'input': ConjureFieldDefinition('input', scout_compute_api_NumericSeries),
|
46378
|
+
'window': ConjureFieldDefinition('window', OptionalTypeWrapper[scout_compute_api_FftWindow])
|
46378
46379
|
}
|
46379
46380
|
|
46380
|
-
__slots__: List[str] = ['_input']
|
46381
|
+
__slots__: List[str] = ['_input', '_window']
|
46381
46382
|
|
46382
|
-
def __init__(self, input: "scout_compute_api_NumericSeries") -> None:
|
46383
|
+
def __init__(self, input: "scout_compute_api_NumericSeries", window: Optional["scout_compute_api_FftWindow"] = None) -> None:
|
46383
46384
|
self._input = input
|
46385
|
+
self._window = window
|
46384
46386
|
|
46385
46387
|
@builtins.property
|
46386
46388
|
def input(self) -> "scout_compute_api_NumericSeries":
|
46387
46389
|
return self._input
|
46388
46390
|
|
46391
|
+
@builtins.property
|
46392
|
+
def window(self) -> Optional["scout_compute_api_FftWindow"]:
|
46393
|
+
return self._window
|
46394
|
+
|
46389
46395
|
|
46390
46396
|
scout_compute_api_Fft.__name__ = "Fft"
|
46391
46397
|
scout_compute_api_Fft.__qualname__ = "Fft"
|
46392
46398
|
scout_compute_api_Fft.__module__ = "nominal_api.scout_compute_api"
|
46393
46399
|
|
46394
46400
|
|
46401
|
+
class scout_compute_api_FftWindow(ConjureEnumType):
|
46402
|
+
|
46403
|
+
BLACKMAN = 'BLACKMAN'
|
46404
|
+
'''BLACKMAN'''
|
46405
|
+
HANN = 'HANN'
|
46406
|
+
'''HANN'''
|
46407
|
+
HAMMING = 'HAMMING'
|
46408
|
+
'''HAMMING'''
|
46409
|
+
RECT = 'RECT'
|
46410
|
+
'''RECT'''
|
46411
|
+
UNKNOWN = 'UNKNOWN'
|
46412
|
+
'''UNKNOWN'''
|
46413
|
+
|
46414
|
+
def __reduce_ex__(self, proto):
|
46415
|
+
return self.__class__, (self.name,)
|
46416
|
+
|
46417
|
+
|
46418
|
+
scout_compute_api_FftWindow.__name__ = "FftWindow"
|
46419
|
+
scout_compute_api_FftWindow.__qualname__ = "FftWindow"
|
46420
|
+
scout_compute_api_FftWindow.__module__ = "nominal_api.scout_compute_api"
|
46421
|
+
|
46422
|
+
|
46395
46423
|
class scout_compute_api_FirstPointMatchingCondition(ConjureBeanType):
|
46396
46424
|
"""The first point in the output range will be the first point where the condition evaluates to true.
|
46397
46425
|
"""
|
@@ -50615,12 +50643,12 @@ scout_compute_api_Periodogram.__module__ = "nominal_api.scout_compute_api"
|
|
50615
50643
|
|
50616
50644
|
class scout_compute_api_PeriodogramMethod(ConjureEnumType):
|
50617
50645
|
|
50646
|
+
WELCH_BLACKMAN = 'WELCH_BLACKMAN'
|
50647
|
+
'''WELCH_BLACKMAN'''
|
50618
50648
|
WELCH_HANN = 'WELCH_HANN'
|
50619
50649
|
'''WELCH_HANN'''
|
50620
50650
|
WELCH_HAMMING = 'WELCH_HAMMING'
|
50621
50651
|
'''WELCH_HAMMING'''
|
50622
|
-
WELCH_BLACKMAN = 'WELCH_BLACKMAN'
|
50623
|
-
'''WELCH_BLACKMAN'''
|
50624
50652
|
WELCH_RECT = 'WELCH_RECT'
|
50625
50653
|
'''WELCH_RECT'''
|
50626
50654
|
UNKNOWN = 'UNKNOWN'
|
@@ -69788,6 +69816,155 @@ scout_datasource_connection_ConnectionService.__qualname__ = "ConnectionService"
|
|
69788
69816
|
scout_datasource_connection_ConnectionService.__module__ = "nominal_api.scout_datasource_connection"
|
69789
69817
|
|
69790
69818
|
|
69819
|
+
class scout_datasource_connection_api_AllChannelsConnectionsScrapingConfig(ConjureBeanType):
|
69820
|
+
|
69821
|
+
@builtins.classmethod
|
69822
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
69823
|
+
return {
|
69824
|
+
}
|
69825
|
+
|
69826
|
+
__slots__: List[str] = []
|
69827
|
+
|
69828
|
+
|
69829
|
+
|
69830
|
+
scout_datasource_connection_api_AllChannelsConnectionsScrapingConfig.__name__ = "AllChannelsConnectionsScrapingConfig"
|
69831
|
+
scout_datasource_connection_api_AllChannelsConnectionsScrapingConfig.__qualname__ = "AllChannelsConnectionsScrapingConfig"
|
69832
|
+
scout_datasource_connection_api_AllChannelsConnectionsScrapingConfig.__module__ = "nominal_api.scout_datasource_connection_api"
|
69833
|
+
|
69834
|
+
|
69835
|
+
class scout_datasource_connection_api_ApiConnectionDetails(ConjureBeanType):
|
69836
|
+
|
69837
|
+
@builtins.classmethod
|
69838
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
69839
|
+
return {
|
69840
|
+
'api_uri': ConjureFieldDefinition('apiUri', str),
|
69841
|
+
'token_secret_rid': ConjureFieldDefinition('tokenSecretRid', scout_datasource_connection_api_SecretRid)
|
69842
|
+
}
|
69843
|
+
|
69844
|
+
__slots__: List[str] = ['_api_uri', '_token_secret_rid']
|
69845
|
+
|
69846
|
+
def __init__(self, api_uri: str, token_secret_rid: str) -> None:
|
69847
|
+
self._api_uri = api_uri
|
69848
|
+
self._token_secret_rid = token_secret_rid
|
69849
|
+
|
69850
|
+
@builtins.property
|
69851
|
+
def api_uri(self) -> str:
|
69852
|
+
"""The URI to connect to hit the endpoints specified in the spec.
|
69853
|
+
"""
|
69854
|
+
return self._api_uri
|
69855
|
+
|
69856
|
+
@builtins.property
|
69857
|
+
def token_secret_rid(self) -> str:
|
69858
|
+
"""Secret Rid of token secret stored in Secrets Service.
|
69859
|
+
"""
|
69860
|
+
return self._token_secret_rid
|
69861
|
+
|
69862
|
+
|
69863
|
+
scout_datasource_connection_api_ApiConnectionDetails.__name__ = "ApiConnectionDetails"
|
69864
|
+
scout_datasource_connection_api_ApiConnectionDetails.__qualname__ = "ApiConnectionDetails"
|
69865
|
+
scout_datasource_connection_api_ApiConnectionDetails.__module__ = "nominal_api.scout_datasource_connection_api"
|
69866
|
+
|
69867
|
+
|
69868
|
+
class scout_datasource_connection_api_ApiScrapingConfig(ConjureUnionType):
|
69869
|
+
"""This config is used to scrape data from an external connections service.
|
69870
|
+
"""
|
69871
|
+
_all_channels: Optional["scout_datasource_connection_api_AllChannelsConnectionsScrapingConfig"] = None
|
69872
|
+
_channel_allow_list: Optional["scout_datasource_connection_api_ChannelAllowListConnectionsScrapingConfig"] = None
|
69873
|
+
_channel_block_list: Optional["scout_datasource_connection_api_ChannelBlockListConnectionsScrapingConfig"] = None
|
69874
|
+
|
69875
|
+
@builtins.classmethod
|
69876
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
69877
|
+
return {
|
69878
|
+
'all_channels': ConjureFieldDefinition('allChannels', scout_datasource_connection_api_AllChannelsConnectionsScrapingConfig),
|
69879
|
+
'channel_allow_list': ConjureFieldDefinition('channelAllowList', scout_datasource_connection_api_ChannelAllowListConnectionsScrapingConfig),
|
69880
|
+
'channel_block_list': ConjureFieldDefinition('channelBlockList', scout_datasource_connection_api_ChannelBlockListConnectionsScrapingConfig)
|
69881
|
+
}
|
69882
|
+
|
69883
|
+
def __init__(
|
69884
|
+
self,
|
69885
|
+
all_channels: Optional["scout_datasource_connection_api_AllChannelsConnectionsScrapingConfig"] = None,
|
69886
|
+
channel_allow_list: Optional["scout_datasource_connection_api_ChannelAllowListConnectionsScrapingConfig"] = None,
|
69887
|
+
channel_block_list: Optional["scout_datasource_connection_api_ChannelBlockListConnectionsScrapingConfig"] = None,
|
69888
|
+
type_of_union: Optional[str] = None
|
69889
|
+
) -> None:
|
69890
|
+
if type_of_union is None:
|
69891
|
+
if (all_channels is not None) + (channel_allow_list is not None) + (channel_block_list is not None) != 1:
|
69892
|
+
raise ValueError('a union must contain a single member')
|
69893
|
+
|
69894
|
+
if all_channels is not None:
|
69895
|
+
self._all_channels = all_channels
|
69896
|
+
self._type = 'allChannels'
|
69897
|
+
if channel_allow_list is not None:
|
69898
|
+
self._channel_allow_list = channel_allow_list
|
69899
|
+
self._type = 'channelAllowList'
|
69900
|
+
if channel_block_list is not None:
|
69901
|
+
self._channel_block_list = channel_block_list
|
69902
|
+
self._type = 'channelBlockList'
|
69903
|
+
|
69904
|
+
elif type_of_union == 'allChannels':
|
69905
|
+
if all_channels is None:
|
69906
|
+
raise ValueError('a union value must not be None')
|
69907
|
+
self._all_channels = all_channels
|
69908
|
+
self._type = 'allChannels'
|
69909
|
+
elif type_of_union == 'channelAllowList':
|
69910
|
+
if channel_allow_list is None:
|
69911
|
+
raise ValueError('a union value must not be None')
|
69912
|
+
self._channel_allow_list = channel_allow_list
|
69913
|
+
self._type = 'channelAllowList'
|
69914
|
+
elif type_of_union == 'channelBlockList':
|
69915
|
+
if channel_block_list is None:
|
69916
|
+
raise ValueError('a union value must not be None')
|
69917
|
+
self._channel_block_list = channel_block_list
|
69918
|
+
self._type = 'channelBlockList'
|
69919
|
+
|
69920
|
+
@builtins.property
|
69921
|
+
def all_channels(self) -> Optional["scout_datasource_connection_api_AllChannelsConnectionsScrapingConfig"]:
|
69922
|
+
return self._all_channels
|
69923
|
+
|
69924
|
+
@builtins.property
|
69925
|
+
def channel_allow_list(self) -> Optional["scout_datasource_connection_api_ChannelAllowListConnectionsScrapingConfig"]:
|
69926
|
+
return self._channel_allow_list
|
69927
|
+
|
69928
|
+
@builtins.property
|
69929
|
+
def channel_block_list(self) -> Optional["scout_datasource_connection_api_ChannelBlockListConnectionsScrapingConfig"]:
|
69930
|
+
return self._channel_block_list
|
69931
|
+
|
69932
|
+
def accept(self, visitor) -> Any:
|
69933
|
+
if not isinstance(visitor, scout_datasource_connection_api_ApiScrapingConfigVisitor):
|
69934
|
+
raise ValueError('{} is not an instance of scout_datasource_connection_api_ApiScrapingConfigVisitor'.format(visitor.__class__.__name__))
|
69935
|
+
if self._type == 'allChannels' and self.all_channels is not None:
|
69936
|
+
return visitor._all_channels(self.all_channels)
|
69937
|
+
if self._type == 'channelAllowList' and self.channel_allow_list is not None:
|
69938
|
+
return visitor._channel_allow_list(self.channel_allow_list)
|
69939
|
+
if self._type == 'channelBlockList' and self.channel_block_list is not None:
|
69940
|
+
return visitor._channel_block_list(self.channel_block_list)
|
69941
|
+
|
69942
|
+
|
69943
|
+
scout_datasource_connection_api_ApiScrapingConfig.__name__ = "ApiScrapingConfig"
|
69944
|
+
scout_datasource_connection_api_ApiScrapingConfig.__qualname__ = "ApiScrapingConfig"
|
69945
|
+
scout_datasource_connection_api_ApiScrapingConfig.__module__ = "nominal_api.scout_datasource_connection_api"
|
69946
|
+
|
69947
|
+
|
69948
|
+
class scout_datasource_connection_api_ApiScrapingConfigVisitor:
|
69949
|
+
|
69950
|
+
@abstractmethod
|
69951
|
+
def _all_channels(self, all_channels: "scout_datasource_connection_api_AllChannelsConnectionsScrapingConfig") -> Any:
|
69952
|
+
pass
|
69953
|
+
|
69954
|
+
@abstractmethod
|
69955
|
+
def _channel_allow_list(self, channel_allow_list: "scout_datasource_connection_api_ChannelAllowListConnectionsScrapingConfig") -> Any:
|
69956
|
+
pass
|
69957
|
+
|
69958
|
+
@abstractmethod
|
69959
|
+
def _channel_block_list(self, channel_block_list: "scout_datasource_connection_api_ChannelBlockListConnectionsScrapingConfig") -> Any:
|
69960
|
+
pass
|
69961
|
+
|
69962
|
+
|
69963
|
+
scout_datasource_connection_api_ApiScrapingConfigVisitor.__name__ = "ApiScrapingConfigVisitor"
|
69964
|
+
scout_datasource_connection_api_ApiScrapingConfigVisitor.__qualname__ = "ApiScrapingConfigVisitor"
|
69965
|
+
scout_datasource_connection_api_ApiScrapingConfigVisitor.__module__ = "nominal_api.scout_datasource_connection_api"
|
69966
|
+
|
69967
|
+
|
69791
69968
|
class scout_datasource_connection_api_BigQueryChannelNameComponent(ConjureBeanType):
|
69792
69969
|
|
69793
69970
|
@builtins.classmethod
|
@@ -69938,6 +70115,56 @@ scout_datasource_connection_api_BigQueryScrapingConfig.__qualname__ = "BigQueryS
|
|
69938
70115
|
scout_datasource_connection_api_BigQueryScrapingConfig.__module__ = "nominal_api.scout_datasource_connection_api"
|
69939
70116
|
|
69940
70117
|
|
70118
|
+
class scout_datasource_connection_api_ChannelAllowListConnectionsScrapingConfig(ConjureBeanType):
|
70119
|
+
|
70120
|
+
@builtins.classmethod
|
70121
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
70122
|
+
return {
|
70123
|
+
'channel_allow_list': ConjureFieldDefinition('channelAllowList', List[api_Channel])
|
70124
|
+
}
|
70125
|
+
|
70126
|
+
__slots__: List[str] = ['_channel_allow_list']
|
70127
|
+
|
70128
|
+
def __init__(self, channel_allow_list: List[str]) -> None:
|
70129
|
+
self._channel_allow_list = channel_allow_list
|
70130
|
+
|
70131
|
+
@builtins.property
|
70132
|
+
def channel_allow_list(self) -> List[str]:
|
70133
|
+
"""Only channels in this set will be scraped. Must not be empty.
|
70134
|
+
"""
|
70135
|
+
return self._channel_allow_list
|
70136
|
+
|
70137
|
+
|
70138
|
+
scout_datasource_connection_api_ChannelAllowListConnectionsScrapingConfig.__name__ = "ChannelAllowListConnectionsScrapingConfig"
|
70139
|
+
scout_datasource_connection_api_ChannelAllowListConnectionsScrapingConfig.__qualname__ = "ChannelAllowListConnectionsScrapingConfig"
|
70140
|
+
scout_datasource_connection_api_ChannelAllowListConnectionsScrapingConfig.__module__ = "nominal_api.scout_datasource_connection_api"
|
70141
|
+
|
70142
|
+
|
70143
|
+
class scout_datasource_connection_api_ChannelBlockListConnectionsScrapingConfig(ConjureBeanType):
|
70144
|
+
|
70145
|
+
@builtins.classmethod
|
70146
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
70147
|
+
return {
|
70148
|
+
'channel_block_list': ConjureFieldDefinition('channelBlockList', List[api_Channel])
|
70149
|
+
}
|
70150
|
+
|
70151
|
+
__slots__: List[str] = ['_channel_block_list']
|
70152
|
+
|
70153
|
+
def __init__(self, channel_block_list: List[str]) -> None:
|
70154
|
+
self._channel_block_list = channel_block_list
|
70155
|
+
|
70156
|
+
@builtins.property
|
70157
|
+
def channel_block_list(self) -> List[str]:
|
70158
|
+
"""Only channels not in this set will be scraped. Must not be empty.
|
70159
|
+
"""
|
70160
|
+
return self._channel_block_list
|
70161
|
+
|
70162
|
+
|
70163
|
+
scout_datasource_connection_api_ChannelBlockListConnectionsScrapingConfig.__name__ = "ChannelBlockListConnectionsScrapingConfig"
|
70164
|
+
scout_datasource_connection_api_ChannelBlockListConnectionsScrapingConfig.__qualname__ = "ChannelBlockListConnectionsScrapingConfig"
|
70165
|
+
scout_datasource_connection_api_ChannelBlockListConnectionsScrapingConfig.__module__ = "nominal_api.scout_datasource_connection_api"
|
70166
|
+
|
70167
|
+
|
69941
70168
|
class scout_datasource_connection_api_Connection(ConjureBeanType):
|
69942
70169
|
|
69943
70170
|
@builtins.classmethod
|
@@ -70038,6 +70265,7 @@ class scout_datasource_connection_api_ConnectionDetails(ConjureUnionType):
|
|
70038
70265
|
_timestream: Optional["scout_datasource_connection_api_TimestreamConnectionDetails"] = None
|
70039
70266
|
_visual_crossing: Optional["scout_datasource_connection_api_VisualCrossingConnectionDetails"] = None
|
70040
70267
|
_big_query: Optional["scout_datasource_connection_api_BigQueryConnectionDetails"] = None
|
70268
|
+
_api: Optional["scout_datasource_connection_api_ApiConnectionDetails"] = None
|
70041
70269
|
|
70042
70270
|
@builtins.classmethod
|
70043
70271
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
@@ -70048,7 +70276,8 @@ class scout_datasource_connection_api_ConnectionDetails(ConjureUnionType):
|
|
70048
70276
|
'nominal': ConjureFieldDefinition('nominal', scout_datasource_connection_api_NominalConnectionDetails),
|
70049
70277
|
'timestream': ConjureFieldDefinition('timestream', scout_datasource_connection_api_TimestreamConnectionDetails),
|
70050
70278
|
'visual_crossing': ConjureFieldDefinition('visualCrossing', scout_datasource_connection_api_VisualCrossingConnectionDetails),
|
70051
|
-
'big_query': ConjureFieldDefinition('bigQuery', scout_datasource_connection_api_BigQueryConnectionDetails)
|
70279
|
+
'big_query': ConjureFieldDefinition('bigQuery', scout_datasource_connection_api_BigQueryConnectionDetails),
|
70280
|
+
'api': ConjureFieldDefinition('api', scout_datasource_connection_api_ApiConnectionDetails)
|
70052
70281
|
}
|
70053
70282
|
|
70054
70283
|
def __init__(
|
@@ -70060,10 +70289,11 @@ class scout_datasource_connection_api_ConnectionDetails(ConjureUnionType):
|
|
70060
70289
|
timestream: Optional["scout_datasource_connection_api_TimestreamConnectionDetails"] = None,
|
70061
70290
|
visual_crossing: Optional["scout_datasource_connection_api_VisualCrossingConnectionDetails"] = None,
|
70062
70291
|
big_query: Optional["scout_datasource_connection_api_BigQueryConnectionDetails"] = None,
|
70292
|
+
api: Optional["scout_datasource_connection_api_ApiConnectionDetails"] = None,
|
70063
70293
|
type_of_union: Optional[str] = None
|
70064
70294
|
) -> None:
|
70065
70295
|
if type_of_union is None:
|
70066
|
-
if (timescale is not None) + (influx is not None) + (influx1 is not None) + (nominal is not None) + (timestream is not None) + (visual_crossing is not None) + (big_query is not None) != 1:
|
70296
|
+
if (timescale is not None) + (influx is not None) + (influx1 is not None) + (nominal is not None) + (timestream is not None) + (visual_crossing is not None) + (big_query is not None) + (api is not None) != 1:
|
70067
70297
|
raise ValueError('a union must contain a single member')
|
70068
70298
|
|
70069
70299
|
if timescale is not None:
|
@@ -70087,6 +70317,9 @@ class scout_datasource_connection_api_ConnectionDetails(ConjureUnionType):
|
|
70087
70317
|
if big_query is not None:
|
70088
70318
|
self._big_query = big_query
|
70089
70319
|
self._type = 'bigQuery'
|
70320
|
+
if api is not None:
|
70321
|
+
self._api = api
|
70322
|
+
self._type = 'api'
|
70090
70323
|
|
70091
70324
|
elif type_of_union == 'timescale':
|
70092
70325
|
if timescale is None:
|
@@ -70123,6 +70356,11 @@ class scout_datasource_connection_api_ConnectionDetails(ConjureUnionType):
|
|
70123
70356
|
raise ValueError('a union value must not be None')
|
70124
70357
|
self._big_query = big_query
|
70125
70358
|
self._type = 'bigQuery'
|
70359
|
+
elif type_of_union == 'api':
|
70360
|
+
if api is None:
|
70361
|
+
raise ValueError('a union value must not be None')
|
70362
|
+
self._api = api
|
70363
|
+
self._type = 'api'
|
70126
70364
|
|
70127
70365
|
@builtins.property
|
70128
70366
|
def timescale(self) -> Optional["scout_datasource_connection_api_TimescaleConnectionDetails"]:
|
@@ -70152,6 +70390,10 @@ class scout_datasource_connection_api_ConnectionDetails(ConjureUnionType):
|
|
70152
70390
|
def big_query(self) -> Optional["scout_datasource_connection_api_BigQueryConnectionDetails"]:
|
70153
70391
|
return self._big_query
|
70154
70392
|
|
70393
|
+
@builtins.property
|
70394
|
+
def api(self) -> Optional["scout_datasource_connection_api_ApiConnectionDetails"]:
|
70395
|
+
return self._api
|
70396
|
+
|
70155
70397
|
def accept(self, visitor) -> Any:
|
70156
70398
|
if not isinstance(visitor, scout_datasource_connection_api_ConnectionDetailsVisitor):
|
70157
70399
|
raise ValueError('{} is not an instance of scout_datasource_connection_api_ConnectionDetailsVisitor'.format(visitor.__class__.__name__))
|
@@ -70169,6 +70411,8 @@ class scout_datasource_connection_api_ConnectionDetails(ConjureUnionType):
|
|
70169
70411
|
return visitor._visual_crossing(self.visual_crossing)
|
70170
70412
|
if self._type == 'bigQuery' and self.big_query is not None:
|
70171
70413
|
return visitor._big_query(self.big_query)
|
70414
|
+
if self._type == 'api' and self.api is not None:
|
70415
|
+
return visitor._api(self.api)
|
70172
70416
|
|
70173
70417
|
|
70174
70418
|
scout_datasource_connection_api_ConnectionDetails.__name__ = "ConnectionDetails"
|
@@ -70206,6 +70450,10 @@ class scout_datasource_connection_api_ConnectionDetailsVisitor:
|
|
70206
70450
|
def _big_query(self, big_query: "scout_datasource_connection_api_BigQueryConnectionDetails") -> Any:
|
70207
70451
|
pass
|
70208
70452
|
|
70453
|
+
@abstractmethod
|
70454
|
+
def _api(self, api: "scout_datasource_connection_api_ApiConnectionDetails") -> Any:
|
70455
|
+
pass
|
70456
|
+
|
70209
70457
|
|
70210
70458
|
scout_datasource_connection_api_ConnectionDetailsVisitor.__name__ = "ConnectionDetailsVisitor"
|
70211
70459
|
scout_datasource_connection_api_ConnectionDetailsVisitor.__qualname__ = "ConnectionDetailsVisitor"
|
@@ -71234,6 +71482,7 @@ class scout_datasource_connection_api_ScrapingConfig(ConjureUnionType):
|
|
71234
71482
|
_timescale: Optional["scout_datasource_connection_api_PivotedTimescaleScrapingConfig"] = None
|
71235
71483
|
_visual_crossing: Optional["scout_datasource_connection_api_VisualCrossingScrapingConfig"] = None
|
71236
71484
|
_big_query: Optional["scout_datasource_connection_api_BigQueryScrapingConfig"] = None
|
71485
|
+
_api: Optional["scout_datasource_connection_api_ApiScrapingConfig"] = None
|
71237
71486
|
|
71238
71487
|
@builtins.classmethod
|
71239
71488
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
@@ -71243,7 +71492,8 @@ class scout_datasource_connection_api_ScrapingConfig(ConjureUnionType):
|
|
71243
71492
|
'timestream': ConjureFieldDefinition('timestream', scout_datasource_connection_api_TimestreamScrapingConfig),
|
71244
71493
|
'timescale': ConjureFieldDefinition('timescale', scout_datasource_connection_api_PivotedTimescaleScrapingConfig),
|
71245
71494
|
'visual_crossing': ConjureFieldDefinition('visualCrossing', scout_datasource_connection_api_VisualCrossingScrapingConfig),
|
71246
|
-
'big_query': ConjureFieldDefinition('bigQuery', scout_datasource_connection_api_BigQueryScrapingConfig)
|
71495
|
+
'big_query': ConjureFieldDefinition('bigQuery', scout_datasource_connection_api_BigQueryScrapingConfig),
|
71496
|
+
'api': ConjureFieldDefinition('api', scout_datasource_connection_api_ApiScrapingConfig)
|
71247
71497
|
}
|
71248
71498
|
|
71249
71499
|
def __init__(
|
@@ -71254,10 +71504,11 @@ class scout_datasource_connection_api_ScrapingConfig(ConjureUnionType):
|
|
71254
71504
|
timescale: Optional["scout_datasource_connection_api_PivotedTimescaleScrapingConfig"] = None,
|
71255
71505
|
visual_crossing: Optional["scout_datasource_connection_api_VisualCrossingScrapingConfig"] = None,
|
71256
71506
|
big_query: Optional["scout_datasource_connection_api_BigQueryScrapingConfig"] = None,
|
71507
|
+
api: Optional["scout_datasource_connection_api_ApiScrapingConfig"] = None,
|
71257
71508
|
type_of_union: Optional[str] = None
|
71258
71509
|
) -> None:
|
71259
71510
|
if type_of_union is None:
|
71260
|
-
if (influx is not None) + (nominal is not None) + (timestream is not None) + (timescale is not None) + (visual_crossing is not None) + (big_query is not None) != 1:
|
71511
|
+
if (influx is not None) + (nominal is not None) + (timestream is not None) + (timescale is not None) + (visual_crossing is not None) + (big_query is not None) + (api is not None) != 1:
|
71261
71512
|
raise ValueError('a union must contain a single member')
|
71262
71513
|
|
71263
71514
|
if influx is not None:
|
@@ -71278,6 +71529,9 @@ class scout_datasource_connection_api_ScrapingConfig(ConjureUnionType):
|
|
71278
71529
|
if big_query is not None:
|
71279
71530
|
self._big_query = big_query
|
71280
71531
|
self._type = 'bigQuery'
|
71532
|
+
if api is not None:
|
71533
|
+
self._api = api
|
71534
|
+
self._type = 'api'
|
71281
71535
|
|
71282
71536
|
elif type_of_union == 'influx':
|
71283
71537
|
if influx is None:
|
@@ -71309,6 +71563,11 @@ class scout_datasource_connection_api_ScrapingConfig(ConjureUnionType):
|
|
71309
71563
|
raise ValueError('a union value must not be None')
|
71310
71564
|
self._big_query = big_query
|
71311
71565
|
self._type = 'bigQuery'
|
71566
|
+
elif type_of_union == 'api':
|
71567
|
+
if api is None:
|
71568
|
+
raise ValueError('a union value must not be None')
|
71569
|
+
self._api = api
|
71570
|
+
self._type = 'api'
|
71312
71571
|
|
71313
71572
|
@builtins.property
|
71314
71573
|
def influx(self) -> Optional["scout_datasource_connection_api_InfluxScrapingConfig"]:
|
@@ -71334,6 +71593,10 @@ class scout_datasource_connection_api_ScrapingConfig(ConjureUnionType):
|
|
71334
71593
|
def big_query(self) -> Optional["scout_datasource_connection_api_BigQueryScrapingConfig"]:
|
71335
71594
|
return self._big_query
|
71336
71595
|
|
71596
|
+
@builtins.property
|
71597
|
+
def api(self) -> Optional["scout_datasource_connection_api_ApiScrapingConfig"]:
|
71598
|
+
return self._api
|
71599
|
+
|
71337
71600
|
def accept(self, visitor) -> Any:
|
71338
71601
|
if not isinstance(visitor, scout_datasource_connection_api_ScrapingConfigVisitor):
|
71339
71602
|
raise ValueError('{} is not an instance of scout_datasource_connection_api_ScrapingConfigVisitor'.format(visitor.__class__.__name__))
|
@@ -71349,6 +71612,8 @@ class scout_datasource_connection_api_ScrapingConfig(ConjureUnionType):
|
|
71349
71612
|
return visitor._visual_crossing(self.visual_crossing)
|
71350
71613
|
if self._type == 'bigQuery' and self.big_query is not None:
|
71351
71614
|
return visitor._big_query(self.big_query)
|
71615
|
+
if self._type == 'api' and self.api is not None:
|
71616
|
+
return visitor._api(self.api)
|
71352
71617
|
|
71353
71618
|
|
71354
71619
|
scout_datasource_connection_api_ScrapingConfig.__name__ = "ScrapingConfig"
|
@@ -71382,6 +71647,10 @@ class scout_datasource_connection_api_ScrapingConfigVisitor:
|
|
71382
71647
|
def _big_query(self, big_query: "scout_datasource_connection_api_BigQueryScrapingConfig") -> Any:
|
71383
71648
|
pass
|
71384
71649
|
|
71650
|
+
@abstractmethod
|
71651
|
+
def _api(self, api: "scout_datasource_connection_api_ApiScrapingConfig") -> Any:
|
71652
|
+
pass
|
71653
|
+
|
71385
71654
|
|
71386
71655
|
scout_datasource_connection_api_ScrapingConfigVisitor.__name__ = "ScrapingConfigVisitor"
|
71387
71656
|
scout_datasource_connection_api_ScrapingConfigVisitor.__qualname__ = "ScrapingConfigVisitor"
|
@@ -72119,6 +72388,7 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
72119
72388
|
_notebook: Optional[str] = None
|
72120
72389
|
_notebook_template: Optional[str] = None
|
72121
72390
|
_checklist: Optional[str] = None
|
72391
|
+
_saved_view: Optional[str] = None
|
72122
72392
|
|
72123
72393
|
@builtins.classmethod
|
72124
72394
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
@@ -72127,7 +72397,8 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
72127
72397
|
'run': ConjureFieldDefinition('run', scout_run_api_RunRid),
|
72128
72398
|
'notebook': ConjureFieldDefinition('notebook', scout_rids_api_NotebookRid),
|
72129
72399
|
'notebook_template': ConjureFieldDefinition('notebookTemplate', scout_rids_api_TemplateRid),
|
72130
|
-
'checklist': ConjureFieldDefinition('checklist', scout_rids_api_ChecklistRid)
|
72400
|
+
'checklist': ConjureFieldDefinition('checklist', scout_rids_api_ChecklistRid),
|
72401
|
+
'saved_view': ConjureFieldDefinition('savedView', scout_rids_api_SavedViewRid)
|
72131
72402
|
}
|
72132
72403
|
|
72133
72404
|
def __init__(
|
@@ -72137,10 +72408,11 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
72137
72408
|
notebook: Optional[str] = None,
|
72138
72409
|
notebook_template: Optional[str] = None,
|
72139
72410
|
checklist: Optional[str] = None,
|
72411
|
+
saved_view: Optional[str] = None,
|
72140
72412
|
type_of_union: Optional[str] = None
|
72141
72413
|
) -> None:
|
72142
72414
|
if type_of_union is None:
|
72143
|
-
if (asset is not None) + (run is not None) + (notebook is not None) + (notebook_template is not None) + (checklist is not None) != 1:
|
72415
|
+
if (asset is not None) + (run is not None) + (notebook is not None) + (notebook_template is not None) + (checklist is not None) + (saved_view is not None) != 1:
|
72144
72416
|
raise ValueError('a union must contain a single member')
|
72145
72417
|
|
72146
72418
|
if asset is not None:
|
@@ -72158,6 +72430,9 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
72158
72430
|
if checklist is not None:
|
72159
72431
|
self._checklist = checklist
|
72160
72432
|
self._type = 'checklist'
|
72433
|
+
if saved_view is not None:
|
72434
|
+
self._saved_view = saved_view
|
72435
|
+
self._type = 'savedView'
|
72161
72436
|
|
72162
72437
|
elif type_of_union == 'asset':
|
72163
72438
|
if asset is None:
|
@@ -72184,6 +72459,11 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
72184
72459
|
raise ValueError('a union value must not be None')
|
72185
72460
|
self._checklist = checklist
|
72186
72461
|
self._type = 'checklist'
|
72462
|
+
elif type_of_union == 'savedView':
|
72463
|
+
if saved_view is None:
|
72464
|
+
raise ValueError('a union value must not be None')
|
72465
|
+
self._saved_view = saved_view
|
72466
|
+
self._type = 'savedView'
|
72187
72467
|
|
72188
72468
|
@builtins.property
|
72189
72469
|
def asset(self) -> Optional[str]:
|
@@ -72205,6 +72485,10 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
72205
72485
|
def checklist(self) -> Optional[str]:
|
72206
72486
|
return self._checklist
|
72207
72487
|
|
72488
|
+
@builtins.property
|
72489
|
+
def saved_view(self) -> Optional[str]:
|
72490
|
+
return self._saved_view
|
72491
|
+
|
72208
72492
|
def accept(self, visitor) -> Any:
|
72209
72493
|
if not isinstance(visitor, scout_favorites_api_FavoriteResourceVisitor):
|
72210
72494
|
raise ValueError('{} is not an instance of scout_favorites_api_FavoriteResourceVisitor'.format(visitor.__class__.__name__))
|
@@ -72218,6 +72502,8 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
72218
72502
|
return visitor._notebook_template(self.notebook_template)
|
72219
72503
|
if self._type == 'checklist' and self.checklist is not None:
|
72220
72504
|
return visitor._checklist(self.checklist)
|
72505
|
+
if self._type == 'savedView' and self.saved_view is not None:
|
72506
|
+
return visitor._saved_view(self.saved_view)
|
72221
72507
|
|
72222
72508
|
|
72223
72509
|
scout_favorites_api_FavoriteResource.__name__ = "FavoriteResource"
|
@@ -72247,6 +72533,10 @@ class scout_favorites_api_FavoriteResourceVisitor:
|
|
72247
72533
|
def _checklist(self, checklist: str) -> Any:
|
72248
72534
|
pass
|
72249
72535
|
|
72536
|
+
@abstractmethod
|
72537
|
+
def _saved_view(self, saved_view: str) -> Any:
|
72538
|
+
pass
|
72539
|
+
|
72250
72540
|
|
72251
72541
|
scout_favorites_api_FavoriteResourceVisitor.__name__ = "FavoriteResourceVisitor"
|
72252
72542
|
scout_favorites_api_FavoriteResourceVisitor.__qualname__ = "FavoriteResourceVisitor"
|
@@ -72288,6 +72578,8 @@ class scout_favorites_api_ResourceType(ConjureEnumType):
|
|
72288
72578
|
'''NOTEBOOK_TEMPLATE'''
|
72289
72579
|
CHECKLIST = 'CHECKLIST'
|
72290
72580
|
'''CHECKLIST'''
|
72581
|
+
SAVED_VIEW = 'SAVED_VIEW'
|
72582
|
+
'''SAVED_VIEW'''
|
72291
72583
|
UNKNOWN = 'UNKNOWN'
|
72292
72584
|
'''UNKNOWN'''
|
72293
72585
|
|
@@ -89704,6 +89996,35 @@ timeseries_archetype_SeriesArchetypeService.__qualname__ = "SeriesArchetypeServi
|
|
89704
89996
|
timeseries_archetype_SeriesArchetypeService.__module__ = "nominal_api.timeseries_archetype"
|
89705
89997
|
|
89706
89998
|
|
89999
|
+
class timeseries_archetype_api_ApiLocatorTemplate(ConjureBeanType):
|
90000
|
+
|
90001
|
+
@builtins.classmethod
|
90002
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
90003
|
+
return {
|
90004
|
+
'channel': ConjureFieldDefinition('channel', api_Channel),
|
90005
|
+
'type': ConjureFieldDefinition('type', timeseries_logicalseries_api_ApiType)
|
90006
|
+
}
|
90007
|
+
|
90008
|
+
__slots__: List[str] = ['_channel', '_type']
|
90009
|
+
|
90010
|
+
def __init__(self, channel: str, type: "timeseries_logicalseries_api_ApiType") -> None:
|
90011
|
+
self._channel = channel
|
90012
|
+
self._type = type
|
90013
|
+
|
90014
|
+
@builtins.property
|
90015
|
+
def channel(self) -> str:
|
90016
|
+
return self._channel
|
90017
|
+
|
90018
|
+
@builtins.property
|
90019
|
+
def type(self) -> "timeseries_logicalseries_api_ApiType":
|
90020
|
+
return self._type
|
90021
|
+
|
90022
|
+
|
90023
|
+
timeseries_archetype_api_ApiLocatorTemplate.__name__ = "ApiLocatorTemplate"
|
90024
|
+
timeseries_archetype_api_ApiLocatorTemplate.__qualname__ = "ApiLocatorTemplate"
|
90025
|
+
timeseries_archetype_api_ApiLocatorTemplate.__module__ = "nominal_api.timeseries_archetype_api"
|
90026
|
+
|
90027
|
+
|
89707
90028
|
class timeseries_archetype_api_BatchCreateSeriesArchetypeRequest(ConjureBeanType):
|
89708
90029
|
|
89709
90030
|
@builtins.classmethod
|
@@ -90073,6 +90394,7 @@ class timeseries_archetype_api_LocatorTemplate(ConjureUnionType):
|
|
90073
90394
|
_timestream: Optional["timeseries_archetype_api_TimestreamLocatorTemplate"] = None
|
90074
90395
|
_visual_crossing: Optional["timeseries_archetype_api_VisualCrossingLocatorTemplate"] = None
|
90075
90396
|
_big_query: Optional["timeseries_archetype_api_BigQueryLocatorTemplate"] = None
|
90397
|
+
_api: Optional["timeseries_archetype_api_ApiLocatorTemplate"] = None
|
90076
90398
|
_csv: Optional["timeseries_archetype_api_CsvLocatorTemplate"] = None
|
90077
90399
|
_csv_v2: Optional["timeseries_archetype_api_CsvLocatorV2Template"] = None
|
90078
90400
|
|
@@ -90086,6 +90408,7 @@ class timeseries_archetype_api_LocatorTemplate(ConjureUnionType):
|
|
90086
90408
|
'timestream': ConjureFieldDefinition('timestream', timeseries_archetype_api_TimestreamLocatorTemplate),
|
90087
90409
|
'visual_crossing': ConjureFieldDefinition('visualCrossing', timeseries_archetype_api_VisualCrossingLocatorTemplate),
|
90088
90410
|
'big_query': ConjureFieldDefinition('bigQuery', timeseries_archetype_api_BigQueryLocatorTemplate),
|
90411
|
+
'api': ConjureFieldDefinition('api', timeseries_archetype_api_ApiLocatorTemplate),
|
90089
90412
|
'csv': ConjureFieldDefinition('csv', timeseries_archetype_api_CsvLocatorTemplate),
|
90090
90413
|
'csv_v2': ConjureFieldDefinition('csvV2', timeseries_archetype_api_CsvLocatorV2Template)
|
90091
90414
|
}
|
@@ -90099,12 +90422,13 @@ class timeseries_archetype_api_LocatorTemplate(ConjureUnionType):
|
|
90099
90422
|
timestream: Optional["timeseries_archetype_api_TimestreamLocatorTemplate"] = None,
|
90100
90423
|
visual_crossing: Optional["timeseries_archetype_api_VisualCrossingLocatorTemplate"] = None,
|
90101
90424
|
big_query: Optional["timeseries_archetype_api_BigQueryLocatorTemplate"] = None,
|
90425
|
+
api: Optional["timeseries_archetype_api_ApiLocatorTemplate"] = None,
|
90102
90426
|
csv: Optional["timeseries_archetype_api_CsvLocatorTemplate"] = None,
|
90103
90427
|
csv_v2: Optional["timeseries_archetype_api_CsvLocatorV2Template"] = None,
|
90104
90428
|
type_of_union: Optional[str] = None
|
90105
90429
|
) -> None:
|
90106
90430
|
if type_of_union is None:
|
90107
|
-
if (timescale_db is not None) + (influx is not None) + (influx1 is not None) + (nominal is not None) + (timestream is not None) + (visual_crossing is not None) + (big_query is not None) + (csv is not None) + (csv_v2 is not None) != 1:
|
90431
|
+
if (timescale_db is not None) + (influx is not None) + (influx1 is not None) + (nominal is not None) + (timestream is not None) + (visual_crossing is not None) + (big_query is not None) + (api is not None) + (csv is not None) + (csv_v2 is not None) != 1:
|
90108
90432
|
raise ValueError('a union must contain a single member')
|
90109
90433
|
|
90110
90434
|
if timescale_db is not None:
|
@@ -90128,6 +90452,9 @@ class timeseries_archetype_api_LocatorTemplate(ConjureUnionType):
|
|
90128
90452
|
if big_query is not None:
|
90129
90453
|
self._big_query = big_query
|
90130
90454
|
self._type = 'bigQuery'
|
90455
|
+
if api is not None:
|
90456
|
+
self._api = api
|
90457
|
+
self._type = 'api'
|
90131
90458
|
if csv is not None:
|
90132
90459
|
self._csv = csv
|
90133
90460
|
self._type = 'csv'
|
@@ -90170,6 +90497,11 @@ class timeseries_archetype_api_LocatorTemplate(ConjureUnionType):
|
|
90170
90497
|
raise ValueError('a union value must not be None')
|
90171
90498
|
self._big_query = big_query
|
90172
90499
|
self._type = 'bigQuery'
|
90500
|
+
elif type_of_union == 'api':
|
90501
|
+
if api is None:
|
90502
|
+
raise ValueError('a union value must not be None')
|
90503
|
+
self._api = api
|
90504
|
+
self._type = 'api'
|
90173
90505
|
elif type_of_union == 'csv':
|
90174
90506
|
if csv is None:
|
90175
90507
|
raise ValueError('a union value must not be None')
|
@@ -90209,6 +90541,10 @@ class timeseries_archetype_api_LocatorTemplate(ConjureUnionType):
|
|
90209
90541
|
def big_query(self) -> Optional["timeseries_archetype_api_BigQueryLocatorTemplate"]:
|
90210
90542
|
return self._big_query
|
90211
90543
|
|
90544
|
+
@builtins.property
|
90545
|
+
def api(self) -> Optional["timeseries_archetype_api_ApiLocatorTemplate"]:
|
90546
|
+
return self._api
|
90547
|
+
|
90212
90548
|
@builtins.property
|
90213
90549
|
def csv(self) -> Optional["timeseries_archetype_api_CsvLocatorTemplate"]:
|
90214
90550
|
return self._csv
|
@@ -90234,6 +90570,8 @@ class timeseries_archetype_api_LocatorTemplate(ConjureUnionType):
|
|
90234
90570
|
return visitor._visual_crossing(self.visual_crossing)
|
90235
90571
|
if self._type == 'bigQuery' and self.big_query is not None:
|
90236
90572
|
return visitor._big_query(self.big_query)
|
90573
|
+
if self._type == 'api' and self.api is not None:
|
90574
|
+
return visitor._api(self.api)
|
90237
90575
|
if self._type == 'csv' and self.csv is not None:
|
90238
90576
|
return visitor._csv(self.csv)
|
90239
90577
|
if self._type == 'csvV2' and self.csv_v2 is not None:
|
@@ -90275,6 +90613,10 @@ class timeseries_archetype_api_LocatorTemplateVisitor:
|
|
90275
90613
|
def _big_query(self, big_query: "timeseries_archetype_api_BigQueryLocatorTemplate") -> Any:
|
90276
90614
|
pass
|
90277
90615
|
|
90616
|
+
@abstractmethod
|
90617
|
+
def _api(self, api: "timeseries_archetype_api_ApiLocatorTemplate") -> Any:
|
90618
|
+
pass
|
90619
|
+
|
90278
90620
|
@abstractmethod
|
90279
90621
|
def _csv(self, csv: "timeseries_archetype_api_CsvLocatorTemplate") -> Any:
|
90280
90622
|
pass
|
@@ -91078,6 +91420,61 @@ timeseries_logicalseries_LogicalSeriesService.__qualname__ = "LogicalSeriesServi
|
|
91078
91420
|
timeseries_logicalseries_LogicalSeriesService.__module__ = "nominal_api.timeseries_logicalseries"
|
91079
91421
|
|
91080
91422
|
|
91423
|
+
class timeseries_logicalseries_api_ApiLocator(ConjureBeanType):
|
91424
|
+
|
91425
|
+
@builtins.classmethod
|
91426
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
91427
|
+
return {
|
91428
|
+
'channel': ConjureFieldDefinition('channel', api_Channel),
|
91429
|
+
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue]),
|
91430
|
+
'type': ConjureFieldDefinition('type', timeseries_logicalseries_api_ApiType)
|
91431
|
+
}
|
91432
|
+
|
91433
|
+
__slots__: List[str] = ['_channel', '_tags', '_type']
|
91434
|
+
|
91435
|
+
def __init__(self, channel: str, tags: Dict[str, str], type: "timeseries_logicalseries_api_ApiType") -> None:
|
91436
|
+
self._channel = channel
|
91437
|
+
self._tags = tags
|
91438
|
+
self._type = type
|
91439
|
+
|
91440
|
+
@builtins.property
|
91441
|
+
def channel(self) -> str:
|
91442
|
+
return self._channel
|
91443
|
+
|
91444
|
+
@builtins.property
|
91445
|
+
def tags(self) -> Dict[str, str]:
|
91446
|
+
return self._tags
|
91447
|
+
|
91448
|
+
@builtins.property
|
91449
|
+
def type(self) -> "timeseries_logicalseries_api_ApiType":
|
91450
|
+
return self._type
|
91451
|
+
|
91452
|
+
|
91453
|
+
timeseries_logicalseries_api_ApiLocator.__name__ = "ApiLocator"
|
91454
|
+
timeseries_logicalseries_api_ApiLocator.__qualname__ = "ApiLocator"
|
91455
|
+
timeseries_logicalseries_api_ApiLocator.__module__ = "nominal_api.timeseries_logicalseries_api"
|
91456
|
+
|
91457
|
+
|
91458
|
+
class timeseries_logicalseries_api_ApiType(ConjureEnumType):
|
91459
|
+
|
91460
|
+
DOUBLE = 'DOUBLE'
|
91461
|
+
'''DOUBLE'''
|
91462
|
+
STRING = 'STRING'
|
91463
|
+
'''STRING'''
|
91464
|
+
INT64 = 'INT64'
|
91465
|
+
'''INT64'''
|
91466
|
+
UNKNOWN = 'UNKNOWN'
|
91467
|
+
'''UNKNOWN'''
|
91468
|
+
|
91469
|
+
def __reduce_ex__(self, proto):
|
91470
|
+
return self.__class__, (self.name,)
|
91471
|
+
|
91472
|
+
|
91473
|
+
timeseries_logicalseries_api_ApiType.__name__ = "ApiType"
|
91474
|
+
timeseries_logicalseries_api_ApiType.__qualname__ = "ApiType"
|
91475
|
+
timeseries_logicalseries_api_ApiType.__module__ = "nominal_api.timeseries_logicalseries_api"
|
91476
|
+
|
91477
|
+
|
91081
91478
|
class timeseries_logicalseries_api_BatchCreateLogicalSeriesRequest(ConjureBeanType):
|
91082
91479
|
|
91083
91480
|
@builtins.classmethod
|
@@ -91659,6 +92056,7 @@ class timeseries_logicalseries_api_Locator(ConjureUnionType):
|
|
91659
92056
|
_timestream_locator: Optional["timeseries_logicalseries_api_TimestreamLocator"] = None
|
91660
92057
|
_visual_crossing_locator: Optional["timeseries_logicalseries_api_VisualCrossingLocator"] = None
|
91661
92058
|
_big_query_locator: Optional["timeseries_logicalseries_api_BigQueryLocator"] = None
|
92059
|
+
_api_locator: Optional["timeseries_logicalseries_api_ApiLocator"] = None
|
91662
92060
|
|
91663
92061
|
@builtins.classmethod
|
91664
92062
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
@@ -91671,7 +92069,8 @@ class timeseries_logicalseries_api_Locator(ConjureUnionType):
|
|
91671
92069
|
'nominal_locator': ConjureFieldDefinition('nominalLocator', timeseries_logicalseries_api_NominalLocator),
|
91672
92070
|
'timestream_locator': ConjureFieldDefinition('timestreamLocator', timeseries_logicalseries_api_TimestreamLocator),
|
91673
92071
|
'visual_crossing_locator': ConjureFieldDefinition('visualCrossingLocator', timeseries_logicalseries_api_VisualCrossingLocator),
|
91674
|
-
'big_query_locator': ConjureFieldDefinition('bigQueryLocator', timeseries_logicalseries_api_BigQueryLocator)
|
92072
|
+
'big_query_locator': ConjureFieldDefinition('bigQueryLocator', timeseries_logicalseries_api_BigQueryLocator),
|
92073
|
+
'api_locator': ConjureFieldDefinition('apiLocator', timeseries_logicalseries_api_ApiLocator)
|
91675
92074
|
}
|
91676
92075
|
|
91677
92076
|
def __init__(
|
@@ -91685,10 +92084,11 @@ class timeseries_logicalseries_api_Locator(ConjureUnionType):
|
|
91685
92084
|
timestream_locator: Optional["timeseries_logicalseries_api_TimestreamLocator"] = None,
|
91686
92085
|
visual_crossing_locator: Optional["timeseries_logicalseries_api_VisualCrossingLocator"] = None,
|
91687
92086
|
big_query_locator: Optional["timeseries_logicalseries_api_BigQueryLocator"] = None,
|
92087
|
+
api_locator: Optional["timeseries_logicalseries_api_ApiLocator"] = None,
|
91688
92088
|
type_of_union: Optional[str] = None
|
91689
92089
|
) -> None:
|
91690
92090
|
if type_of_union is None:
|
91691
|
-
if (csv_locator is not None) + (csv_v2 is not None) + (timescale_db_locator is not None) + (influx_locator is not None) + (influx1_locator is not None) + (nominal_locator is not None) + (timestream_locator is not None) + (visual_crossing_locator is not None) + (big_query_locator is not None) != 1:
|
92091
|
+
if (csv_locator is not None) + (csv_v2 is not None) + (timescale_db_locator is not None) + (influx_locator is not None) + (influx1_locator is not None) + (nominal_locator is not None) + (timestream_locator is not None) + (visual_crossing_locator is not None) + (big_query_locator is not None) + (api_locator is not None) != 1:
|
91692
92092
|
raise ValueError('a union must contain a single member')
|
91693
92093
|
|
91694
92094
|
if csv_locator is not None:
|
@@ -91718,6 +92118,9 @@ class timeseries_logicalseries_api_Locator(ConjureUnionType):
|
|
91718
92118
|
if big_query_locator is not None:
|
91719
92119
|
self._big_query_locator = big_query_locator
|
91720
92120
|
self._type = 'bigQueryLocator'
|
92121
|
+
if api_locator is not None:
|
92122
|
+
self._api_locator = api_locator
|
92123
|
+
self._type = 'apiLocator'
|
91721
92124
|
|
91722
92125
|
elif type_of_union == 'csvLocator':
|
91723
92126
|
if csv_locator is None:
|
@@ -91764,6 +92167,11 @@ class timeseries_logicalseries_api_Locator(ConjureUnionType):
|
|
91764
92167
|
raise ValueError('a union value must not be None')
|
91765
92168
|
self._big_query_locator = big_query_locator
|
91766
92169
|
self._type = 'bigQueryLocator'
|
92170
|
+
elif type_of_union == 'apiLocator':
|
92171
|
+
if api_locator is None:
|
92172
|
+
raise ValueError('a union value must not be None')
|
92173
|
+
self._api_locator = api_locator
|
92174
|
+
self._type = 'apiLocator'
|
91767
92175
|
|
91768
92176
|
@builtins.property
|
91769
92177
|
def csv_locator(self) -> Optional["timeseries_logicalseries_api_CsvLocator"]:
|
@@ -91801,6 +92209,10 @@ class timeseries_logicalseries_api_Locator(ConjureUnionType):
|
|
91801
92209
|
def big_query_locator(self) -> Optional["timeseries_logicalseries_api_BigQueryLocator"]:
|
91802
92210
|
return self._big_query_locator
|
91803
92211
|
|
92212
|
+
@builtins.property
|
92213
|
+
def api_locator(self) -> Optional["timeseries_logicalseries_api_ApiLocator"]:
|
92214
|
+
return self._api_locator
|
92215
|
+
|
91804
92216
|
def accept(self, visitor) -> Any:
|
91805
92217
|
if not isinstance(visitor, timeseries_logicalseries_api_LocatorVisitor):
|
91806
92218
|
raise ValueError('{} is not an instance of timeseries_logicalseries_api_LocatorVisitor'.format(visitor.__class__.__name__))
|
@@ -91822,6 +92234,8 @@ class timeseries_logicalseries_api_Locator(ConjureUnionType):
|
|
91822
92234
|
return visitor._visual_crossing_locator(self.visual_crossing_locator)
|
91823
92235
|
if self._type == 'bigQueryLocator' and self.big_query_locator is not None:
|
91824
92236
|
return visitor._big_query_locator(self.big_query_locator)
|
92237
|
+
if self._type == 'apiLocator' and self.api_locator is not None:
|
92238
|
+
return visitor._api_locator(self.api_locator)
|
91825
92239
|
|
91826
92240
|
|
91827
92241
|
timeseries_logicalseries_api_Locator.__name__ = "Locator"
|
@@ -91867,6 +92281,10 @@ class timeseries_logicalseries_api_LocatorVisitor:
|
|
91867
92281
|
def _big_query_locator(self, big_query_locator: "timeseries_logicalseries_api_BigQueryLocator") -> Any:
|
91868
92282
|
pass
|
91869
92283
|
|
92284
|
+
@abstractmethod
|
92285
|
+
def _api_locator(self, api_locator: "timeseries_logicalseries_api_ApiLocator") -> Any:
|
92286
|
+
pass
|
92287
|
+
|
91870
92288
|
|
91871
92289
|
timeseries_logicalseries_api_LocatorVisitor.__name__ = "LocatorVisitor"
|
91872
92290
|
timeseries_logicalseries_api_LocatorVisitor.__qualname__ = "LocatorVisitor"
|
@@ -139,6 +139,7 @@ from .._impl import (
|
|
139
139
|
scout_compute_api_ExponentialCurve as ExponentialCurve,
|
140
140
|
scout_compute_api_ExponentialResultDetails as ExponentialResultDetails,
|
141
141
|
scout_compute_api_Fft as Fft,
|
142
|
+
scout_compute_api_FftWindow as FftWindow,
|
142
143
|
scout_compute_api_FirstPointMatchingCondition as FirstPointMatchingCondition,
|
143
144
|
scout_compute_api_ForwardFillInterpolation as ForwardFillInterpolation,
|
144
145
|
scout_compute_api_ForwardFillResampleInterpolationConfiguration as ForwardFillResampleInterpolationConfiguration,
|
@@ -492,6 +493,7 @@ __all__ = [
|
|
492
493
|
'ExponentialCurve',
|
493
494
|
'ExponentialResultDetails',
|
494
495
|
'Fft',
|
496
|
+
'FftWindow',
|
495
497
|
'FirstPointMatchingCondition',
|
496
498
|
'ForwardFillInterpolation',
|
497
499
|
'ForwardFillResampleInterpolationConfiguration',
|
@@ -1,9 +1,15 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
from .._impl import (
|
3
|
+
scout_datasource_connection_api_AllChannelsConnectionsScrapingConfig as AllChannelsConnectionsScrapingConfig,
|
4
|
+
scout_datasource_connection_api_ApiConnectionDetails as ApiConnectionDetails,
|
5
|
+
scout_datasource_connection_api_ApiScrapingConfig as ApiScrapingConfig,
|
6
|
+
scout_datasource_connection_api_ApiScrapingConfigVisitor as ApiScrapingConfigVisitor,
|
3
7
|
scout_datasource_connection_api_BigQueryChannelNameComponent as BigQueryChannelNameComponent,
|
4
8
|
scout_datasource_connection_api_BigQueryConnectionDetails as BigQueryConnectionDetails,
|
5
9
|
scout_datasource_connection_api_BigQueryScrapingConfig as BigQueryScrapingConfig,
|
6
10
|
scout_datasource_connection_api_BucketName as BucketName,
|
11
|
+
scout_datasource_connection_api_ChannelAllowListConnectionsScrapingConfig as ChannelAllowListConnectionsScrapingConfig,
|
12
|
+
scout_datasource_connection_api_ChannelBlockListConnectionsScrapingConfig as ChannelBlockListConnectionsScrapingConfig,
|
7
13
|
scout_datasource_connection_api_ColumnName as ColumnName,
|
8
14
|
scout_datasource_connection_api_Connection as Connection,
|
9
15
|
scout_datasource_connection_api_ConnectionDetails as ConnectionDetails,
|
@@ -61,10 +67,16 @@ from .._impl import (
|
|
61
67
|
)
|
62
68
|
|
63
69
|
__all__ = [
|
70
|
+
'AllChannelsConnectionsScrapingConfig',
|
71
|
+
'ApiConnectionDetails',
|
72
|
+
'ApiScrapingConfig',
|
73
|
+
'ApiScrapingConfigVisitor',
|
64
74
|
'BigQueryChannelNameComponent',
|
65
75
|
'BigQueryConnectionDetails',
|
66
76
|
'BigQueryScrapingConfig',
|
67
77
|
'BucketName',
|
78
|
+
'ChannelAllowListConnectionsScrapingConfig',
|
79
|
+
'ChannelBlockListConnectionsScrapingConfig',
|
68
80
|
'ColumnName',
|
69
81
|
'Connection',
|
70
82
|
'ConnectionDetails',
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
from .._impl import (
|
3
|
+
timeseries_archetype_api_ApiLocatorTemplate as ApiLocatorTemplate,
|
3
4
|
timeseries_archetype_api_BatchCreateSeriesArchetypeRequest as BatchCreateSeriesArchetypeRequest,
|
4
5
|
timeseries_archetype_api_BatchGetSeriesArchetypeRequest as BatchGetSeriesArchetypeRequest,
|
5
6
|
timeseries_archetype_api_BatchGetSeriesArchetypeResponse as BatchGetSeriesArchetypeResponse,
|
@@ -21,6 +22,7 @@ from .._impl import (
|
|
21
22
|
)
|
22
23
|
|
23
24
|
__all__ = [
|
25
|
+
'ApiLocatorTemplate',
|
24
26
|
'BatchCreateSeriesArchetypeRequest',
|
25
27
|
'BatchGetSeriesArchetypeRequest',
|
26
28
|
'BatchGetSeriesArchetypeResponse',
|
@@ -1,5 +1,7 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
from .._impl import (
|
3
|
+
timeseries_logicalseries_api_ApiLocator as ApiLocator,
|
4
|
+
timeseries_logicalseries_api_ApiType as ApiType,
|
3
5
|
timeseries_logicalseries_api_AttributeName as AttributeName,
|
4
6
|
timeseries_logicalseries_api_BatchCreateLogicalSeriesRequest as BatchCreateLogicalSeriesRequest,
|
5
7
|
timeseries_logicalseries_api_BatchCreateLogicalSeriesResponse as BatchCreateLogicalSeriesResponse,
|
@@ -50,6 +52,8 @@ from .._impl import (
|
|
50
52
|
)
|
51
53
|
|
52
54
|
__all__ = [
|
55
|
+
'ApiLocator',
|
56
|
+
'ApiType',
|
53
57
|
'AttributeName',
|
54
58
|
'BatchCreateLogicalSeriesRequest',
|
55
59
|
'BatchCreateLogicalSeriesResponse',
|
@@ -1,5 +1,5 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
1
|
+
nominal_api/__init__.py,sha256=qhqTUUFKQ_8FM70D2_jvyQsyYGVcuHNQWfTBCseF7zU,2064
|
2
|
+
nominal_api/_impl.py,sha256=NTXTP80X8Jk-qIPH-m6nebX4kOJpE4ub7rWynOwRpxg,3704879
|
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
|
@@ -33,14 +33,14 @@ nominal_api/scout_checklistexecution_api/__init__.py,sha256=iVeUjPTlbpQ3vlQkQjHr
|
|
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
|
35
35
|
nominal_api/scout_comparisonrun_api/__init__.py,sha256=y5SlDoXvskyTKjg2O8o3cBhGSN-KA7iVlVjyy3vb3Co,652
|
36
|
-
nominal_api/scout_compute_api/__init__.py,sha256=
|
36
|
+
nominal_api/scout_compute_api/__init__.py,sha256=sJFk1Ko5Qs6WpTSTlRVgEZsELblYjEkwTgK14S-Tubw,31846
|
37
37
|
nominal_api/scout_compute_api_deprecated/__init__.py,sha256=JrZKbt1ulYECTdUSkXn6On22Alu_cPUBjCRWTN3ctxk,5041
|
38
38
|
nominal_api/scout_compute_resolved_api/__init__.py,sha256=wHZ-fvDaqCCoO3BRPjCF0ZktxVpCT203fa0bSs3fwz4,16741
|
39
39
|
nominal_api/scout_dataexport_api/__init__.py,sha256=CF2vuo8kUXLJ4B7w95STrU0UMoBGuziacH5Eo3uxYf4,2068
|
40
40
|
nominal_api/scout_datareview_api/__init__.py,sha256=ITQR6pdPseU9vS2bKDeleafiBhurtHmcHeKz_6J8Ab8,12229
|
41
41
|
nominal_api/scout_datasource/__init__.py,sha256=Z1Msu1Daf8GlLuM3w5imyB-6DhTNZojxI6xpH1sSvhM,141
|
42
42
|
nominal_api/scout_datasource_connection/__init__.py,sha256=vT-OJYR5a--THheuxH1T1n553ZHp8pwsWBVzB7qvuKs,285
|
43
|
-
nominal_api/scout_datasource_connection_api/__init__.py,sha256=
|
43
|
+
nominal_api/scout_datasource_connection_api/__init__.py,sha256=TxvP0xKyJD9TH644OnmapA_L-b27l9ZTouPvzDmmsc4,7554
|
44
44
|
nominal_api/scout_datasource_connection_api_influx/__init__.py,sha256=jAVVZomYEPl87gSskLU7f0fwWNUa0YItwgBNBc9ryK4,127
|
45
45
|
nominal_api/scout_favorites/__init__.py,sha256=XtBItmJSZTsgyO5fOR1AElMf1MAZwEkKlL5jtIaivXk,137
|
46
46
|
nominal_api/scout_favorites_api/__init__.py,sha256=93jNrOFPbdZFg_AfXVnwYGLvpARa4WgLZ8fo0Xg0efc,530
|
@@ -69,15 +69,15 @@ nominal_api/storage_series_api/__init__.py,sha256=wq6d_C7M31wVt9CM-bw0DtOBfcrPyv
|
|
69
69
|
nominal_api/storage_writer_api/__init__.py,sha256=a6EGXk7GgDraTFLYRdJTi4baAYtuRsEX7xrKQTYRydo,2587
|
70
70
|
nominal_api/themes_api/__init__.py,sha256=5GNGZfslPuTthUYl179XRDS_jR0nrmTi8Z-aiFQZHyU,1415
|
71
71
|
nominal_api/timeseries_archetype/__init__.py,sha256=sZdZCA3nTyv0rF4YHaAZTw4kglrNREcsYTMjjl85hWY,160
|
72
|
-
nominal_api/timeseries_archetype_api/__init__.py,sha256=
|
72
|
+
nominal_api/timeseries_archetype_api/__init__.py,sha256=A9rI1AKAgExODQRabJIvWW0S1W6ZxLiTLrMEsWZg41w,2234
|
73
73
|
nominal_api/timeseries_channelmetadata/__init__.py,sha256=K5rQ2FnPxUJJ-763HWInYu0tRfnOyf1V9H232SyliD4,166
|
74
74
|
nominal_api/timeseries_channelmetadata_api/__init__.py,sha256=cnW4lnburn1z58pMO1inqf7DCqbxcTivQmEMCEtqtvQ,1086
|
75
75
|
nominal_api/timeseries_logicalseries/__init__.py,sha256=8GyG6TLiwCUsfooVx8fotkILjCFwsqiDmy9LmSb-OrY,158
|
76
|
-
nominal_api/timeseries_logicalseries_api/__init__.py,sha256=
|
76
|
+
nominal_api/timeseries_logicalseries_api/__init__.py,sha256=lDuOWyLpdVBI9aoN6ujwU_cGS18i9QrPZFYsoDerhvM,4710
|
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.853.0.dist-info/METADATA,sha256=taz1AfP5c7KTM-zAhWTDitgMEZLd_4-Aq_H6IyXa1tA,199
|
81
|
+
nominal_api-0.853.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
82
|
+
nominal_api-0.853.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
83
|
+
nominal_api-0.853.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|