nominal-api 0.550.1__py3-none-any.whl → 0.552.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 -2
- nominal_api/_impl.py +1280 -984
- nominal_api/api/__init__.py +8 -0
- nominal_api/datasource/__init__.py +0 -1
- nominal_api/datasource_logset_api/__init__.py +0 -1
- nominal_api/ingest_api/__init__.py +0 -6
- nominal_api/scout_api/__init__.py +0 -1
- nominal_api/scout_catalog/__init__.py +0 -6
- nominal_api/scout_compute_api/__init__.py +13 -6
- nominal_api/scout_compute_resolved_api/__init__.py +7 -0
- nominal_api/scout_datareview_api/__init__.py +0 -2
- nominal_api/scout_datasource_connection_api/__init__.py +0 -1
- nominal_api/scout_rids_api/__init__.py +2 -1
- nominal_api/scout_video_api/__init__.py +0 -3
- nominal_api/timeseries_logicalseries_api/__init__.py +0 -1
- {nominal_api-0.550.1.dist-info → nominal_api-0.552.0.dist-info}/METADATA +1 -1
- {nominal_api-0.550.1.dist-info → nominal_api-0.552.0.dist-info}/RECORD +19 -20
- nominal_api/scout_backend/__init__.py +0 -5
- {nominal_api-0.550.1.dist-info → nominal_api-0.552.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.550.1.dist-info → nominal_api-0.552.0.dist-info}/top_level.txt +0 -0
nominal_api/_impl.py
CHANGED
|
@@ -59,6 +59,35 @@ api_Empty.__qualname__ = "Empty"
|
|
|
59
59
|
api_Empty.__module__ = "nominal_api.api"
|
|
60
60
|
|
|
61
61
|
|
|
62
|
+
class api_ErrorResult(ConjureBeanType):
|
|
63
|
+
|
|
64
|
+
@builtins.classmethod
|
|
65
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
66
|
+
return {
|
|
67
|
+
'error_type': ConjureFieldDefinition('errorType', api_ErrorType),
|
|
68
|
+
'message': ConjureFieldDefinition('message', str)
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
__slots__: List[str] = ['_error_type', '_message']
|
|
72
|
+
|
|
73
|
+
def __init__(self, error_type: str, message: str) -> None:
|
|
74
|
+
self._error_type = error_type
|
|
75
|
+
self._message = message
|
|
76
|
+
|
|
77
|
+
@builtins.property
|
|
78
|
+
def error_type(self) -> str:
|
|
79
|
+
return self._error_type
|
|
80
|
+
|
|
81
|
+
@builtins.property
|
|
82
|
+
def message(self) -> str:
|
|
83
|
+
return self._message
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
api_ErrorResult.__name__ = "ErrorResult"
|
|
87
|
+
api_ErrorResult.__qualname__ = "ErrorResult"
|
|
88
|
+
api_ErrorResult.__module__ = "nominal_api.api"
|
|
89
|
+
|
|
90
|
+
|
|
62
91
|
class api_Granularity(ConjureEnumType):
|
|
63
92
|
|
|
64
93
|
PICOSECONDS = 'PICOSECONDS'
|
|
@@ -133,6 +162,140 @@ api_HandleVisitor.__qualname__ = "HandleVisitor"
|
|
|
133
162
|
api_HandleVisitor.__module__ = "nominal_api.api"
|
|
134
163
|
|
|
135
164
|
|
|
165
|
+
class api_InProgressResult(ConjureBeanType):
|
|
166
|
+
|
|
167
|
+
@builtins.classmethod
|
|
168
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
169
|
+
return {
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
__slots__: List[str] = []
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
api_InProgressResult.__name__ = "InProgressResult"
|
|
177
|
+
api_InProgressResult.__qualname__ = "InProgressResult"
|
|
178
|
+
api_InProgressResult.__module__ = "nominal_api.api"
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
class api_IngestStatus(ConjureEnumType):
|
|
182
|
+
|
|
183
|
+
SUCCEEDED = 'SUCCEEDED'
|
|
184
|
+
'''SUCCEEDED'''
|
|
185
|
+
FAILED = 'FAILED'
|
|
186
|
+
'''FAILED'''
|
|
187
|
+
IN_PROGRESS = 'IN_PROGRESS'
|
|
188
|
+
'''IN_PROGRESS'''
|
|
189
|
+
UNKNOWN = 'UNKNOWN'
|
|
190
|
+
'''UNKNOWN'''
|
|
191
|
+
|
|
192
|
+
def __reduce_ex__(self, proto):
|
|
193
|
+
return self.__class__, (self.name,)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
api_IngestStatus.__name__ = "IngestStatus"
|
|
197
|
+
api_IngestStatus.__qualname__ = "IngestStatus"
|
|
198
|
+
api_IngestStatus.__module__ = "nominal_api.api"
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
class api_IngestStatusV2(ConjureUnionType):
|
|
202
|
+
_success: Optional["api_SuccessResult"] = None
|
|
203
|
+
_error: Optional["api_ErrorResult"] = None
|
|
204
|
+
_in_progress: Optional["api_InProgressResult"] = None
|
|
205
|
+
|
|
206
|
+
@builtins.classmethod
|
|
207
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
208
|
+
return {
|
|
209
|
+
'success': ConjureFieldDefinition('success', api_SuccessResult),
|
|
210
|
+
'error': ConjureFieldDefinition('error', api_ErrorResult),
|
|
211
|
+
'in_progress': ConjureFieldDefinition('inProgress', api_InProgressResult)
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
def __init__(
|
|
215
|
+
self,
|
|
216
|
+
success: Optional["api_SuccessResult"] = None,
|
|
217
|
+
error: Optional["api_ErrorResult"] = None,
|
|
218
|
+
in_progress: Optional["api_InProgressResult"] = None,
|
|
219
|
+
type_of_union: Optional[str] = None
|
|
220
|
+
) -> None:
|
|
221
|
+
if type_of_union is None:
|
|
222
|
+
if (success is not None) + (error is not None) + (in_progress is not None) != 1:
|
|
223
|
+
raise ValueError('a union must contain a single member')
|
|
224
|
+
|
|
225
|
+
if success is not None:
|
|
226
|
+
self._success = success
|
|
227
|
+
self._type = 'success'
|
|
228
|
+
if error is not None:
|
|
229
|
+
self._error = error
|
|
230
|
+
self._type = 'error'
|
|
231
|
+
if in_progress is not None:
|
|
232
|
+
self._in_progress = in_progress
|
|
233
|
+
self._type = 'inProgress'
|
|
234
|
+
|
|
235
|
+
elif type_of_union == 'success':
|
|
236
|
+
if success is None:
|
|
237
|
+
raise ValueError('a union value must not be None')
|
|
238
|
+
self._success = success
|
|
239
|
+
self._type = 'success'
|
|
240
|
+
elif type_of_union == 'error':
|
|
241
|
+
if error is None:
|
|
242
|
+
raise ValueError('a union value must not be None')
|
|
243
|
+
self._error = error
|
|
244
|
+
self._type = 'error'
|
|
245
|
+
elif type_of_union == 'inProgress':
|
|
246
|
+
if in_progress is None:
|
|
247
|
+
raise ValueError('a union value must not be None')
|
|
248
|
+
self._in_progress = in_progress
|
|
249
|
+
self._type = 'inProgress'
|
|
250
|
+
|
|
251
|
+
@builtins.property
|
|
252
|
+
def success(self) -> Optional["api_SuccessResult"]:
|
|
253
|
+
return self._success
|
|
254
|
+
|
|
255
|
+
@builtins.property
|
|
256
|
+
def error(self) -> Optional["api_ErrorResult"]:
|
|
257
|
+
return self._error
|
|
258
|
+
|
|
259
|
+
@builtins.property
|
|
260
|
+
def in_progress(self) -> Optional["api_InProgressResult"]:
|
|
261
|
+
return self._in_progress
|
|
262
|
+
|
|
263
|
+
def accept(self, visitor) -> Any:
|
|
264
|
+
if not isinstance(visitor, api_IngestStatusV2Visitor):
|
|
265
|
+
raise ValueError('{} is not an instance of api_IngestStatusV2Visitor'.format(visitor.__class__.__name__))
|
|
266
|
+
if self._type == 'success' and self.success is not None:
|
|
267
|
+
return visitor._success(self.success)
|
|
268
|
+
if self._type == 'error' and self.error is not None:
|
|
269
|
+
return visitor._error(self.error)
|
|
270
|
+
if self._type == 'inProgress' and self.in_progress is not None:
|
|
271
|
+
return visitor._in_progress(self.in_progress)
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
api_IngestStatusV2.__name__ = "IngestStatusV2"
|
|
275
|
+
api_IngestStatusV2.__qualname__ = "IngestStatusV2"
|
|
276
|
+
api_IngestStatusV2.__module__ = "nominal_api.api"
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
class api_IngestStatusV2Visitor:
|
|
280
|
+
|
|
281
|
+
@abstractmethod
|
|
282
|
+
def _success(self, success: "api_SuccessResult") -> Any:
|
|
283
|
+
pass
|
|
284
|
+
|
|
285
|
+
@abstractmethod
|
|
286
|
+
def _error(self, error: "api_ErrorResult") -> Any:
|
|
287
|
+
pass
|
|
288
|
+
|
|
289
|
+
@abstractmethod
|
|
290
|
+
def _in_progress(self, in_progress: "api_InProgressResult") -> Any:
|
|
291
|
+
pass
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
api_IngestStatusV2Visitor.__name__ = "IngestStatusV2Visitor"
|
|
295
|
+
api_IngestStatusV2Visitor.__qualname__ = "IngestStatusV2Visitor"
|
|
296
|
+
api_IngestStatusV2Visitor.__module__ = "nominal_api.api"
|
|
297
|
+
|
|
298
|
+
|
|
136
299
|
class api_McapChannelLocator(ConjureUnionType):
|
|
137
300
|
"""Locator for a channel in an mcap file. Channel name is not guaranteed to be unique, so channel ID should
|
|
138
301
|
be used for mcap files with duplicate channel names."""
|
|
@@ -306,6 +469,22 @@ api_SeriesDataType.__qualname__ = "SeriesDataType"
|
|
|
306
469
|
api_SeriesDataType.__module__ = "nominal_api.api"
|
|
307
470
|
|
|
308
471
|
|
|
472
|
+
class api_SuccessResult(ConjureBeanType):
|
|
473
|
+
|
|
474
|
+
@builtins.classmethod
|
|
475
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
476
|
+
return {
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
__slots__: List[str] = []
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
api_SuccessResult.__name__ = "SuccessResult"
|
|
484
|
+
api_SuccessResult.__qualname__ = "SuccessResult"
|
|
485
|
+
api_SuccessResult.__module__ = "nominal_api.api"
|
|
486
|
+
|
|
487
|
+
|
|
309
488
|
class api_TimeUnit(ConjureEnumType):
|
|
310
489
|
|
|
311
490
|
DAYS = 'DAYS'
|
|
@@ -1710,7 +1889,7 @@ class authentication_api_SearchUsersRequest(ConjureBeanType):
|
|
|
1710
1889
|
return {
|
|
1711
1890
|
'query': ConjureFieldDefinition('query', authentication_api_SearchUsersQuery),
|
|
1712
1891
|
'sort_by': ConjureFieldDefinition('sortBy', OptionalTypeWrapper[authentication_api_SortBy]),
|
|
1713
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
1892
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
1714
1893
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
1715
1894
|
}
|
|
1716
1895
|
|
|
@@ -1756,7 +1935,7 @@ class authentication_api_SearchUsersResponseV2(ConjureBeanType):
|
|
|
1756
1935
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
1757
1936
|
return {
|
|
1758
1937
|
'results': ConjureFieldDefinition('results', List[authentication_api_UserV2]),
|
|
1759
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
1938
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
1760
1939
|
}
|
|
1761
1940
|
|
|
1762
1941
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -2599,7 +2778,7 @@ class authorization_ListApiKeyRequest(ConjureBeanType):
|
|
|
2599
2778
|
'include_deleted': ConjureFieldDefinition('includeDeleted', OptionalTypeWrapper[bool]),
|
|
2600
2779
|
'include_expired': ConjureFieldDefinition('includeExpired', OptionalTypeWrapper[bool]),
|
|
2601
2780
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
2602
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
2781
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
2603
2782
|
}
|
|
2604
2783
|
|
|
2605
2784
|
__slots__: List[str] = ['_include_deleted', '_include_expired', '_page_size', '_next_page_token']
|
|
@@ -2647,7 +2826,7 @@ class authorization_ListApiKeyResponse(ConjureBeanType):
|
|
|
2647
2826
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
2648
2827
|
return {
|
|
2649
2828
|
'api_keys': ConjureFieldDefinition('apiKeys', List[authorization_ApiKey]),
|
|
2650
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
2829
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
2651
2830
|
}
|
|
2652
2831
|
|
|
2653
2832
|
__slots__: List[str] = ['_api_keys', '_next_page_token']
|
|
@@ -4166,7 +4345,7 @@ class datasource_api_SearchChannelsRequest(ConjureBeanType):
|
|
|
4166
4345
|
'exact_match': ConjureFieldDefinition('exactMatch', List[str]),
|
|
4167
4346
|
'data_sources': ConjureFieldDefinition('dataSources', List[api_rids_DataSourceRid]),
|
|
4168
4347
|
'previously_selected_channels': ConjureFieldDefinition('previouslySelectedChannels', OptionalTypeWrapper[Dict[api_rids_DataSourceRid, List[api_Channel]]]),
|
|
4169
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
4348
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
4170
4349
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
4171
4350
|
}
|
|
4172
4351
|
|
|
@@ -4227,7 +4406,7 @@ class datasource_api_SearchChannelsResponse(ConjureBeanType):
|
|
|
4227
4406
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
4228
4407
|
return {
|
|
4229
4408
|
'results': ConjureFieldDefinition('results', List[datasource_api_ChannelMetadata]),
|
|
4230
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
4409
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
4231
4410
|
}
|
|
4232
4411
|
|
|
4233
4412
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -5062,7 +5241,7 @@ class datasource_logset_api_SearchLogSetsRequest(ConjureBeanType):
|
|
|
5062
5241
|
@builtins.classmethod
|
|
5063
5242
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5064
5243
|
return {
|
|
5065
|
-
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[
|
|
5244
|
+
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[api_Token]),
|
|
5066
5245
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
5067
5246
|
}
|
|
5068
5247
|
|
|
@@ -5095,7 +5274,7 @@ class datasource_logset_api_SearchLogSetsResponse(ConjureBeanType):
|
|
|
5095
5274
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5096
5275
|
return {
|
|
5097
5276
|
'values': ConjureFieldDefinition('values', List[datasource_logset_api_LogSetMetadata]),
|
|
5098
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
5277
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
5099
5278
|
}
|
|
5100
5279
|
|
|
5101
5280
|
__slots__: List[str] = ['_values', '_next_page_token']
|
|
@@ -5123,7 +5302,7 @@ class datasource_logset_api_SearchLogsRequest(ConjureBeanType):
|
|
|
5123
5302
|
@builtins.classmethod
|
|
5124
5303
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5125
5304
|
return {
|
|
5126
|
-
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[
|
|
5305
|
+
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[api_Token]),
|
|
5127
5306
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
5128
5307
|
}
|
|
5129
5308
|
|
|
@@ -5156,7 +5335,7 @@ class datasource_logset_api_SearchLogsResponse(ConjureBeanType):
|
|
|
5156
5335
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5157
5336
|
return {
|
|
5158
5337
|
'logs': ConjureFieldDefinition('logs', List[datasource_logset_api_Log]),
|
|
5159
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
5338
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
5160
5339
|
}
|
|
5161
5340
|
|
|
5162
5341
|
__slots__: List[str] = ['_logs', '_next_page_token']
|
|
@@ -5765,7 +5944,7 @@ class event_SearchEventsRequest(ConjureBeanType):
|
|
|
5765
5944
|
return {
|
|
5766
5945
|
'sort': ConjureFieldDefinition('sort', event_SortOptions),
|
|
5767
5946
|
'page_size': ConjureFieldDefinition('pageSize', int),
|
|
5768
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
5947
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
5769
5948
|
'query': ConjureFieldDefinition('query', event_SearchQuery),
|
|
5770
5949
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
5771
5950
|
}
|
|
@@ -5817,7 +5996,7 @@ class event_SearchEventsResponse(ConjureBeanType):
|
|
|
5817
5996
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5818
5997
|
return {
|
|
5819
5998
|
'results': ConjureFieldDefinition('results', List[event_Event]),
|
|
5820
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
5999
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
5821
6000
|
}
|
|
5822
6001
|
|
|
5823
6002
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -6801,35 +6980,6 @@ ingest_api_EpochTimestamp.__qualname__ = "EpochTimestamp"
|
|
|
6801
6980
|
ingest_api_EpochTimestamp.__module__ = "nominal_api.ingest_api"
|
|
6802
6981
|
|
|
6803
6982
|
|
|
6804
|
-
class ingest_api_ErrorResult(ConjureBeanType):
|
|
6805
|
-
|
|
6806
|
-
@builtins.classmethod
|
|
6807
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
6808
|
-
return {
|
|
6809
|
-
'error_type': ConjureFieldDefinition('errorType', ingest_api_ErrorType),
|
|
6810
|
-
'message': ConjureFieldDefinition('message', str)
|
|
6811
|
-
}
|
|
6812
|
-
|
|
6813
|
-
__slots__: List[str] = ['_error_type', '_message']
|
|
6814
|
-
|
|
6815
|
-
def __init__(self, error_type: str, message: str) -> None:
|
|
6816
|
-
self._error_type = error_type
|
|
6817
|
-
self._message = message
|
|
6818
|
-
|
|
6819
|
-
@builtins.property
|
|
6820
|
-
def error_type(self) -> str:
|
|
6821
|
-
return self._error_type
|
|
6822
|
-
|
|
6823
|
-
@builtins.property
|
|
6824
|
-
def message(self) -> str:
|
|
6825
|
-
return self._message
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
ingest_api_ErrorResult.__name__ = "ErrorResult"
|
|
6829
|
-
ingest_api_ErrorResult.__qualname__ = "ErrorResult"
|
|
6830
|
-
ingest_api_ErrorResult.__module__ = "nominal_api.ingest_api"
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
6983
|
class ingest_api_ExistingDatasetIngestDestination(ConjureBeanType):
|
|
6834
6984
|
|
|
6835
6985
|
@builtins.classmethod
|
|
@@ -6876,22 +7026,6 @@ ingest_api_GcsIngestSource.__qualname__ = "GcsIngestSource"
|
|
|
6876
7026
|
ingest_api_GcsIngestSource.__module__ = "nominal_api.ingest_api"
|
|
6877
7027
|
|
|
6878
7028
|
|
|
6879
|
-
class ingest_api_InProgressResult(ConjureBeanType):
|
|
6880
|
-
|
|
6881
|
-
@builtins.classmethod
|
|
6882
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
6883
|
-
return {
|
|
6884
|
-
}
|
|
6885
|
-
|
|
6886
|
-
__slots__: List[str] = []
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
ingest_api_InProgressResult.__name__ = "InProgressResult"
|
|
6891
|
-
ingest_api_InProgressResult.__qualname__ = "InProgressResult"
|
|
6892
|
-
ingest_api_InProgressResult.__module__ = "nominal_api.ingest_api"
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
7029
|
class ingest_api_IngestDataSource(ConjureUnionType):
|
|
6896
7030
|
_existing_data_source: Optional[str] = None
|
|
6897
7031
|
_new_data_source: Optional["ingest_api_DeprecatedNewDataSource"] = None
|
|
@@ -7379,13 +7513,13 @@ class ingest_api_IngestProgressV2(ConjureBeanType):
|
|
|
7379
7513
|
return {
|
|
7380
7514
|
'start_time': ConjureFieldDefinition('startTime', str),
|
|
7381
7515
|
'end_time': ConjureFieldDefinition('endTime', OptionalTypeWrapper[str]),
|
|
7382
|
-
'ingest_status': ConjureFieldDefinition('ingestStatus',
|
|
7516
|
+
'ingest_status': ConjureFieldDefinition('ingestStatus', api_IngestStatusV2),
|
|
7383
7517
|
'incalculable': ConjureFieldDefinition('incalculable', OptionalTypeWrapper[bool])
|
|
7384
7518
|
}
|
|
7385
7519
|
|
|
7386
7520
|
__slots__: List[str] = ['_start_time', '_end_time', '_ingest_status', '_incalculable']
|
|
7387
7521
|
|
|
7388
|
-
def __init__(self, ingest_status: "
|
|
7522
|
+
def __init__(self, ingest_status: "api_IngestStatusV2", start_time: str, end_time: Optional[str] = None, incalculable: Optional[bool] = None) -> None:
|
|
7389
7523
|
self._start_time = start_time
|
|
7390
7524
|
self._end_time = end_time
|
|
7391
7525
|
self._ingest_status = ingest_status
|
|
@@ -7406,7 +7540,7 @@ class ingest_api_IngestProgressV2(ConjureBeanType):
|
|
|
7406
7540
|
return self._end_time
|
|
7407
7541
|
|
|
7408
7542
|
@builtins.property
|
|
7409
|
-
def ingest_status(self) -> "
|
|
7543
|
+
def ingest_status(self) -> "api_IngestStatusV2":
|
|
7410
7544
|
"""
|
|
7411
7545
|
Status of ingest, contains error if failed
|
|
7412
7546
|
"""
|
|
@@ -7957,104 +8091,6 @@ ingest_api_IngestStatus.__qualname__ = "IngestStatus"
|
|
|
7957
8091
|
ingest_api_IngestStatus.__module__ = "nominal_api.ingest_api"
|
|
7958
8092
|
|
|
7959
8093
|
|
|
7960
|
-
class ingest_api_IngestStatusV2(ConjureUnionType):
|
|
7961
|
-
_success: Optional["ingest_api_SuccessResult"] = None
|
|
7962
|
-
_error: Optional["ingest_api_ErrorResult"] = None
|
|
7963
|
-
_in_progress: Optional["ingest_api_InProgressResult"] = None
|
|
7964
|
-
|
|
7965
|
-
@builtins.classmethod
|
|
7966
|
-
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
7967
|
-
return {
|
|
7968
|
-
'success': ConjureFieldDefinition('success', ingest_api_SuccessResult),
|
|
7969
|
-
'error': ConjureFieldDefinition('error', ingest_api_ErrorResult),
|
|
7970
|
-
'in_progress': ConjureFieldDefinition('inProgress', ingest_api_InProgressResult)
|
|
7971
|
-
}
|
|
7972
|
-
|
|
7973
|
-
def __init__(
|
|
7974
|
-
self,
|
|
7975
|
-
success: Optional["ingest_api_SuccessResult"] = None,
|
|
7976
|
-
error: Optional["ingest_api_ErrorResult"] = None,
|
|
7977
|
-
in_progress: Optional["ingest_api_InProgressResult"] = None,
|
|
7978
|
-
type_of_union: Optional[str] = None
|
|
7979
|
-
) -> None:
|
|
7980
|
-
if type_of_union is None:
|
|
7981
|
-
if (success is not None) + (error is not None) + (in_progress is not None) != 1:
|
|
7982
|
-
raise ValueError('a union must contain a single member')
|
|
7983
|
-
|
|
7984
|
-
if success is not None:
|
|
7985
|
-
self._success = success
|
|
7986
|
-
self._type = 'success'
|
|
7987
|
-
if error is not None:
|
|
7988
|
-
self._error = error
|
|
7989
|
-
self._type = 'error'
|
|
7990
|
-
if in_progress is not None:
|
|
7991
|
-
self._in_progress = in_progress
|
|
7992
|
-
self._type = 'inProgress'
|
|
7993
|
-
|
|
7994
|
-
elif type_of_union == 'success':
|
|
7995
|
-
if success is None:
|
|
7996
|
-
raise ValueError('a union value must not be None')
|
|
7997
|
-
self._success = success
|
|
7998
|
-
self._type = 'success'
|
|
7999
|
-
elif type_of_union == 'error':
|
|
8000
|
-
if error is None:
|
|
8001
|
-
raise ValueError('a union value must not be None')
|
|
8002
|
-
self._error = error
|
|
8003
|
-
self._type = 'error'
|
|
8004
|
-
elif type_of_union == 'inProgress':
|
|
8005
|
-
if in_progress is None:
|
|
8006
|
-
raise ValueError('a union value must not be None')
|
|
8007
|
-
self._in_progress = in_progress
|
|
8008
|
-
self._type = 'inProgress'
|
|
8009
|
-
|
|
8010
|
-
@builtins.property
|
|
8011
|
-
def success(self) -> Optional["ingest_api_SuccessResult"]:
|
|
8012
|
-
return self._success
|
|
8013
|
-
|
|
8014
|
-
@builtins.property
|
|
8015
|
-
def error(self) -> Optional["ingest_api_ErrorResult"]:
|
|
8016
|
-
return self._error
|
|
8017
|
-
|
|
8018
|
-
@builtins.property
|
|
8019
|
-
def in_progress(self) -> Optional["ingest_api_InProgressResult"]:
|
|
8020
|
-
return self._in_progress
|
|
8021
|
-
|
|
8022
|
-
def accept(self, visitor) -> Any:
|
|
8023
|
-
if not isinstance(visitor, ingest_api_IngestStatusV2Visitor):
|
|
8024
|
-
raise ValueError('{} is not an instance of ingest_api_IngestStatusV2Visitor'.format(visitor.__class__.__name__))
|
|
8025
|
-
if self._type == 'success' and self.success is not None:
|
|
8026
|
-
return visitor._success(self.success)
|
|
8027
|
-
if self._type == 'error' and self.error is not None:
|
|
8028
|
-
return visitor._error(self.error)
|
|
8029
|
-
if self._type == 'inProgress' and self.in_progress is not None:
|
|
8030
|
-
return visitor._in_progress(self.in_progress)
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
ingest_api_IngestStatusV2.__name__ = "IngestStatusV2"
|
|
8034
|
-
ingest_api_IngestStatusV2.__qualname__ = "IngestStatusV2"
|
|
8035
|
-
ingest_api_IngestStatusV2.__module__ = "nominal_api.ingest_api"
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
class ingest_api_IngestStatusV2Visitor:
|
|
8039
|
-
|
|
8040
|
-
@abstractmethod
|
|
8041
|
-
def _success(self, success: "ingest_api_SuccessResult") -> Any:
|
|
8042
|
-
pass
|
|
8043
|
-
|
|
8044
|
-
@abstractmethod
|
|
8045
|
-
def _error(self, error: "ingest_api_ErrorResult") -> Any:
|
|
8046
|
-
pass
|
|
8047
|
-
|
|
8048
|
-
@abstractmethod
|
|
8049
|
-
def _in_progress(self, in_progress: "ingest_api_InProgressResult") -> Any:
|
|
8050
|
-
pass
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
ingest_api_IngestStatusV2Visitor.__name__ = "IngestStatusV2Visitor"
|
|
8054
|
-
ingest_api_IngestStatusV2Visitor.__qualname__ = "IngestStatusV2Visitor"
|
|
8055
|
-
ingest_api_IngestStatusV2Visitor.__module__ = "nominal_api.ingest_api"
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
8094
|
class ingest_api_IngestVideoDestination(ConjureUnionType):
|
|
8059
8095
|
_new_video: Optional["ingest_api_NewVideoIngestDestination"] = None
|
|
8060
8096
|
|
|
@@ -9287,22 +9323,6 @@ ingest_api_SkipRowsConfig.__qualname__ = "SkipRowsConfig"
|
|
|
9287
9323
|
ingest_api_SkipRowsConfig.__module__ = "nominal_api.ingest_api"
|
|
9288
9324
|
|
|
9289
9325
|
|
|
9290
|
-
class ingest_api_SuccessResult(ConjureBeanType):
|
|
9291
|
-
|
|
9292
|
-
@builtins.classmethod
|
|
9293
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
9294
|
-
return {
|
|
9295
|
-
}
|
|
9296
|
-
|
|
9297
|
-
__slots__: List[str] = []
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
ingest_api_SuccessResult.__name__ = "SuccessResult"
|
|
9302
|
-
ingest_api_SuccessResult.__qualname__ = "SuccessResult"
|
|
9303
|
-
ingest_api_SuccessResult.__module__ = "nominal_api.ingest_api"
|
|
9304
|
-
|
|
9305
|
-
|
|
9306
9326
|
class ingest_api_TimeOffsetSpec(ConjureUnionType):
|
|
9307
9327
|
_nanos: Optional["scout_run_api_Duration"] = None
|
|
9308
9328
|
|
|
@@ -12436,7 +12456,7 @@ class scout_asset_api_SearchAssetChannelsRequest(ConjureBeanType):
|
|
|
12436
12456
|
return {
|
|
12437
12457
|
'search_text': ConjureFieldDefinition('searchText', str),
|
|
12438
12458
|
'data_scope_name_filter': ConjureFieldDefinition('dataScopeNameFilter', OptionalTypeWrapper[List[scout_asset_api_DataScopeName]]),
|
|
12439
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12459
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
12440
12460
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
12441
12461
|
}
|
|
12442
12462
|
|
|
@@ -12482,7 +12502,7 @@ class scout_asset_api_SearchAssetChannelsResponse(ConjureBeanType):
|
|
|
12482
12502
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12483
12503
|
return {
|
|
12484
12504
|
'results': ConjureFieldDefinition('results', List[scout_asset_api_ChannelMetadata]),
|
|
12485
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12505
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
12486
12506
|
}
|
|
12487
12507
|
|
|
12488
12508
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -12694,7 +12714,7 @@ class scout_asset_api_SearchAssetsRequest(ConjureBeanType):
|
|
|
12694
12714
|
return {
|
|
12695
12715
|
'sort': ConjureFieldDefinition('sort', scout_asset_api_SortOptions),
|
|
12696
12716
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
12697
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12717
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
12698
12718
|
'query': ConjureFieldDefinition('query', scout_asset_api_SearchAssetsQuery),
|
|
12699
12719
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
12700
12720
|
}
|
|
@@ -12746,7 +12766,7 @@ class scout_asset_api_SearchAssetsResponse(ConjureBeanType):
|
|
|
12746
12766
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12747
12767
|
return {
|
|
12748
12768
|
'results': ConjureFieldDefinition('results', List[scout_asset_api_Asset]),
|
|
12749
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12769
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
12750
12770
|
}
|
|
12751
12771
|
|
|
12752
12772
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -12895,7 +12915,7 @@ class scout_asset_api_SearchTypesRequest(ConjureBeanType):
|
|
|
12895
12915
|
return {
|
|
12896
12916
|
'sort': ConjureFieldDefinition('sort', scout_asset_api_SortOptions),
|
|
12897
12917
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
12898
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12918
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
12899
12919
|
'query': ConjureFieldDefinition('query', scout_asset_api_SearchTypesQuery),
|
|
12900
12920
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
12901
12921
|
}
|
|
@@ -12947,7 +12967,7 @@ class scout_asset_api_SearchTypesResponse(ConjureBeanType):
|
|
|
12947
12967
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12948
12968
|
return {
|
|
12949
12969
|
'results': ConjureFieldDefinition('results', List[scout_asset_api_Type]),
|
|
12950
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
12970
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
12951
12971
|
}
|
|
12952
12972
|
|
|
12953
12973
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -14159,7 +14179,7 @@ a file, primarily CSV.
|
|
|
14159
14179
|
_decoder = ConjureDecoder()
|
|
14160
14180
|
return _decoder.decode(_response.json(), scout_catalog_SearchDatasetsResponse, self._return_none_for_unknown_union_types)
|
|
14161
14181
|
|
|
14162
|
-
def update_dataset_ingest_status_v2(self, auth_header: str, details: "scout_catalog_UpdateIngestStatusV2") -> "
|
|
14182
|
+
def update_dataset_ingest_status_v2(self, auth_header: str, details: "scout_catalog_UpdateIngestStatusV2") -> "api_IngestStatusV2":
|
|
14163
14183
|
|
|
14164
14184
|
_headers: Dict[str, Any] = {
|
|
14165
14185
|
'Accept': 'application/json',
|
|
@@ -14186,7 +14206,7 @@ a file, primarily CSV.
|
|
|
14186
14206
|
json=_json)
|
|
14187
14207
|
|
|
14188
14208
|
_decoder = ConjureDecoder()
|
|
14189
|
-
return _decoder.decode(_response.json(),
|
|
14209
|
+
return _decoder.decode(_response.json(), api_IngestStatusV2, self._return_none_for_unknown_union_types)
|
|
14190
14210
|
|
|
14191
14211
|
def get_ingest_progress_v2(self, auth_header: str, dataset_rid: str) -> "scout_catalog_IngestProgressV2":
|
|
14192
14212
|
|
|
@@ -14986,13 +15006,13 @@ class scout_catalog_DatasetFile(ConjureBeanType):
|
|
|
14986
15006
|
'bounds': ConjureFieldDefinition('bounds', OptionalTypeWrapper[scout_catalog_Bounds]),
|
|
14987
15007
|
'uploaded_at': ConjureFieldDefinition('uploadedAt', str),
|
|
14988
15008
|
'ingested_at': ConjureFieldDefinition('ingestedAt', OptionalTypeWrapper[str]),
|
|
14989
|
-
'ingest_status': ConjureFieldDefinition('ingestStatus',
|
|
15009
|
+
'ingest_status': ConjureFieldDefinition('ingestStatus', api_IngestStatusV2),
|
|
14990
15010
|
'timestamp_metadata': ConjureFieldDefinition('timestampMetadata', OptionalTypeWrapper[scout_catalog_TimestampMetadata])
|
|
14991
15011
|
}
|
|
14992
15012
|
|
|
14993
15013
|
__slots__: List[str] = ['_id', '_dataset_rid', '_name', '_handle', '_bounds', '_uploaded_at', '_ingested_at', '_ingest_status', '_timestamp_metadata']
|
|
14994
15014
|
|
|
14995
|
-
def __init__(self, dataset_rid: str, handle: "scout_catalog_Handle", id: str, ingest_status: "
|
|
15015
|
+
def __init__(self, dataset_rid: str, handle: "scout_catalog_Handle", id: str, ingest_status: "api_IngestStatusV2", name: str, uploaded_at: str, bounds: Optional["scout_catalog_Bounds"] = None, ingested_at: Optional[str] = None, timestamp_metadata: Optional["scout_catalog_TimestampMetadata"] = None) -> None:
|
|
14996
15016
|
self._id = id
|
|
14997
15017
|
self._dataset_rid = dataset_rid
|
|
14998
15018
|
self._name = name
|
|
@@ -15039,7 +15059,7 @@ ingested for any reason or is still being processed, then this value will be emp
|
|
|
15039
15059
|
return self._ingested_at
|
|
15040
15060
|
|
|
15041
15061
|
@builtins.property
|
|
15042
|
-
def ingest_status(self) -> "
|
|
15062
|
+
def ingest_status(self) -> "api_IngestStatusV2":
|
|
15043
15063
|
return self._ingest_status
|
|
15044
15064
|
|
|
15045
15065
|
@builtins.property
|
|
@@ -15085,7 +15105,7 @@ class scout_catalog_DatasetFilesPage(ConjureBeanType):
|
|
|
15085
15105
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15086
15106
|
return {
|
|
15087
15107
|
'files': ConjureFieldDefinition('files', List[scout_catalog_DatasetFile]),
|
|
15088
|
-
'next_page': ConjureFieldDefinition('nextPage', OptionalTypeWrapper[
|
|
15108
|
+
'next_page': ConjureFieldDefinition('nextPage', OptionalTypeWrapper[api_Token])
|
|
15089
15109
|
}
|
|
15090
15110
|
|
|
15091
15111
|
__slots__: List[str] = ['_files', '_next_page']
|
|
@@ -15252,7 +15272,7 @@ class scout_catalog_EnrichedDataset(ConjureBeanType):
|
|
|
15252
15272
|
'ingest_date': ConjureFieldDefinition('ingestDate', str),
|
|
15253
15273
|
'ingest_status': ConjureFieldDefinition('ingestStatus', OptionalTypeWrapper[scout_catalog_IngestStatus]),
|
|
15254
15274
|
'origin_metadata': ConjureFieldDefinition('originMetadata', scout_catalog_DatasetOriginMetadata),
|
|
15255
|
-
'last_ingest_status': ConjureFieldDefinition('lastIngestStatus',
|
|
15275
|
+
'last_ingest_status': ConjureFieldDefinition('lastIngestStatus', api_IngestStatusV2),
|
|
15256
15276
|
'retention_policy': ConjureFieldDefinition('retentionPolicy', scout_catalog_RetentionPolicy),
|
|
15257
15277
|
'source': ConjureFieldDefinition('source', OptionalTypeWrapper[str]),
|
|
15258
15278
|
'bounds': ConjureFieldDefinition('bounds', OptionalTypeWrapper[scout_catalog_Bounds]),
|
|
@@ -15264,7 +15284,7 @@ class scout_catalog_EnrichedDataset(ConjureBeanType):
|
|
|
15264
15284
|
|
|
15265
15285
|
__slots__: List[str] = ['_rid', '_uuid', '_name', '_description', '_display_name', '_metadata', '_handle', '_ingest_date', '_ingest_status', '_origin_metadata', '_last_ingest_status', '_retention_policy', '_source', '_bounds', '_timestamp_type', '_labels', '_properties', '_granularity']
|
|
15266
15286
|
|
|
15267
|
-
def __init__(self, display_name: str, granularity: "api_Granularity", ingest_date: str, labels: List[str], last_ingest_status: "
|
|
15287
|
+
def __init__(self, display_name: str, granularity: "api_Granularity", ingest_date: str, labels: List[str], last_ingest_status: "api_IngestStatusV2", name: str, origin_metadata: "scout_catalog_DatasetOriginMetadata", properties: Dict[str, str], retention_policy: "scout_catalog_RetentionPolicy", rid: str, timestamp_type: "scout_catalog_WeakTimestampType", uuid: str, bounds: Optional["scout_catalog_Bounds"] = None, description: Optional[str] = None, handle: Optional["scout_catalog_Handle"] = None, ingest_status: Optional["scout_catalog_IngestStatus"] = None, metadata: Optional[Dict[str, str]] = None, source: Optional[str] = None) -> None:
|
|
15268
15288
|
self._rid = rid
|
|
15269
15289
|
self._uuid = uuid
|
|
15270
15290
|
self._name = name
|
|
@@ -15325,7 +15345,7 @@ class scout_catalog_EnrichedDataset(ConjureBeanType):
|
|
|
15325
15345
|
return self._origin_metadata
|
|
15326
15346
|
|
|
15327
15347
|
@builtins.property
|
|
15328
|
-
def last_ingest_status(self) -> "
|
|
15348
|
+
def last_ingest_status(self) -> "api_IngestStatusV2":
|
|
15329
15349
|
return self._last_ingest_status
|
|
15330
15350
|
|
|
15331
15351
|
@builtins.property
|
|
@@ -15385,35 +15405,6 @@ scout_catalog_EpochTimestamp.__qualname__ = "EpochTimestamp"
|
|
|
15385
15405
|
scout_catalog_EpochTimestamp.__module__ = "nominal_api.scout_catalog"
|
|
15386
15406
|
|
|
15387
15407
|
|
|
15388
|
-
class scout_catalog_ErrorResult(ConjureBeanType):
|
|
15389
|
-
|
|
15390
|
-
@builtins.classmethod
|
|
15391
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15392
|
-
return {
|
|
15393
|
-
'error_type': ConjureFieldDefinition('errorType', scout_catalog_ErrorType),
|
|
15394
|
-
'message': ConjureFieldDefinition('message', str)
|
|
15395
|
-
}
|
|
15396
|
-
|
|
15397
|
-
__slots__: List[str] = ['_error_type', '_message']
|
|
15398
|
-
|
|
15399
|
-
def __init__(self, error_type: str, message: str) -> None:
|
|
15400
|
-
self._error_type = error_type
|
|
15401
|
-
self._message = message
|
|
15402
|
-
|
|
15403
|
-
@builtins.property
|
|
15404
|
-
def error_type(self) -> str:
|
|
15405
|
-
return self._error_type
|
|
15406
|
-
|
|
15407
|
-
@builtins.property
|
|
15408
|
-
def message(self) -> str:
|
|
15409
|
-
return self._message
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
scout_catalog_ErrorResult.__name__ = "ErrorResult"
|
|
15413
|
-
scout_catalog_ErrorResult.__qualname__ = "ErrorResult"
|
|
15414
|
-
scout_catalog_ErrorResult.__module__ = "nominal_api.scout_catalog"
|
|
15415
|
-
|
|
15416
|
-
|
|
15417
15408
|
class scout_catalog_GetChannelsForDatasetsRequest(ConjureBeanType):
|
|
15418
15409
|
|
|
15419
15410
|
@builtins.classmethod
|
|
@@ -15691,22 +15682,6 @@ scout_catalog_HandleVisitor.__qualname__ = "HandleVisitor"
|
|
|
15691
15682
|
scout_catalog_HandleVisitor.__module__ = "nominal_api.scout_catalog"
|
|
15692
15683
|
|
|
15693
15684
|
|
|
15694
|
-
class scout_catalog_InProgressResult(ConjureBeanType):
|
|
15695
|
-
|
|
15696
|
-
@builtins.classmethod
|
|
15697
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15698
|
-
return {
|
|
15699
|
-
}
|
|
15700
|
-
|
|
15701
|
-
__slots__: List[str] = []
|
|
15702
|
-
|
|
15703
|
-
|
|
15704
|
-
|
|
15705
|
-
scout_catalog_InProgressResult.__name__ = "InProgressResult"
|
|
15706
|
-
scout_catalog_InProgressResult.__qualname__ = "InProgressResult"
|
|
15707
|
-
scout_catalog_InProgressResult.__module__ = "nominal_api.scout_catalog"
|
|
15708
|
-
|
|
15709
|
-
|
|
15710
15685
|
class scout_catalog_IngestProgressV2(ConjureBeanType):
|
|
15711
15686
|
|
|
15712
15687
|
@builtins.classmethod
|
|
@@ -15714,13 +15689,13 @@ class scout_catalog_IngestProgressV2(ConjureBeanType):
|
|
|
15714
15689
|
return {
|
|
15715
15690
|
'start_time': ConjureFieldDefinition('startTime', str),
|
|
15716
15691
|
'end_time': ConjureFieldDefinition('endTime', OptionalTypeWrapper[str]),
|
|
15717
|
-
'ingest_status': ConjureFieldDefinition('ingestStatus',
|
|
15692
|
+
'ingest_status': ConjureFieldDefinition('ingestStatus', api_IngestStatusV2),
|
|
15718
15693
|
'incalculable': ConjureFieldDefinition('incalculable', OptionalTypeWrapper[bool])
|
|
15719
15694
|
}
|
|
15720
15695
|
|
|
15721
15696
|
__slots__: List[str] = ['_start_time', '_end_time', '_ingest_status', '_incalculable']
|
|
15722
15697
|
|
|
15723
|
-
def __init__(self, ingest_status: "
|
|
15698
|
+
def __init__(self, ingest_status: "api_IngestStatusV2", start_time: str, end_time: Optional[str] = None, incalculable: Optional[bool] = None) -> None:
|
|
15724
15699
|
self._start_time = start_time
|
|
15725
15700
|
self._end_time = end_time
|
|
15726
15701
|
self._ingest_status = ingest_status
|
|
@@ -15741,7 +15716,7 @@ class scout_catalog_IngestProgressV2(ConjureBeanType):
|
|
|
15741
15716
|
return self._end_time
|
|
15742
15717
|
|
|
15743
15718
|
@builtins.property
|
|
15744
|
-
def ingest_status(self) -> "
|
|
15719
|
+
def ingest_status(self) -> "api_IngestStatusV2":
|
|
15745
15720
|
"""
|
|
15746
15721
|
Status of ingest, contains error if failed
|
|
15747
15722
|
"""
|
|
@@ -15780,104 +15755,6 @@ scout_catalog_IngestStatus.__qualname__ = "IngestStatus"
|
|
|
15780
15755
|
scout_catalog_IngestStatus.__module__ = "nominal_api.scout_catalog"
|
|
15781
15756
|
|
|
15782
15757
|
|
|
15783
|
-
class scout_catalog_IngestStatusV2(ConjureUnionType):
|
|
15784
|
-
_success: Optional["scout_catalog_SuccessResult"] = None
|
|
15785
|
-
_error: Optional["scout_catalog_ErrorResult"] = None
|
|
15786
|
-
_in_progress: Optional["scout_catalog_InProgressResult"] = None
|
|
15787
|
-
|
|
15788
|
-
@builtins.classmethod
|
|
15789
|
-
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15790
|
-
return {
|
|
15791
|
-
'success': ConjureFieldDefinition('success', scout_catalog_SuccessResult),
|
|
15792
|
-
'error': ConjureFieldDefinition('error', scout_catalog_ErrorResult),
|
|
15793
|
-
'in_progress': ConjureFieldDefinition('inProgress', scout_catalog_InProgressResult)
|
|
15794
|
-
}
|
|
15795
|
-
|
|
15796
|
-
def __init__(
|
|
15797
|
-
self,
|
|
15798
|
-
success: Optional["scout_catalog_SuccessResult"] = None,
|
|
15799
|
-
error: Optional["scout_catalog_ErrorResult"] = None,
|
|
15800
|
-
in_progress: Optional["scout_catalog_InProgressResult"] = None,
|
|
15801
|
-
type_of_union: Optional[str] = None
|
|
15802
|
-
) -> None:
|
|
15803
|
-
if type_of_union is None:
|
|
15804
|
-
if (success is not None) + (error is not None) + (in_progress is not None) != 1:
|
|
15805
|
-
raise ValueError('a union must contain a single member')
|
|
15806
|
-
|
|
15807
|
-
if success is not None:
|
|
15808
|
-
self._success = success
|
|
15809
|
-
self._type = 'success'
|
|
15810
|
-
if error is not None:
|
|
15811
|
-
self._error = error
|
|
15812
|
-
self._type = 'error'
|
|
15813
|
-
if in_progress is not None:
|
|
15814
|
-
self._in_progress = in_progress
|
|
15815
|
-
self._type = 'inProgress'
|
|
15816
|
-
|
|
15817
|
-
elif type_of_union == 'success':
|
|
15818
|
-
if success is None:
|
|
15819
|
-
raise ValueError('a union value must not be None')
|
|
15820
|
-
self._success = success
|
|
15821
|
-
self._type = 'success'
|
|
15822
|
-
elif type_of_union == 'error':
|
|
15823
|
-
if error is None:
|
|
15824
|
-
raise ValueError('a union value must not be None')
|
|
15825
|
-
self._error = error
|
|
15826
|
-
self._type = 'error'
|
|
15827
|
-
elif type_of_union == 'inProgress':
|
|
15828
|
-
if in_progress is None:
|
|
15829
|
-
raise ValueError('a union value must not be None')
|
|
15830
|
-
self._in_progress = in_progress
|
|
15831
|
-
self._type = 'inProgress'
|
|
15832
|
-
|
|
15833
|
-
@builtins.property
|
|
15834
|
-
def success(self) -> Optional["scout_catalog_SuccessResult"]:
|
|
15835
|
-
return self._success
|
|
15836
|
-
|
|
15837
|
-
@builtins.property
|
|
15838
|
-
def error(self) -> Optional["scout_catalog_ErrorResult"]:
|
|
15839
|
-
return self._error
|
|
15840
|
-
|
|
15841
|
-
@builtins.property
|
|
15842
|
-
def in_progress(self) -> Optional["scout_catalog_InProgressResult"]:
|
|
15843
|
-
return self._in_progress
|
|
15844
|
-
|
|
15845
|
-
def accept(self, visitor) -> Any:
|
|
15846
|
-
if not isinstance(visitor, scout_catalog_IngestStatusV2Visitor):
|
|
15847
|
-
raise ValueError('{} is not an instance of scout_catalog_IngestStatusV2Visitor'.format(visitor.__class__.__name__))
|
|
15848
|
-
if self._type == 'success' and self.success is not None:
|
|
15849
|
-
return visitor._success(self.success)
|
|
15850
|
-
if self._type == 'error' and self.error is not None:
|
|
15851
|
-
return visitor._error(self.error)
|
|
15852
|
-
if self._type == 'inProgress' and self.in_progress is not None:
|
|
15853
|
-
return visitor._in_progress(self.in_progress)
|
|
15854
|
-
|
|
15855
|
-
|
|
15856
|
-
scout_catalog_IngestStatusV2.__name__ = "IngestStatusV2"
|
|
15857
|
-
scout_catalog_IngestStatusV2.__qualname__ = "IngestStatusV2"
|
|
15858
|
-
scout_catalog_IngestStatusV2.__module__ = "nominal_api.scout_catalog"
|
|
15859
|
-
|
|
15860
|
-
|
|
15861
|
-
class scout_catalog_IngestStatusV2Visitor:
|
|
15862
|
-
|
|
15863
|
-
@abstractmethod
|
|
15864
|
-
def _success(self, success: "scout_catalog_SuccessResult") -> Any:
|
|
15865
|
-
pass
|
|
15866
|
-
|
|
15867
|
-
@abstractmethod
|
|
15868
|
-
def _error(self, error: "scout_catalog_ErrorResult") -> Any:
|
|
15869
|
-
pass
|
|
15870
|
-
|
|
15871
|
-
@abstractmethod
|
|
15872
|
-
def _in_progress(self, in_progress: "scout_catalog_InProgressResult") -> Any:
|
|
15873
|
-
pass
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
scout_catalog_IngestStatusV2Visitor.__name__ = "IngestStatusV2Visitor"
|
|
15877
|
-
scout_catalog_IngestStatusV2Visitor.__qualname__ = "IngestStatusV2Visitor"
|
|
15878
|
-
scout_catalog_IngestStatusV2Visitor.__module__ = "nominal_api.scout_catalog"
|
|
15879
|
-
|
|
15880
|
-
|
|
15881
15758
|
class scout_catalog_Iso8601Timestamp(ConjureBeanType):
|
|
15882
15759
|
|
|
15883
15760
|
@builtins.classmethod
|
|
@@ -15928,16 +15805,16 @@ class scout_catalog_MarkFileIngestError(ConjureBeanType):
|
|
|
15928
15805
|
@builtins.classmethod
|
|
15929
15806
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15930
15807
|
return {
|
|
15931
|
-
'error_result': ConjureFieldDefinition('errorResult',
|
|
15808
|
+
'error_result': ConjureFieldDefinition('errorResult', api_ErrorResult)
|
|
15932
15809
|
}
|
|
15933
15810
|
|
|
15934
15811
|
__slots__: List[str] = ['_error_result']
|
|
15935
15812
|
|
|
15936
|
-
def __init__(self, error_result: "
|
|
15813
|
+
def __init__(self, error_result: "api_ErrorResult") -> None:
|
|
15937
15814
|
self._error_result = error_result
|
|
15938
15815
|
|
|
15939
15816
|
@builtins.property
|
|
15940
|
-
def error_result(self) -> "
|
|
15817
|
+
def error_result(self) -> "api_ErrorResult":
|
|
15941
15818
|
return self._error_result
|
|
15942
15819
|
|
|
15943
15820
|
|
|
@@ -16423,7 +16300,7 @@ class scout_catalog_SearchDatasetsRequest(ConjureBeanType):
|
|
|
16423
16300
|
return {
|
|
16424
16301
|
'query': ConjureFieldDefinition('query', scout_catalog_SearchDatasetsQuery),
|
|
16425
16302
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
16426
|
-
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[
|
|
16303
|
+
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[api_Token]),
|
|
16427
16304
|
'sort_options': ConjureFieldDefinition('sortOptions', scout_catalog_SortOptions)
|
|
16428
16305
|
}
|
|
16429
16306
|
|
|
@@ -16466,7 +16343,7 @@ class scout_catalog_SearchDatasetsResponse(ConjureBeanType):
|
|
|
16466
16343
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16467
16344
|
return {
|
|
16468
16345
|
'results': ConjureFieldDefinition('results', List[scout_catalog_EnrichedDataset]),
|
|
16469
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
16346
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
16470
16347
|
}
|
|
16471
16348
|
|
|
16472
16349
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -16616,22 +16493,6 @@ scout_catalog_SortOptions.__qualname__ = "SortOptions"
|
|
|
16616
16493
|
scout_catalog_SortOptions.__module__ = "nominal_api.scout_catalog"
|
|
16617
16494
|
|
|
16618
16495
|
|
|
16619
|
-
class scout_catalog_SuccessResult(ConjureBeanType):
|
|
16620
|
-
|
|
16621
|
-
@builtins.classmethod
|
|
16622
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16623
|
-
return {
|
|
16624
|
-
}
|
|
16625
|
-
|
|
16626
|
-
__slots__: List[str] = []
|
|
16627
|
-
|
|
16628
|
-
|
|
16629
|
-
|
|
16630
|
-
scout_catalog_SuccessResult.__name__ = "SuccessResult"
|
|
16631
|
-
scout_catalog_SuccessResult.__qualname__ = "SuccessResult"
|
|
16632
|
-
scout_catalog_SuccessResult.__module__ = "nominal_api.scout_catalog"
|
|
16633
|
-
|
|
16634
|
-
|
|
16635
16496
|
class scout_catalog_TimestampMetadata(ConjureBeanType):
|
|
16636
16497
|
|
|
16637
16498
|
@builtins.classmethod
|
|
@@ -16862,18 +16723,18 @@ class scout_catalog_UpdateIngestStatusV2(ConjureBeanType):
|
|
|
16862
16723
|
@builtins.classmethod
|
|
16863
16724
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16864
16725
|
return {
|
|
16865
|
-
'status': ConjureFieldDefinition('status',
|
|
16726
|
+
'status': ConjureFieldDefinition('status', api_IngestStatusV2),
|
|
16866
16727
|
'dataset_uuid': ConjureFieldDefinition('datasetUuid', str)
|
|
16867
16728
|
}
|
|
16868
16729
|
|
|
16869
16730
|
__slots__: List[str] = ['_status', '_dataset_uuid']
|
|
16870
16731
|
|
|
16871
|
-
def __init__(self, dataset_uuid: str, status: "
|
|
16732
|
+
def __init__(self, dataset_uuid: str, status: "api_IngestStatusV2") -> None:
|
|
16872
16733
|
self._status = status
|
|
16873
16734
|
self._dataset_uuid = dataset_uuid
|
|
16874
16735
|
|
|
16875
16736
|
@builtins.property
|
|
16876
|
-
def status(self) -> "
|
|
16737
|
+
def status(self) -> "api_IngestStatusV2":
|
|
16877
16738
|
return self._status
|
|
16878
16739
|
|
|
16879
16740
|
@builtins.property
|
|
@@ -22143,7 +22004,7 @@ class scout_checks_api_CheckJobSpec(ConjureBeanType):
|
|
|
22143
22004
|
@builtins.classmethod
|
|
22144
22005
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
22145
22006
|
return {
|
|
22146
|
-
'data_review_rid': ConjureFieldDefinition('dataReviewRid',
|
|
22007
|
+
'data_review_rid': ConjureFieldDefinition('dataReviewRid', scout_rids_api_DataReviewRid),
|
|
22147
22008
|
'check_rid': ConjureFieldDefinition('checkRid', scout_rids_api_CheckRid),
|
|
22148
22009
|
'run_rid': ConjureFieldDefinition('runRid', OptionalTypeWrapper[scout_run_api_RunRid]),
|
|
22149
22010
|
'check_implementation_index': ConjureFieldDefinition('checkImplementationIndex', OptionalTypeWrapper[int]),
|
|
@@ -23548,7 +23409,7 @@ class scout_checks_api_DeprecatedCheckJobSpec(ConjureBeanType):
|
|
|
23548
23409
|
@builtins.classmethod
|
|
23549
23410
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
23550
23411
|
return {
|
|
23551
|
-
'data_review_rid': ConjureFieldDefinition('dataReviewRid',
|
|
23412
|
+
'data_review_rid': ConjureFieldDefinition('dataReviewRid', scout_rids_api_DataReviewRid),
|
|
23552
23413
|
'check_rid': ConjureFieldDefinition('checkRid', scout_rids_api_CheckRid),
|
|
23553
23414
|
'check_evaluation_rid': ConjureFieldDefinition('checkEvaluationRid', scout_datareview_api_AutomaticCheckEvaluationRid),
|
|
23554
23415
|
'check_condition': ConjureFieldDefinition('checkCondition', scout_checks_api_CheckCondition),
|
|
@@ -24446,7 +24307,7 @@ class scout_checks_api_SearchChecklistsRequest(ConjureBeanType):
|
|
|
24446
24307
|
return {
|
|
24447
24308
|
'query': ConjureFieldDefinition('query', scout_checks_api_ChecklistSearchQuery),
|
|
24448
24309
|
'sort_by': ConjureFieldDefinition('sortBy', OptionalTypeWrapper[scout_checks_api_SortOptions]),
|
|
24449
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
24310
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
24450
24311
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
24451
24312
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
24452
24313
|
}
|
|
@@ -25550,7 +25411,7 @@ class scout_checks_api_VersionedChecklistPage(ConjureBeanType):
|
|
|
25550
25411
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
25551
25412
|
return {
|
|
25552
25413
|
'values': ConjureFieldDefinition('values', List[scout_checks_api_VersionedChecklist]),
|
|
25553
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
25414
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
25554
25415
|
}
|
|
25555
25416
|
|
|
25556
25417
|
__slots__: List[str] = ['_values', '_next_page_token']
|
|
@@ -26796,19 +26657,19 @@ class scout_comparisonnotebook_api_SupplementalComparisonWorkbookContext(Conjure
|
|
|
26796
26657
|
"""This is used to allow variables to specify additional context that does not fit well into the general shape of
|
|
26797
26658
|
a compute node. For example, a range aggregation variable represents a bulk computation across several inputs,
|
|
26798
26659
|
whose context is specified here instead."""
|
|
26799
|
-
_none: Optional["
|
|
26660
|
+
_none: Optional["api_Empty"] = None
|
|
26800
26661
|
_range_aggregation: Optional["scout_comparisonnotebook_api_RangeAggregationContext"] = None
|
|
26801
26662
|
|
|
26802
26663
|
@builtins.classmethod
|
|
26803
26664
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
26804
26665
|
return {
|
|
26805
|
-
'none': ConjureFieldDefinition('none',
|
|
26666
|
+
'none': ConjureFieldDefinition('none', api_Empty),
|
|
26806
26667
|
'range_aggregation': ConjureFieldDefinition('rangeAggregation', scout_comparisonnotebook_api_RangeAggregationContext)
|
|
26807
26668
|
}
|
|
26808
26669
|
|
|
26809
26670
|
def __init__(
|
|
26810
26671
|
self,
|
|
26811
|
-
none: Optional["
|
|
26672
|
+
none: Optional["api_Empty"] = None,
|
|
26812
26673
|
range_aggregation: Optional["scout_comparisonnotebook_api_RangeAggregationContext"] = None,
|
|
26813
26674
|
type_of_union: Optional[str] = None
|
|
26814
26675
|
) -> None:
|
|
@@ -26835,7 +26696,7 @@ whose context is specified here instead."""
|
|
|
26835
26696
|
self._type = 'rangeAggregation'
|
|
26836
26697
|
|
|
26837
26698
|
@builtins.property
|
|
26838
|
-
def none(self) -> Optional["
|
|
26699
|
+
def none(self) -> Optional["api_Empty"]:
|
|
26839
26700
|
return self._none
|
|
26840
26701
|
|
|
26841
26702
|
@builtins.property
|
|
@@ -26859,7 +26720,7 @@ scout_comparisonnotebook_api_SupplementalComparisonWorkbookContext.__module__ =
|
|
|
26859
26720
|
class scout_comparisonnotebook_api_SupplementalComparisonWorkbookContextVisitor:
|
|
26860
26721
|
|
|
26861
26722
|
@abstractmethod
|
|
26862
|
-
def _none(self, none: "
|
|
26723
|
+
def _none(self, none: "api_Empty") -> Any:
|
|
26863
26724
|
pass
|
|
26864
26725
|
|
|
26865
26726
|
@abstractmethod
|
|
@@ -27686,7 +27547,7 @@ class scout_compute_api_AssetChannel(ConjureBeanType):
|
|
|
27686
27547
|
"""
|
|
27687
27548
|
Tags to filter the channel by, in addition to tag filters defined for a given Asset data scope. Throws on
|
|
27688
27549
|
collisions with tag keys already defined for the given Asset data scope. Only returns points that match
|
|
27689
|
-
both sets of tag filters.
|
|
27550
|
+
both sets of tag filters. For log series, include arg filters here in addition to tag filters.
|
|
27690
27551
|
"""
|
|
27691
27552
|
return self._additional_tags
|
|
27692
27553
|
|
|
@@ -30069,7 +29930,7 @@ class scout_compute_api_DataSourceChannel(ConjureBeanType):
|
|
|
30069
29930
|
def tags(self) -> Dict[str, "scout_compute_api_StringConstant"]:
|
|
30070
29931
|
"""
|
|
30071
29932
|
Tags to filter the channel by. Only returns points from the channel with matching tag values for the
|
|
30072
|
-
provided tag keys.
|
|
29933
|
+
provided tag keys. For log series, include arg filters here in addition to tag filters.
|
|
30073
29934
|
"""
|
|
30074
29935
|
return self._tags
|
|
30075
29936
|
|
|
@@ -30079,6 +29940,136 @@ scout_compute_api_DataSourceChannel.__qualname__ = "DataSourceChannel"
|
|
|
30079
29940
|
scout_compute_api_DataSourceChannel.__module__ = "nominal_api.scout_compute_api"
|
|
30080
29941
|
|
|
30081
29942
|
|
|
29943
|
+
class scout_compute_api_DecimateStrategy(ConjureUnionType):
|
|
29944
|
+
_resolution: Optional["scout_compute_api_DecimateWithResolution"] = None
|
|
29945
|
+
_buckets: Optional["scout_compute_api_DecimateWithBuckets"] = None
|
|
29946
|
+
|
|
29947
|
+
@builtins.classmethod
|
|
29948
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
29949
|
+
return {
|
|
29950
|
+
'resolution': ConjureFieldDefinition('resolution', scout_compute_api_DecimateWithResolution),
|
|
29951
|
+
'buckets': ConjureFieldDefinition('buckets', scout_compute_api_DecimateWithBuckets)
|
|
29952
|
+
}
|
|
29953
|
+
|
|
29954
|
+
def __init__(
|
|
29955
|
+
self,
|
|
29956
|
+
resolution: Optional["scout_compute_api_DecimateWithResolution"] = None,
|
|
29957
|
+
buckets: Optional["scout_compute_api_DecimateWithBuckets"] = None,
|
|
29958
|
+
type_of_union: Optional[str] = None
|
|
29959
|
+
) -> None:
|
|
29960
|
+
if type_of_union is None:
|
|
29961
|
+
if (resolution is not None) + (buckets is not None) != 1:
|
|
29962
|
+
raise ValueError('a union must contain a single member')
|
|
29963
|
+
|
|
29964
|
+
if resolution is not None:
|
|
29965
|
+
self._resolution = resolution
|
|
29966
|
+
self._type = 'resolution'
|
|
29967
|
+
if buckets is not None:
|
|
29968
|
+
self._buckets = buckets
|
|
29969
|
+
self._type = 'buckets'
|
|
29970
|
+
|
|
29971
|
+
elif type_of_union == 'resolution':
|
|
29972
|
+
if resolution is None:
|
|
29973
|
+
raise ValueError('a union value must not be None')
|
|
29974
|
+
self._resolution = resolution
|
|
29975
|
+
self._type = 'resolution'
|
|
29976
|
+
elif type_of_union == 'buckets':
|
|
29977
|
+
if buckets is None:
|
|
29978
|
+
raise ValueError('a union value must not be None')
|
|
29979
|
+
self._buckets = buckets
|
|
29980
|
+
self._type = 'buckets'
|
|
29981
|
+
|
|
29982
|
+
@builtins.property
|
|
29983
|
+
def resolution(self) -> Optional["scout_compute_api_DecimateWithResolution"]:
|
|
29984
|
+
return self._resolution
|
|
29985
|
+
|
|
29986
|
+
@builtins.property
|
|
29987
|
+
def buckets(self) -> Optional["scout_compute_api_DecimateWithBuckets"]:
|
|
29988
|
+
return self._buckets
|
|
29989
|
+
|
|
29990
|
+
def accept(self, visitor) -> Any:
|
|
29991
|
+
if not isinstance(visitor, scout_compute_api_DecimateStrategyVisitor):
|
|
29992
|
+
raise ValueError('{} is not an instance of scout_compute_api_DecimateStrategyVisitor'.format(visitor.__class__.__name__))
|
|
29993
|
+
if self._type == 'resolution' and self.resolution is not None:
|
|
29994
|
+
return visitor._resolution(self.resolution)
|
|
29995
|
+
if self._type == 'buckets' and self.buckets is not None:
|
|
29996
|
+
return visitor._buckets(self.buckets)
|
|
29997
|
+
|
|
29998
|
+
|
|
29999
|
+
scout_compute_api_DecimateStrategy.__name__ = "DecimateStrategy"
|
|
30000
|
+
scout_compute_api_DecimateStrategy.__qualname__ = "DecimateStrategy"
|
|
30001
|
+
scout_compute_api_DecimateStrategy.__module__ = "nominal_api.scout_compute_api"
|
|
30002
|
+
|
|
30003
|
+
|
|
30004
|
+
class scout_compute_api_DecimateStrategyVisitor:
|
|
30005
|
+
|
|
30006
|
+
@abstractmethod
|
|
30007
|
+
def _resolution(self, resolution: "scout_compute_api_DecimateWithResolution") -> Any:
|
|
30008
|
+
pass
|
|
30009
|
+
|
|
30010
|
+
@abstractmethod
|
|
30011
|
+
def _buckets(self, buckets: "scout_compute_api_DecimateWithBuckets") -> Any:
|
|
30012
|
+
pass
|
|
30013
|
+
|
|
30014
|
+
|
|
30015
|
+
scout_compute_api_DecimateStrategyVisitor.__name__ = "DecimateStrategyVisitor"
|
|
30016
|
+
scout_compute_api_DecimateStrategyVisitor.__qualname__ = "DecimateStrategyVisitor"
|
|
30017
|
+
scout_compute_api_DecimateStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
30018
|
+
|
|
30019
|
+
|
|
30020
|
+
class scout_compute_api_DecimateWithBuckets(ConjureBeanType):
|
|
30021
|
+
|
|
30022
|
+
@builtins.classmethod
|
|
30023
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
30024
|
+
return {
|
|
30025
|
+
'buckets': ConjureFieldDefinition('buckets', int)
|
|
30026
|
+
}
|
|
30027
|
+
|
|
30028
|
+
__slots__: List[str] = ['_buckets']
|
|
30029
|
+
|
|
30030
|
+
def __init__(self, buckets: int) -> None:
|
|
30031
|
+
self._buckets = buckets
|
|
30032
|
+
|
|
30033
|
+
@builtins.property
|
|
30034
|
+
def buckets(self) -> int:
|
|
30035
|
+
"""
|
|
30036
|
+
Number of points to generate in the output series.
|
|
30037
|
+
"""
|
|
30038
|
+
return self._buckets
|
|
30039
|
+
|
|
30040
|
+
|
|
30041
|
+
scout_compute_api_DecimateWithBuckets.__name__ = "DecimateWithBuckets"
|
|
30042
|
+
scout_compute_api_DecimateWithBuckets.__qualname__ = "DecimateWithBuckets"
|
|
30043
|
+
scout_compute_api_DecimateWithBuckets.__module__ = "nominal_api.scout_compute_api"
|
|
30044
|
+
|
|
30045
|
+
|
|
30046
|
+
class scout_compute_api_DecimateWithResolution(ConjureBeanType):
|
|
30047
|
+
|
|
30048
|
+
@builtins.classmethod
|
|
30049
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
30050
|
+
return {
|
|
30051
|
+
'resolution': ConjureFieldDefinition('resolution', int)
|
|
30052
|
+
}
|
|
30053
|
+
|
|
30054
|
+
__slots__: List[str] = ['_resolution']
|
|
30055
|
+
|
|
30056
|
+
def __init__(self, resolution: int) -> None:
|
|
30057
|
+
self._resolution = resolution
|
|
30058
|
+
|
|
30059
|
+
@builtins.property
|
|
30060
|
+
def resolution(self) -> int:
|
|
30061
|
+
"""
|
|
30062
|
+
Resolution of the output series specifying time interval between decimated points.
|
|
30063
|
+
Picoseconds for picosecond-granularity dataset, nanoseconds otherwise.
|
|
30064
|
+
"""
|
|
30065
|
+
return self._resolution
|
|
30066
|
+
|
|
30067
|
+
|
|
30068
|
+
scout_compute_api_DecimateWithResolution.__name__ = "DecimateWithResolution"
|
|
30069
|
+
scout_compute_api_DecimateWithResolution.__qualname__ = "DecimateWithResolution"
|
|
30070
|
+
scout_compute_api_DecimateWithResolution.__module__ = "nominal_api.scout_compute_api"
|
|
30071
|
+
|
|
30072
|
+
|
|
30082
30073
|
class scout_compute_api_DerivativeSeries(ConjureBeanType):
|
|
30083
30074
|
"""
|
|
30084
30075
|
Calculates the rate of change between subsequent points.
|
|
@@ -30277,22 +30268,6 @@ scout_compute_api_DurationConstantVisitor.__qualname__ = "DurationConstantVisito
|
|
|
30277
30268
|
scout_compute_api_DurationConstantVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
30278
30269
|
|
|
30279
30270
|
|
|
30280
|
-
class scout_compute_api_Empty(ConjureBeanType):
|
|
30281
|
-
|
|
30282
|
-
@builtins.classmethod
|
|
30283
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
30284
|
-
return {
|
|
30285
|
-
}
|
|
30286
|
-
|
|
30287
|
-
__slots__: List[str] = []
|
|
30288
|
-
|
|
30289
|
-
|
|
30290
|
-
|
|
30291
|
-
scout_compute_api_Empty.__name__ = "Empty"
|
|
30292
|
-
scout_compute_api_Empty.__qualname__ = "Empty"
|
|
30293
|
-
scout_compute_api_Empty.__module__ = "nominal_api.scout_compute_api"
|
|
30294
|
-
|
|
30295
|
-
|
|
30296
30271
|
class scout_compute_api_EnumAggregationFunction(ConjureEnumType):
|
|
30297
30272
|
|
|
30298
30273
|
MIN = 'MIN'
|
|
@@ -32153,30 +32128,92 @@ scout_compute_api_LatLongPoint.__qualname__ = "LatLongPoint"
|
|
|
32153
32128
|
scout_compute_api_LatLongPoint.__module__ = "nominal_api.scout_compute_api"
|
|
32154
32129
|
|
|
32155
32130
|
|
|
32156
|
-
class
|
|
32131
|
+
class scout_compute_api_LogFilterOperator(ConjureUnionType):
|
|
32132
|
+
_regex_filter: Optional["scout_compute_api_LogRegexFilterOperator"] = None
|
|
32133
|
+
|
|
32134
|
+
@builtins.classmethod
|
|
32135
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32136
|
+
return {
|
|
32137
|
+
'regex_filter': ConjureFieldDefinition('regexFilter', scout_compute_api_LogRegexFilterOperator)
|
|
32138
|
+
}
|
|
32139
|
+
|
|
32140
|
+
def __init__(
|
|
32141
|
+
self,
|
|
32142
|
+
regex_filter: Optional["scout_compute_api_LogRegexFilterOperator"] = None,
|
|
32143
|
+
type_of_union: Optional[str] = None
|
|
32144
|
+
) -> None:
|
|
32145
|
+
if type_of_union is None:
|
|
32146
|
+
if (regex_filter is not None) != 1:
|
|
32147
|
+
raise ValueError('a union must contain a single member')
|
|
32148
|
+
|
|
32149
|
+
if regex_filter is not None:
|
|
32150
|
+
self._regex_filter = regex_filter
|
|
32151
|
+
self._type = 'regexFilter'
|
|
32152
|
+
|
|
32153
|
+
elif type_of_union == 'regexFilter':
|
|
32154
|
+
if regex_filter is None:
|
|
32155
|
+
raise ValueError('a union value must not be None')
|
|
32156
|
+
self._regex_filter = regex_filter
|
|
32157
|
+
self._type = 'regexFilter'
|
|
32158
|
+
|
|
32159
|
+
@builtins.property
|
|
32160
|
+
def regex_filter(self) -> Optional["scout_compute_api_LogRegexFilterOperator"]:
|
|
32161
|
+
return self._regex_filter
|
|
32162
|
+
|
|
32163
|
+
def accept(self, visitor) -> Any:
|
|
32164
|
+
if not isinstance(visitor, scout_compute_api_LogFilterOperatorVisitor):
|
|
32165
|
+
raise ValueError('{} is not an instance of scout_compute_api_LogFilterOperatorVisitor'.format(visitor.__class__.__name__))
|
|
32166
|
+
if self._type == 'regexFilter' and self.regex_filter is not None:
|
|
32167
|
+
return visitor._regex_filter(self.regex_filter)
|
|
32168
|
+
|
|
32169
|
+
|
|
32170
|
+
scout_compute_api_LogFilterOperator.__name__ = "LogFilterOperator"
|
|
32171
|
+
scout_compute_api_LogFilterOperator.__qualname__ = "LogFilterOperator"
|
|
32172
|
+
scout_compute_api_LogFilterOperator.__module__ = "nominal_api.scout_compute_api"
|
|
32173
|
+
|
|
32174
|
+
|
|
32175
|
+
class scout_compute_api_LogFilterOperatorVisitor:
|
|
32176
|
+
|
|
32177
|
+
@abstractmethod
|
|
32178
|
+
def _regex_filter(self, regex_filter: "scout_compute_api_LogRegexFilterOperator") -> Any:
|
|
32179
|
+
pass
|
|
32180
|
+
|
|
32181
|
+
|
|
32182
|
+
scout_compute_api_LogFilterOperatorVisitor.__name__ = "LogFilterOperatorVisitor"
|
|
32183
|
+
scout_compute_api_LogFilterOperatorVisitor.__qualname__ = "LogFilterOperatorVisitor"
|
|
32184
|
+
scout_compute_api_LogFilterOperatorVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
32185
|
+
|
|
32186
|
+
|
|
32187
|
+
class scout_compute_api_LogFilterSeries(ConjureBeanType):
|
|
32157
32188
|
"""
|
|
32158
|
-
Outputs
|
|
32189
|
+
Outputs only values of the log plot that satisfy the filter.
|
|
32159
32190
|
"""
|
|
32160
32191
|
|
|
32161
32192
|
@builtins.classmethod
|
|
32162
32193
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32163
32194
|
return {
|
|
32164
|
-
'
|
|
32195
|
+
'input': ConjureFieldDefinition('input', scout_compute_api_LogSeries),
|
|
32196
|
+
'operator': ConjureFieldDefinition('operator', scout_compute_api_LogFilterOperator)
|
|
32165
32197
|
}
|
|
32166
32198
|
|
|
32167
|
-
__slots__: List[str] = ['
|
|
32199
|
+
__slots__: List[str] = ['_input', '_operator']
|
|
32168
32200
|
|
|
32169
|
-
def __init__(self,
|
|
32170
|
-
self.
|
|
32201
|
+
def __init__(self, input: "scout_compute_api_LogSeries", operator: "scout_compute_api_LogFilterOperator") -> None:
|
|
32202
|
+
self._input = input
|
|
32203
|
+
self._operator = operator
|
|
32171
32204
|
|
|
32172
32205
|
@builtins.property
|
|
32173
|
-
def
|
|
32174
|
-
return self.
|
|
32206
|
+
def input(self) -> "scout_compute_api_LogSeries":
|
|
32207
|
+
return self._input
|
|
32208
|
+
|
|
32209
|
+
@builtins.property
|
|
32210
|
+
def operator(self) -> "scout_compute_api_LogFilterOperator":
|
|
32211
|
+
return self._operator
|
|
32175
32212
|
|
|
32176
32213
|
|
|
32177
|
-
|
|
32178
|
-
|
|
32179
|
-
|
|
32214
|
+
scout_compute_api_LogFilterSeries.__name__ = "LogFilterSeries"
|
|
32215
|
+
scout_compute_api_LogFilterSeries.__qualname__ = "LogFilterSeries"
|
|
32216
|
+
scout_compute_api_LogFilterSeries.__module__ = "nominal_api.scout_compute_api"
|
|
32180
32217
|
|
|
32181
32218
|
|
|
32182
32219
|
class scout_compute_api_LogPlot(ConjureBeanType):
|
|
@@ -32239,23 +32276,23 @@ scout_compute_api_LogPoint.__module__ = "nominal_api.scout_compute_api"
|
|
|
32239
32276
|
|
|
32240
32277
|
class scout_compute_api_LogRegexFilterOperator(ConjureBeanType):
|
|
32241
32278
|
"""
|
|
32242
|
-
|
|
32279
|
+
Filters points such that the log message in each point satisfies the given re2 regular expression filter.
|
|
32243
32280
|
Regular expression syntax: https://github.com/google/re2/wiki/Syntax.
|
|
32244
32281
|
"""
|
|
32245
32282
|
|
|
32246
32283
|
@builtins.classmethod
|
|
32247
32284
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32248
32285
|
return {
|
|
32249
|
-
'regex': ConjureFieldDefinition('regex',
|
|
32286
|
+
'regex': ConjureFieldDefinition('regex', str)
|
|
32250
32287
|
}
|
|
32251
32288
|
|
|
32252
32289
|
__slots__: List[str] = ['_regex']
|
|
32253
32290
|
|
|
32254
|
-
def __init__(self, regex:
|
|
32291
|
+
def __init__(self, regex: str) -> None:
|
|
32255
32292
|
self._regex = regex
|
|
32256
32293
|
|
|
32257
32294
|
@builtins.property
|
|
32258
|
-
def regex(self) ->
|
|
32295
|
+
def regex(self) -> str:
|
|
32259
32296
|
return self._regex
|
|
32260
32297
|
|
|
32261
32298
|
|
|
@@ -32267,31 +32304,31 @@ scout_compute_api_LogRegexFilterOperator.__module__ = "nominal_api.scout_compute
|
|
|
32267
32304
|
class scout_compute_api_LogSeries(ConjureUnionType):
|
|
32268
32305
|
_raw: Optional["scout_compute_api_Reference"] = None
|
|
32269
32306
|
_channel: Optional["scout_compute_api_ChannelSeries"] = None
|
|
32270
|
-
_time_range_filter: Optional["scout_compute_api_LogTimeRangeFilterSeries"] = None
|
|
32271
32307
|
_union: Optional["scout_compute_api_LogUnionSeries"] = None
|
|
32272
|
-
|
|
32308
|
+
_filter: Optional["scout_compute_api_LogFilterSeries"] = None
|
|
32309
|
+
_time_shift: Optional["scout_compute_api_LogTimeShiftSeries"] = None
|
|
32273
32310
|
|
|
32274
32311
|
@builtins.classmethod
|
|
32275
32312
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32276
32313
|
return {
|
|
32277
32314
|
'raw': ConjureFieldDefinition('raw', scout_compute_api_Reference),
|
|
32278
32315
|
'channel': ConjureFieldDefinition('channel', scout_compute_api_ChannelSeries),
|
|
32279
|
-
'time_range_filter': ConjureFieldDefinition('timeRangeFilter', scout_compute_api_LogTimeRangeFilterSeries),
|
|
32280
32316
|
'union': ConjureFieldDefinition('union', scout_compute_api_LogUnionSeries),
|
|
32281
|
-
'
|
|
32317
|
+
'filter': ConjureFieldDefinition('filter', scout_compute_api_LogFilterSeries),
|
|
32318
|
+
'time_shift': ConjureFieldDefinition('timeShift', scout_compute_api_LogTimeShiftSeries)
|
|
32282
32319
|
}
|
|
32283
32320
|
|
|
32284
32321
|
def __init__(
|
|
32285
32322
|
self,
|
|
32286
32323
|
raw: Optional["scout_compute_api_Reference"] = None,
|
|
32287
32324
|
channel: Optional["scout_compute_api_ChannelSeries"] = None,
|
|
32288
|
-
time_range_filter: Optional["scout_compute_api_LogTimeRangeFilterSeries"] = None,
|
|
32289
32325
|
union: Optional["scout_compute_api_LogUnionSeries"] = None,
|
|
32290
|
-
|
|
32326
|
+
filter: Optional["scout_compute_api_LogFilterSeries"] = None,
|
|
32327
|
+
time_shift: Optional["scout_compute_api_LogTimeShiftSeries"] = None,
|
|
32291
32328
|
type_of_union: Optional[str] = None
|
|
32292
32329
|
) -> None:
|
|
32293
32330
|
if type_of_union is None:
|
|
32294
|
-
if (raw is not None) + (channel is not None) + (
|
|
32331
|
+
if (raw is not None) + (channel is not None) + (union is not None) + (filter is not None) + (time_shift is not None) != 1:
|
|
32295
32332
|
raise ValueError('a union must contain a single member')
|
|
32296
32333
|
|
|
32297
32334
|
if raw is not None:
|
|
@@ -32300,15 +32337,15 @@ class scout_compute_api_LogSeries(ConjureUnionType):
|
|
|
32300
32337
|
if channel is not None:
|
|
32301
32338
|
self._channel = channel
|
|
32302
32339
|
self._type = 'channel'
|
|
32303
|
-
if time_range_filter is not None:
|
|
32304
|
-
self._time_range_filter = time_range_filter
|
|
32305
|
-
self._type = 'timeRangeFilter'
|
|
32306
32340
|
if union is not None:
|
|
32307
32341
|
self._union = union
|
|
32308
32342
|
self._type = 'union'
|
|
32309
|
-
if
|
|
32310
|
-
self.
|
|
32311
|
-
self._type = '
|
|
32343
|
+
if filter is not None:
|
|
32344
|
+
self._filter = filter
|
|
32345
|
+
self._type = 'filter'
|
|
32346
|
+
if time_shift is not None:
|
|
32347
|
+
self._time_shift = time_shift
|
|
32348
|
+
self._type = 'timeShift'
|
|
32312
32349
|
|
|
32313
32350
|
elif type_of_union == 'raw':
|
|
32314
32351
|
if raw is None:
|
|
@@ -32320,21 +32357,21 @@ class scout_compute_api_LogSeries(ConjureUnionType):
|
|
|
32320
32357
|
raise ValueError('a union value must not be None')
|
|
32321
32358
|
self._channel = channel
|
|
32322
32359
|
self._type = 'channel'
|
|
32323
|
-
elif type_of_union == 'timeRangeFilter':
|
|
32324
|
-
if time_range_filter is None:
|
|
32325
|
-
raise ValueError('a union value must not be None')
|
|
32326
|
-
self._time_range_filter = time_range_filter
|
|
32327
|
-
self._type = 'timeRangeFilter'
|
|
32328
32360
|
elif type_of_union == 'union':
|
|
32329
32361
|
if union is None:
|
|
32330
32362
|
raise ValueError('a union value must not be None')
|
|
32331
32363
|
self._union = union
|
|
32332
32364
|
self._type = 'union'
|
|
32333
|
-
elif type_of_union == '
|
|
32334
|
-
if
|
|
32365
|
+
elif type_of_union == 'filter':
|
|
32366
|
+
if filter is None:
|
|
32335
32367
|
raise ValueError('a union value must not be None')
|
|
32336
|
-
self.
|
|
32337
|
-
self._type = '
|
|
32368
|
+
self._filter = filter
|
|
32369
|
+
self._type = 'filter'
|
|
32370
|
+
elif type_of_union == 'timeShift':
|
|
32371
|
+
if time_shift is None:
|
|
32372
|
+
raise ValueError('a union value must not be None')
|
|
32373
|
+
self._time_shift = time_shift
|
|
32374
|
+
self._type = 'timeShift'
|
|
32338
32375
|
|
|
32339
32376
|
@builtins.property
|
|
32340
32377
|
def raw(self) -> Optional["scout_compute_api_Reference"]:
|
|
@@ -32344,17 +32381,17 @@ class scout_compute_api_LogSeries(ConjureUnionType):
|
|
|
32344
32381
|
def channel(self) -> Optional["scout_compute_api_ChannelSeries"]:
|
|
32345
32382
|
return self._channel
|
|
32346
32383
|
|
|
32347
|
-
@builtins.property
|
|
32348
|
-
def time_range_filter(self) -> Optional["scout_compute_api_LogTimeRangeFilterSeries"]:
|
|
32349
|
-
return self._time_range_filter
|
|
32350
|
-
|
|
32351
32384
|
@builtins.property
|
|
32352
32385
|
def union(self) -> Optional["scout_compute_api_LogUnionSeries"]:
|
|
32353
32386
|
return self._union
|
|
32354
32387
|
|
|
32355
32388
|
@builtins.property
|
|
32356
|
-
def
|
|
32357
|
-
return self.
|
|
32389
|
+
def filter(self) -> Optional["scout_compute_api_LogFilterSeries"]:
|
|
32390
|
+
return self._filter
|
|
32391
|
+
|
|
32392
|
+
@builtins.property
|
|
32393
|
+
def time_shift(self) -> Optional["scout_compute_api_LogTimeShiftSeries"]:
|
|
32394
|
+
return self._time_shift
|
|
32358
32395
|
|
|
32359
32396
|
def accept(self, visitor) -> Any:
|
|
32360
32397
|
if not isinstance(visitor, scout_compute_api_LogSeriesVisitor):
|
|
@@ -32363,12 +32400,12 @@ class scout_compute_api_LogSeries(ConjureUnionType):
|
|
|
32363
32400
|
return visitor._raw(self.raw)
|
|
32364
32401
|
if self._type == 'channel' and self.channel is not None:
|
|
32365
32402
|
return visitor._channel(self.channel)
|
|
32366
|
-
if self._type == 'timeRangeFilter' and self.time_range_filter is not None:
|
|
32367
|
-
return visitor._time_range_filter(self.time_range_filter)
|
|
32368
32403
|
if self._type == 'union' and self.union is not None:
|
|
32369
32404
|
return visitor._union(self.union)
|
|
32370
|
-
if self._type == '
|
|
32371
|
-
return visitor.
|
|
32405
|
+
if self._type == 'filter' and self.filter is not None:
|
|
32406
|
+
return visitor._filter(self.filter)
|
|
32407
|
+
if self._type == 'timeShift' and self.time_shift is not None:
|
|
32408
|
+
return visitor._time_shift(self.time_shift)
|
|
32372
32409
|
|
|
32373
32410
|
|
|
32374
32411
|
scout_compute_api_LogSeries.__name__ = "LogSeries"
|
|
@@ -32387,15 +32424,15 @@ class scout_compute_api_LogSeriesVisitor:
|
|
|
32387
32424
|
pass
|
|
32388
32425
|
|
|
32389
32426
|
@abstractmethod
|
|
32390
|
-
def
|
|
32427
|
+
def _union(self, union: "scout_compute_api_LogUnionSeries") -> Any:
|
|
32391
32428
|
pass
|
|
32392
32429
|
|
|
32393
32430
|
@abstractmethod
|
|
32394
|
-
def
|
|
32431
|
+
def _filter(self, filter: "scout_compute_api_LogFilterSeries") -> Any:
|
|
32395
32432
|
pass
|
|
32396
32433
|
|
|
32397
32434
|
@abstractmethod
|
|
32398
|
-
def
|
|
32435
|
+
def _time_shift(self, time_shift: "scout_compute_api_LogTimeShiftSeries") -> Any:
|
|
32399
32436
|
pass
|
|
32400
32437
|
|
|
32401
32438
|
|
|
@@ -32404,48 +32441,33 @@ scout_compute_api_LogSeriesVisitor.__qualname__ = "LogSeriesVisitor"
|
|
|
32404
32441
|
scout_compute_api_LogSeriesVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
32405
32442
|
|
|
32406
32443
|
|
|
32407
|
-
class
|
|
32408
|
-
"""
|
|
32409
|
-
Filters the series to points within the specified time range.
|
|
32410
|
-
"""
|
|
32444
|
+
class scout_compute_api_LogTimeShiftSeries(ConjureBeanType):
|
|
32411
32445
|
|
|
32412
32446
|
@builtins.classmethod
|
|
32413
32447
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32414
32448
|
return {
|
|
32415
32449
|
'input': ConjureFieldDefinition('input', scout_compute_api_LogSeries),
|
|
32416
|
-
'
|
|
32417
|
-
'end_time': ConjureFieldDefinition('endTime', OptionalTypeWrapper[scout_compute_api_TimestampConstant])
|
|
32450
|
+
'duration': ConjureFieldDefinition('duration', scout_compute_api_DurationConstant)
|
|
32418
32451
|
}
|
|
32419
32452
|
|
|
32420
|
-
__slots__: List[str] = ['_input', '
|
|
32453
|
+
__slots__: List[str] = ['_input', '_duration']
|
|
32421
32454
|
|
|
32422
|
-
def __init__(self,
|
|
32455
|
+
def __init__(self, duration: "scout_compute_api_DurationConstant", input: "scout_compute_api_LogSeries") -> None:
|
|
32423
32456
|
self._input = input
|
|
32424
|
-
self.
|
|
32425
|
-
self._end_time = end_time
|
|
32457
|
+
self._duration = duration
|
|
32426
32458
|
|
|
32427
32459
|
@builtins.property
|
|
32428
32460
|
def input(self) -> "scout_compute_api_LogSeries":
|
|
32429
32461
|
return self._input
|
|
32430
32462
|
|
|
32431
32463
|
@builtins.property
|
|
32432
|
-
def
|
|
32433
|
-
|
|
32434
|
-
Represents the start time (inclusive) of the time range.
|
|
32435
|
-
"""
|
|
32436
|
-
return self._start_time
|
|
32437
|
-
|
|
32438
|
-
@builtins.property
|
|
32439
|
-
def end_time(self) -> Optional["scout_compute_api_TimestampConstant"]:
|
|
32440
|
-
"""
|
|
32441
|
-
Represents the end time (inclusive) of the time range.
|
|
32442
|
-
"""
|
|
32443
|
-
return self._end_time
|
|
32464
|
+
def duration(self) -> "scout_compute_api_DurationConstant":
|
|
32465
|
+
return self._duration
|
|
32444
32466
|
|
|
32445
32467
|
|
|
32446
|
-
|
|
32447
|
-
|
|
32448
|
-
|
|
32468
|
+
scout_compute_api_LogTimeShiftSeries.__name__ = "LogTimeShiftSeries"
|
|
32469
|
+
scout_compute_api_LogTimeShiftSeries.__qualname__ = "LogTimeShiftSeries"
|
|
32470
|
+
scout_compute_api_LogTimeShiftSeries.__module__ = "nominal_api.scout_compute_api"
|
|
32449
32471
|
|
|
32450
32472
|
|
|
32451
32473
|
class scout_compute_api_LogUnionOperation(ConjureEnumType):
|
|
@@ -32529,112 +32551,6 @@ scout_compute_api_LogValue.__qualname__ = "LogValue"
|
|
|
32529
32551
|
scout_compute_api_LogValue.__module__ = "nominal_api.scout_compute_api"
|
|
32530
32552
|
|
|
32531
32553
|
|
|
32532
|
-
class scout_compute_api_LogValueFilterOperator(ConjureUnionType):
|
|
32533
|
-
_arg_filter: Optional["scout_compute_api_LogArgFilterOperator"] = None
|
|
32534
|
-
_regex_filter: Optional["scout_compute_api_LogRegexFilterOperator"] = None
|
|
32535
|
-
|
|
32536
|
-
@builtins.classmethod
|
|
32537
|
-
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32538
|
-
return {
|
|
32539
|
-
'arg_filter': ConjureFieldDefinition('argFilter', scout_compute_api_LogArgFilterOperator),
|
|
32540
|
-
'regex_filter': ConjureFieldDefinition('regexFilter', scout_compute_api_LogRegexFilterOperator)
|
|
32541
|
-
}
|
|
32542
|
-
|
|
32543
|
-
def __init__(
|
|
32544
|
-
self,
|
|
32545
|
-
arg_filter: Optional["scout_compute_api_LogArgFilterOperator"] = None,
|
|
32546
|
-
regex_filter: Optional["scout_compute_api_LogRegexFilterOperator"] = None,
|
|
32547
|
-
type_of_union: Optional[str] = None
|
|
32548
|
-
) -> None:
|
|
32549
|
-
if type_of_union is None:
|
|
32550
|
-
if (arg_filter is not None) + (regex_filter is not None) != 1:
|
|
32551
|
-
raise ValueError('a union must contain a single member')
|
|
32552
|
-
|
|
32553
|
-
if arg_filter is not None:
|
|
32554
|
-
self._arg_filter = arg_filter
|
|
32555
|
-
self._type = 'argFilter'
|
|
32556
|
-
if regex_filter is not None:
|
|
32557
|
-
self._regex_filter = regex_filter
|
|
32558
|
-
self._type = 'regexFilter'
|
|
32559
|
-
|
|
32560
|
-
elif type_of_union == 'argFilter':
|
|
32561
|
-
if arg_filter is None:
|
|
32562
|
-
raise ValueError('a union value must not be None')
|
|
32563
|
-
self._arg_filter = arg_filter
|
|
32564
|
-
self._type = 'argFilter'
|
|
32565
|
-
elif type_of_union == 'regexFilter':
|
|
32566
|
-
if regex_filter is None:
|
|
32567
|
-
raise ValueError('a union value must not be None')
|
|
32568
|
-
self._regex_filter = regex_filter
|
|
32569
|
-
self._type = 'regexFilter'
|
|
32570
|
-
|
|
32571
|
-
@builtins.property
|
|
32572
|
-
def arg_filter(self) -> Optional["scout_compute_api_LogArgFilterOperator"]:
|
|
32573
|
-
return self._arg_filter
|
|
32574
|
-
|
|
32575
|
-
@builtins.property
|
|
32576
|
-
def regex_filter(self) -> Optional["scout_compute_api_LogRegexFilterOperator"]:
|
|
32577
|
-
return self._regex_filter
|
|
32578
|
-
|
|
32579
|
-
def accept(self, visitor) -> Any:
|
|
32580
|
-
if not isinstance(visitor, scout_compute_api_LogValueFilterOperatorVisitor):
|
|
32581
|
-
raise ValueError('{} is not an instance of scout_compute_api_LogValueFilterOperatorVisitor'.format(visitor.__class__.__name__))
|
|
32582
|
-
if self._type == 'argFilter' and self.arg_filter is not None:
|
|
32583
|
-
return visitor._arg_filter(self.arg_filter)
|
|
32584
|
-
if self._type == 'regexFilter' and self.regex_filter is not None:
|
|
32585
|
-
return visitor._regex_filter(self.regex_filter)
|
|
32586
|
-
|
|
32587
|
-
|
|
32588
|
-
scout_compute_api_LogValueFilterOperator.__name__ = "LogValueFilterOperator"
|
|
32589
|
-
scout_compute_api_LogValueFilterOperator.__qualname__ = "LogValueFilterOperator"
|
|
32590
|
-
scout_compute_api_LogValueFilterOperator.__module__ = "nominal_api.scout_compute_api"
|
|
32591
|
-
|
|
32592
|
-
|
|
32593
|
-
class scout_compute_api_LogValueFilterOperatorVisitor:
|
|
32594
|
-
|
|
32595
|
-
@abstractmethod
|
|
32596
|
-
def _arg_filter(self, arg_filter: "scout_compute_api_LogArgFilterOperator") -> Any:
|
|
32597
|
-
pass
|
|
32598
|
-
|
|
32599
|
-
@abstractmethod
|
|
32600
|
-
def _regex_filter(self, regex_filter: "scout_compute_api_LogRegexFilterOperator") -> Any:
|
|
32601
|
-
pass
|
|
32602
|
-
|
|
32603
|
-
|
|
32604
|
-
scout_compute_api_LogValueFilterOperatorVisitor.__name__ = "LogValueFilterOperatorVisitor"
|
|
32605
|
-
scout_compute_api_LogValueFilterOperatorVisitor.__qualname__ = "LogValueFilterOperatorVisitor"
|
|
32606
|
-
scout_compute_api_LogValueFilterOperatorVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
32607
|
-
|
|
32608
|
-
|
|
32609
|
-
class scout_compute_api_LogValueFilterSeries(ConjureBeanType):
|
|
32610
|
-
|
|
32611
|
-
@builtins.classmethod
|
|
32612
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32613
|
-
return {
|
|
32614
|
-
'input': ConjureFieldDefinition('input', scout_compute_api_LogSeries),
|
|
32615
|
-
'operator': ConjureFieldDefinition('operator', scout_compute_api_LogValueFilterOperator)
|
|
32616
|
-
}
|
|
32617
|
-
|
|
32618
|
-
__slots__: List[str] = ['_input', '_operator']
|
|
32619
|
-
|
|
32620
|
-
def __init__(self, input: "scout_compute_api_LogSeries", operator: "scout_compute_api_LogValueFilterOperator") -> None:
|
|
32621
|
-
self._input = input
|
|
32622
|
-
self._operator = operator
|
|
32623
|
-
|
|
32624
|
-
@builtins.property
|
|
32625
|
-
def input(self) -> "scout_compute_api_LogSeries":
|
|
32626
|
-
return self._input
|
|
32627
|
-
|
|
32628
|
-
@builtins.property
|
|
32629
|
-
def operator(self) -> "scout_compute_api_LogValueFilterOperator":
|
|
32630
|
-
return self._operator
|
|
32631
|
-
|
|
32632
|
-
|
|
32633
|
-
scout_compute_api_LogValueFilterSeries.__name__ = "LogValueFilterSeries"
|
|
32634
|
-
scout_compute_api_LogValueFilterSeries.__qualname__ = "LogValueFilterSeries"
|
|
32635
|
-
scout_compute_api_LogValueFilterSeries.__module__ = "nominal_api.scout_compute_api"
|
|
32636
|
-
|
|
32637
|
-
|
|
32638
32554
|
class scout_compute_api_LowPassConfiguration(ConjureBeanType):
|
|
32639
32555
|
|
|
32640
32556
|
@builtins.classmethod
|
|
@@ -34541,6 +34457,95 @@ scout_compute_api_OutputRangeStartVisitor.__qualname__ = "OutputRangeStartVisito
|
|
|
34541
34457
|
scout_compute_api_OutputRangeStartVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
34542
34458
|
|
|
34543
34459
|
|
|
34460
|
+
class scout_compute_api_PageInfo(ConjureBeanType):
|
|
34461
|
+
"""
|
|
34462
|
+
Specification of a page for a series. Returns raw undecimated points beginning nearest to the given page
|
|
34463
|
+
token timestamp, advancing pageSize points in the time direction specified by the sign of the page size.
|
|
34464
|
+
"""
|
|
34465
|
+
|
|
34466
|
+
@builtins.classmethod
|
|
34467
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
34468
|
+
return {
|
|
34469
|
+
'page_token': ConjureFieldDefinition('pageToken', api_Timestamp),
|
|
34470
|
+
'page_size': ConjureFieldDefinition('pageSize', int)
|
|
34471
|
+
}
|
|
34472
|
+
|
|
34473
|
+
__slots__: List[str] = ['_page_token', '_page_size']
|
|
34474
|
+
|
|
34475
|
+
def __init__(self, page_size: int, page_token: "api_Timestamp") -> None:
|
|
34476
|
+
self._page_token = page_token
|
|
34477
|
+
self._page_size = page_size
|
|
34478
|
+
|
|
34479
|
+
@builtins.property
|
|
34480
|
+
def page_token(self) -> "api_Timestamp":
|
|
34481
|
+
return self._page_token
|
|
34482
|
+
|
|
34483
|
+
@builtins.property
|
|
34484
|
+
def page_size(self) -> int:
|
|
34485
|
+
return self._page_size
|
|
34486
|
+
|
|
34487
|
+
|
|
34488
|
+
scout_compute_api_PageInfo.__name__ = "PageInfo"
|
|
34489
|
+
scout_compute_api_PageInfo.__qualname__ = "PageInfo"
|
|
34490
|
+
scout_compute_api_PageInfo.__module__ = "nominal_api.scout_compute_api"
|
|
34491
|
+
|
|
34492
|
+
|
|
34493
|
+
class scout_compute_api_PageStrategy(ConjureUnionType):
|
|
34494
|
+
_page_info: Optional["scout_compute_api_PageInfo"] = None
|
|
34495
|
+
|
|
34496
|
+
@builtins.classmethod
|
|
34497
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
34498
|
+
return {
|
|
34499
|
+
'page_info': ConjureFieldDefinition('pageInfo', scout_compute_api_PageInfo)
|
|
34500
|
+
}
|
|
34501
|
+
|
|
34502
|
+
def __init__(
|
|
34503
|
+
self,
|
|
34504
|
+
page_info: Optional["scout_compute_api_PageInfo"] = None,
|
|
34505
|
+
type_of_union: Optional[str] = None
|
|
34506
|
+
) -> None:
|
|
34507
|
+
if type_of_union is None:
|
|
34508
|
+
if (page_info is not None) != 1:
|
|
34509
|
+
raise ValueError('a union must contain a single member')
|
|
34510
|
+
|
|
34511
|
+
if page_info is not None:
|
|
34512
|
+
self._page_info = page_info
|
|
34513
|
+
self._type = 'pageInfo'
|
|
34514
|
+
|
|
34515
|
+
elif type_of_union == 'pageInfo':
|
|
34516
|
+
if page_info is None:
|
|
34517
|
+
raise ValueError('a union value must not be None')
|
|
34518
|
+
self._page_info = page_info
|
|
34519
|
+
self._type = 'pageInfo'
|
|
34520
|
+
|
|
34521
|
+
@builtins.property
|
|
34522
|
+
def page_info(self) -> Optional["scout_compute_api_PageInfo"]:
|
|
34523
|
+
return self._page_info
|
|
34524
|
+
|
|
34525
|
+
def accept(self, visitor) -> Any:
|
|
34526
|
+
if not isinstance(visitor, scout_compute_api_PageStrategyVisitor):
|
|
34527
|
+
raise ValueError('{} is not an instance of scout_compute_api_PageStrategyVisitor'.format(visitor.__class__.__name__))
|
|
34528
|
+
if self._type == 'pageInfo' and self.page_info is not None:
|
|
34529
|
+
return visitor._page_info(self.page_info)
|
|
34530
|
+
|
|
34531
|
+
|
|
34532
|
+
scout_compute_api_PageStrategy.__name__ = "PageStrategy"
|
|
34533
|
+
scout_compute_api_PageStrategy.__qualname__ = "PageStrategy"
|
|
34534
|
+
scout_compute_api_PageStrategy.__module__ = "nominal_api.scout_compute_api"
|
|
34535
|
+
|
|
34536
|
+
|
|
34537
|
+
class scout_compute_api_PageStrategyVisitor:
|
|
34538
|
+
|
|
34539
|
+
@abstractmethod
|
|
34540
|
+
def _page_info(self, page_info: "scout_compute_api_PageInfo") -> Any:
|
|
34541
|
+
pass
|
|
34542
|
+
|
|
34543
|
+
|
|
34544
|
+
scout_compute_api_PageStrategyVisitor.__name__ = "PageStrategyVisitor"
|
|
34545
|
+
scout_compute_api_PageStrategyVisitor.__qualname__ = "PageStrategyVisitor"
|
|
34546
|
+
scout_compute_api_PageStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
34547
|
+
|
|
34548
|
+
|
|
34544
34549
|
class scout_compute_api_ParameterInput(ConjureBeanType):
|
|
34545
34550
|
|
|
34546
34551
|
@builtins.classmethod
|
|
@@ -34960,7 +34965,7 @@ class scout_compute_api_RangeAggregationOperation(ConjureUnionType):
|
|
|
34960
34965
|
_min: Optional["scout_compute_api_Minimum"] = None
|
|
34961
34966
|
_max: Optional["scout_compute_api_Maximum"] = None
|
|
34962
34967
|
_standard_deviation: Optional["scout_compute_api_StandardDeviation"] = None
|
|
34963
|
-
_all: Optional["
|
|
34968
|
+
_all: Optional["api_Empty"] = None
|
|
34964
34969
|
|
|
34965
34970
|
@builtins.classmethod
|
|
34966
34971
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -34969,7 +34974,7 @@ class scout_compute_api_RangeAggregationOperation(ConjureUnionType):
|
|
|
34969
34974
|
'min': ConjureFieldDefinition('min', scout_compute_api_Minimum),
|
|
34970
34975
|
'max': ConjureFieldDefinition('max', scout_compute_api_Maximum),
|
|
34971
34976
|
'standard_deviation': ConjureFieldDefinition('standardDeviation', scout_compute_api_StandardDeviation),
|
|
34972
|
-
'all': ConjureFieldDefinition('all',
|
|
34977
|
+
'all': ConjureFieldDefinition('all', api_Empty)
|
|
34973
34978
|
}
|
|
34974
34979
|
|
|
34975
34980
|
def __init__(
|
|
@@ -34978,7 +34983,7 @@ class scout_compute_api_RangeAggregationOperation(ConjureUnionType):
|
|
|
34978
34983
|
min: Optional["scout_compute_api_Minimum"] = None,
|
|
34979
34984
|
max: Optional["scout_compute_api_Maximum"] = None,
|
|
34980
34985
|
standard_deviation: Optional["scout_compute_api_StandardDeviation"] = None,
|
|
34981
|
-
all: Optional["
|
|
34986
|
+
all: Optional["api_Empty"] = None,
|
|
34982
34987
|
type_of_union: Optional[str] = None
|
|
34983
34988
|
) -> None:
|
|
34984
34989
|
if type_of_union is None:
|
|
@@ -35044,7 +35049,7 @@ class scout_compute_api_RangeAggregationOperation(ConjureUnionType):
|
|
|
35044
35049
|
return self._standard_deviation
|
|
35045
35050
|
|
|
35046
35051
|
@builtins.property
|
|
35047
|
-
def all(self) -> Optional["
|
|
35052
|
+
def all(self) -> Optional["api_Empty"]:
|
|
35048
35053
|
return self._all
|
|
35049
35054
|
|
|
35050
35055
|
def accept(self, visitor) -> Any:
|
|
@@ -35086,7 +35091,7 @@ class scout_compute_api_RangeAggregationOperationVisitor:
|
|
|
35086
35091
|
pass
|
|
35087
35092
|
|
|
35088
35093
|
@abstractmethod
|
|
35089
|
-
def _all(self, all: "
|
|
35094
|
+
def _all(self, all: "api_Empty") -> Any:
|
|
35090
35095
|
pass
|
|
35091
35096
|
|
|
35092
35097
|
|
|
@@ -35096,95 +35101,101 @@ scout_compute_api_RangeAggregationOperationVisitor.__module__ = "nominal_api.sco
|
|
|
35096
35101
|
|
|
35097
35102
|
|
|
35098
35103
|
class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
35104
|
+
_approximate_threshold: Optional["scout_compute_api_ApproximateThresholdRanges"] = None
|
|
35099
35105
|
_enum_filter: Optional["scout_compute_api_EnumFilterRanges"] = None
|
|
35106
|
+
_enum_series_equality_ranges_node: Optional["scout_compute_api_EnumSeriesEqualityRanges"] = None
|
|
35100
35107
|
_function: Optional["scout_compute_api_RangesFunction"] = None
|
|
35101
35108
|
_intersect_range: Optional["scout_compute_api_IntersectRanges"] = None
|
|
35109
|
+
_min_max_threshold: Optional["scout_compute_api_MinMaxThresholdRanges"] = None
|
|
35102
35110
|
_not_: Optional["scout_compute_api_NotRanges"] = None
|
|
35103
35111
|
_on_change: Optional["scout_compute_api_OnChangeRanges"] = None
|
|
35104
|
-
_approximate_threshold: Optional["scout_compute_api_ApproximateThresholdRanges"] = None
|
|
35105
|
-
_min_max_threshold: Optional["scout_compute_api_MinMaxThresholdRanges"] = None
|
|
35106
35112
|
_peak: Optional["scout_compute_api_PeakRanges"] = None
|
|
35113
|
+
_range_numeric_aggregation: Optional["scout_compute_api_RangesNumericAggregation"] = None
|
|
35107
35114
|
_raw: Optional["scout_compute_api_Reference"] = None
|
|
35108
35115
|
_series_crossover_ranges_node: Optional["scout_compute_api_SeriesCrossoverRanges"] = None
|
|
35109
35116
|
_series_equality_ranges_node: Optional["scout_compute_api_SeriesEqualityRanges"] = None
|
|
35110
|
-
|
|
35117
|
+
_stability_detection: Optional["scout_compute_api_StabilityDetectionRanges"] = None
|
|
35111
35118
|
_stale_range: Optional["scout_compute_api_StaleRanges"] = None
|
|
35112
35119
|
_threshold: Optional["scout_compute_api_ThresholdingRanges"] = None
|
|
35113
35120
|
_union_range: Optional["scout_compute_api_UnionRanges"] = None
|
|
35114
|
-
_range_numeric_aggregation: Optional["scout_compute_api_RangesNumericAggregation"] = None
|
|
35115
|
-
_stability_detection: Optional["scout_compute_api_StabilityDetectionRanges"] = None
|
|
35116
35121
|
|
|
35117
35122
|
@builtins.classmethod
|
|
35118
35123
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
35119
35124
|
return {
|
|
35125
|
+
'approximate_threshold': ConjureFieldDefinition('approximateThreshold', scout_compute_api_ApproximateThresholdRanges),
|
|
35120
35126
|
'enum_filter': ConjureFieldDefinition('enumFilter', scout_compute_api_EnumFilterRanges),
|
|
35127
|
+
'enum_series_equality_ranges_node': ConjureFieldDefinition('enumSeriesEqualityRangesNode', scout_compute_api_EnumSeriesEqualityRanges),
|
|
35121
35128
|
'function': ConjureFieldDefinition('function', scout_compute_api_RangesFunction),
|
|
35122
35129
|
'intersect_range': ConjureFieldDefinition('intersectRange', scout_compute_api_IntersectRanges),
|
|
35130
|
+
'min_max_threshold': ConjureFieldDefinition('minMaxThreshold', scout_compute_api_MinMaxThresholdRanges),
|
|
35123
35131
|
'not_': ConjureFieldDefinition('not', scout_compute_api_NotRanges),
|
|
35124
35132
|
'on_change': ConjureFieldDefinition('onChange', scout_compute_api_OnChangeRanges),
|
|
35125
|
-
'approximate_threshold': ConjureFieldDefinition('approximateThreshold', scout_compute_api_ApproximateThresholdRanges),
|
|
35126
|
-
'min_max_threshold': ConjureFieldDefinition('minMaxThreshold', scout_compute_api_MinMaxThresholdRanges),
|
|
35127
35133
|
'peak': ConjureFieldDefinition('peak', scout_compute_api_PeakRanges),
|
|
35134
|
+
'range_numeric_aggregation': ConjureFieldDefinition('rangeNumericAggregation', scout_compute_api_RangesNumericAggregation),
|
|
35128
35135
|
'raw': ConjureFieldDefinition('raw', scout_compute_api_Reference),
|
|
35129
35136
|
'series_crossover_ranges_node': ConjureFieldDefinition('seriesCrossoverRangesNode', scout_compute_api_SeriesCrossoverRanges),
|
|
35130
35137
|
'series_equality_ranges_node': ConjureFieldDefinition('seriesEqualityRangesNode', scout_compute_api_SeriesEqualityRanges),
|
|
35131
|
-
'
|
|
35138
|
+
'stability_detection': ConjureFieldDefinition('stabilityDetection', scout_compute_api_StabilityDetectionRanges),
|
|
35132
35139
|
'stale_range': ConjureFieldDefinition('staleRange', scout_compute_api_StaleRanges),
|
|
35133
35140
|
'threshold': ConjureFieldDefinition('threshold', scout_compute_api_ThresholdingRanges),
|
|
35134
|
-
'union_range': ConjureFieldDefinition('unionRange', scout_compute_api_UnionRanges)
|
|
35135
|
-
'range_numeric_aggregation': ConjureFieldDefinition('rangeNumericAggregation', scout_compute_api_RangesNumericAggregation),
|
|
35136
|
-
'stability_detection': ConjureFieldDefinition('stabilityDetection', scout_compute_api_StabilityDetectionRanges)
|
|
35141
|
+
'union_range': ConjureFieldDefinition('unionRange', scout_compute_api_UnionRanges)
|
|
35137
35142
|
}
|
|
35138
35143
|
|
|
35139
35144
|
def __init__(
|
|
35140
35145
|
self,
|
|
35146
|
+
approximate_threshold: Optional["scout_compute_api_ApproximateThresholdRanges"] = None,
|
|
35141
35147
|
enum_filter: Optional["scout_compute_api_EnumFilterRanges"] = None,
|
|
35148
|
+
enum_series_equality_ranges_node: Optional["scout_compute_api_EnumSeriesEqualityRanges"] = None,
|
|
35142
35149
|
function: Optional["scout_compute_api_RangesFunction"] = None,
|
|
35143
35150
|
intersect_range: Optional["scout_compute_api_IntersectRanges"] = None,
|
|
35151
|
+
min_max_threshold: Optional["scout_compute_api_MinMaxThresholdRanges"] = None,
|
|
35144
35152
|
not_: Optional["scout_compute_api_NotRanges"] = None,
|
|
35145
35153
|
on_change: Optional["scout_compute_api_OnChangeRanges"] = None,
|
|
35146
|
-
approximate_threshold: Optional["scout_compute_api_ApproximateThresholdRanges"] = None,
|
|
35147
|
-
min_max_threshold: Optional["scout_compute_api_MinMaxThresholdRanges"] = None,
|
|
35148
35154
|
peak: Optional["scout_compute_api_PeakRanges"] = None,
|
|
35155
|
+
range_numeric_aggregation: Optional["scout_compute_api_RangesNumericAggregation"] = None,
|
|
35149
35156
|
raw: Optional["scout_compute_api_Reference"] = None,
|
|
35150
35157
|
series_crossover_ranges_node: Optional["scout_compute_api_SeriesCrossoverRanges"] = None,
|
|
35151
35158
|
series_equality_ranges_node: Optional["scout_compute_api_SeriesEqualityRanges"] = None,
|
|
35152
|
-
|
|
35159
|
+
stability_detection: Optional["scout_compute_api_StabilityDetectionRanges"] = None,
|
|
35153
35160
|
stale_range: Optional["scout_compute_api_StaleRanges"] = None,
|
|
35154
35161
|
threshold: Optional["scout_compute_api_ThresholdingRanges"] = None,
|
|
35155
35162
|
union_range: Optional["scout_compute_api_UnionRanges"] = None,
|
|
35156
|
-
range_numeric_aggregation: Optional["scout_compute_api_RangesNumericAggregation"] = None,
|
|
35157
|
-
stability_detection: Optional["scout_compute_api_StabilityDetectionRanges"] = None,
|
|
35158
35163
|
type_of_union: Optional[str] = None
|
|
35159
35164
|
) -> None:
|
|
35160
35165
|
if type_of_union is None:
|
|
35161
|
-
if (
|
|
35166
|
+
if (approximate_threshold is not None) + (enum_filter is not None) + (enum_series_equality_ranges_node is not None) + (function is not None) + (intersect_range is not None) + (min_max_threshold is not None) + (not_ is not None) + (on_change is not None) + (peak is not None) + (range_numeric_aggregation is not None) + (raw is not None) + (series_crossover_ranges_node is not None) + (series_equality_ranges_node is not None) + (stability_detection is not None) + (stale_range is not None) + (threshold is not None) + (union_range is not None) != 1:
|
|
35162
35167
|
raise ValueError('a union must contain a single member')
|
|
35163
35168
|
|
|
35169
|
+
if approximate_threshold is not None:
|
|
35170
|
+
self._approximate_threshold = approximate_threshold
|
|
35171
|
+
self._type = 'approximateThreshold'
|
|
35164
35172
|
if enum_filter is not None:
|
|
35165
35173
|
self._enum_filter = enum_filter
|
|
35166
35174
|
self._type = 'enumFilter'
|
|
35175
|
+
if enum_series_equality_ranges_node is not None:
|
|
35176
|
+
self._enum_series_equality_ranges_node = enum_series_equality_ranges_node
|
|
35177
|
+
self._type = 'enumSeriesEqualityRangesNode'
|
|
35167
35178
|
if function is not None:
|
|
35168
35179
|
self._function = function
|
|
35169
35180
|
self._type = 'function'
|
|
35170
35181
|
if intersect_range is not None:
|
|
35171
35182
|
self._intersect_range = intersect_range
|
|
35172
35183
|
self._type = 'intersectRange'
|
|
35184
|
+
if min_max_threshold is not None:
|
|
35185
|
+
self._min_max_threshold = min_max_threshold
|
|
35186
|
+
self._type = 'minMaxThreshold'
|
|
35173
35187
|
if not_ is not None:
|
|
35174
35188
|
self._not_ = not_
|
|
35175
35189
|
self._type = 'not'
|
|
35176
35190
|
if on_change is not None:
|
|
35177
35191
|
self._on_change = on_change
|
|
35178
35192
|
self._type = 'onChange'
|
|
35179
|
-
if approximate_threshold is not None:
|
|
35180
|
-
self._approximate_threshold = approximate_threshold
|
|
35181
|
-
self._type = 'approximateThreshold'
|
|
35182
|
-
if min_max_threshold is not None:
|
|
35183
|
-
self._min_max_threshold = min_max_threshold
|
|
35184
|
-
self._type = 'minMaxThreshold'
|
|
35185
35193
|
if peak is not None:
|
|
35186
35194
|
self._peak = peak
|
|
35187
35195
|
self._type = 'peak'
|
|
35196
|
+
if range_numeric_aggregation is not None:
|
|
35197
|
+
self._range_numeric_aggregation = range_numeric_aggregation
|
|
35198
|
+
self._type = 'rangeNumericAggregation'
|
|
35188
35199
|
if raw is not None:
|
|
35189
35200
|
self._raw = raw
|
|
35190
35201
|
self._type = 'raw'
|
|
@@ -35194,9 +35205,9 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35194
35205
|
if series_equality_ranges_node is not None:
|
|
35195
35206
|
self._series_equality_ranges_node = series_equality_ranges_node
|
|
35196
35207
|
self._type = 'seriesEqualityRangesNode'
|
|
35197
|
-
if
|
|
35198
|
-
self.
|
|
35199
|
-
self._type = '
|
|
35208
|
+
if stability_detection is not None:
|
|
35209
|
+
self._stability_detection = stability_detection
|
|
35210
|
+
self._type = 'stabilityDetection'
|
|
35200
35211
|
if stale_range is not None:
|
|
35201
35212
|
self._stale_range = stale_range
|
|
35202
35213
|
self._type = 'staleRange'
|
|
@@ -35206,18 +35217,22 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35206
35217
|
if union_range is not None:
|
|
35207
35218
|
self._union_range = union_range
|
|
35208
35219
|
self._type = 'unionRange'
|
|
35209
|
-
if range_numeric_aggregation is not None:
|
|
35210
|
-
self._range_numeric_aggregation = range_numeric_aggregation
|
|
35211
|
-
self._type = 'rangeNumericAggregation'
|
|
35212
|
-
if stability_detection is not None:
|
|
35213
|
-
self._stability_detection = stability_detection
|
|
35214
|
-
self._type = 'stabilityDetection'
|
|
35215
35220
|
|
|
35221
|
+
elif type_of_union == 'approximateThreshold':
|
|
35222
|
+
if approximate_threshold is None:
|
|
35223
|
+
raise ValueError('a union value must not be None')
|
|
35224
|
+
self._approximate_threshold = approximate_threshold
|
|
35225
|
+
self._type = 'approximateThreshold'
|
|
35216
35226
|
elif type_of_union == 'enumFilter':
|
|
35217
35227
|
if enum_filter is None:
|
|
35218
35228
|
raise ValueError('a union value must not be None')
|
|
35219
35229
|
self._enum_filter = enum_filter
|
|
35220
35230
|
self._type = 'enumFilter'
|
|
35231
|
+
elif type_of_union == 'enumSeriesEqualityRangesNode':
|
|
35232
|
+
if enum_series_equality_ranges_node is None:
|
|
35233
|
+
raise ValueError('a union value must not be None')
|
|
35234
|
+
self._enum_series_equality_ranges_node = enum_series_equality_ranges_node
|
|
35235
|
+
self._type = 'enumSeriesEqualityRangesNode'
|
|
35221
35236
|
elif type_of_union == 'function':
|
|
35222
35237
|
if function is None:
|
|
35223
35238
|
raise ValueError('a union value must not be None')
|
|
@@ -35228,6 +35243,11 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35228
35243
|
raise ValueError('a union value must not be None')
|
|
35229
35244
|
self._intersect_range = intersect_range
|
|
35230
35245
|
self._type = 'intersectRange'
|
|
35246
|
+
elif type_of_union == 'minMaxThreshold':
|
|
35247
|
+
if min_max_threshold is None:
|
|
35248
|
+
raise ValueError('a union value must not be None')
|
|
35249
|
+
self._min_max_threshold = min_max_threshold
|
|
35250
|
+
self._type = 'minMaxThreshold'
|
|
35231
35251
|
elif type_of_union == 'not':
|
|
35232
35252
|
if not_ is None:
|
|
35233
35253
|
raise ValueError('a union value must not be None')
|
|
@@ -35238,21 +35258,16 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35238
35258
|
raise ValueError('a union value must not be None')
|
|
35239
35259
|
self._on_change = on_change
|
|
35240
35260
|
self._type = 'onChange'
|
|
35241
|
-
elif type_of_union == 'approximateThreshold':
|
|
35242
|
-
if approximate_threshold is None:
|
|
35243
|
-
raise ValueError('a union value must not be None')
|
|
35244
|
-
self._approximate_threshold = approximate_threshold
|
|
35245
|
-
self._type = 'approximateThreshold'
|
|
35246
|
-
elif type_of_union == 'minMaxThreshold':
|
|
35247
|
-
if min_max_threshold is None:
|
|
35248
|
-
raise ValueError('a union value must not be None')
|
|
35249
|
-
self._min_max_threshold = min_max_threshold
|
|
35250
|
-
self._type = 'minMaxThreshold'
|
|
35251
35261
|
elif type_of_union == 'peak':
|
|
35252
35262
|
if peak is None:
|
|
35253
35263
|
raise ValueError('a union value must not be None')
|
|
35254
35264
|
self._peak = peak
|
|
35255
35265
|
self._type = 'peak'
|
|
35266
|
+
elif type_of_union == 'rangeNumericAggregation':
|
|
35267
|
+
if range_numeric_aggregation is None:
|
|
35268
|
+
raise ValueError('a union value must not be None')
|
|
35269
|
+
self._range_numeric_aggregation = range_numeric_aggregation
|
|
35270
|
+
self._type = 'rangeNumericAggregation'
|
|
35256
35271
|
elif type_of_union == 'raw':
|
|
35257
35272
|
if raw is None:
|
|
35258
35273
|
raise ValueError('a union value must not be None')
|
|
@@ -35268,11 +35283,11 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35268
35283
|
raise ValueError('a union value must not be None')
|
|
35269
35284
|
self._series_equality_ranges_node = series_equality_ranges_node
|
|
35270
35285
|
self._type = 'seriesEqualityRangesNode'
|
|
35271
|
-
elif type_of_union == '
|
|
35272
|
-
if
|
|
35286
|
+
elif type_of_union == 'stabilityDetection':
|
|
35287
|
+
if stability_detection is None:
|
|
35273
35288
|
raise ValueError('a union value must not be None')
|
|
35274
|
-
self.
|
|
35275
|
-
self._type = '
|
|
35289
|
+
self._stability_detection = stability_detection
|
|
35290
|
+
self._type = 'stabilityDetection'
|
|
35276
35291
|
elif type_of_union == 'staleRange':
|
|
35277
35292
|
if stale_range is None:
|
|
35278
35293
|
raise ValueError('a union value must not be None')
|
|
@@ -35288,21 +35303,19 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35288
35303
|
raise ValueError('a union value must not be None')
|
|
35289
35304
|
self._union_range = union_range
|
|
35290
35305
|
self._type = 'unionRange'
|
|
35291
|
-
|
|
35292
|
-
|
|
35293
|
-
|
|
35294
|
-
|
|
35295
|
-
self._type = 'rangeNumericAggregation'
|
|
35296
|
-
elif type_of_union == 'stabilityDetection':
|
|
35297
|
-
if stability_detection is None:
|
|
35298
|
-
raise ValueError('a union value must not be None')
|
|
35299
|
-
self._stability_detection = stability_detection
|
|
35300
|
-
self._type = 'stabilityDetection'
|
|
35306
|
+
|
|
35307
|
+
@builtins.property
|
|
35308
|
+
def approximate_threshold(self) -> Optional["scout_compute_api_ApproximateThresholdRanges"]:
|
|
35309
|
+
return self._approximate_threshold
|
|
35301
35310
|
|
|
35302
35311
|
@builtins.property
|
|
35303
35312
|
def enum_filter(self) -> Optional["scout_compute_api_EnumFilterRanges"]:
|
|
35304
35313
|
return self._enum_filter
|
|
35305
35314
|
|
|
35315
|
+
@builtins.property
|
|
35316
|
+
def enum_series_equality_ranges_node(self) -> Optional["scout_compute_api_EnumSeriesEqualityRanges"]:
|
|
35317
|
+
return self._enum_series_equality_ranges_node
|
|
35318
|
+
|
|
35306
35319
|
@builtins.property
|
|
35307
35320
|
def function(self) -> Optional["scout_compute_api_RangesFunction"]:
|
|
35308
35321
|
return self._function
|
|
@@ -35311,6 +35324,13 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35311
35324
|
def intersect_range(self) -> Optional["scout_compute_api_IntersectRanges"]:
|
|
35312
35325
|
return self._intersect_range
|
|
35313
35326
|
|
|
35327
|
+
@builtins.property
|
|
35328
|
+
def min_max_threshold(self) -> Optional["scout_compute_api_MinMaxThresholdRanges"]:
|
|
35329
|
+
"""
|
|
35330
|
+
Computes ranges where the input time series matches a filter defined by lower and upper bounds, and an operator.
|
|
35331
|
+
"""
|
|
35332
|
+
return self._min_max_threshold
|
|
35333
|
+
|
|
35314
35334
|
@builtins.property
|
|
35315
35335
|
def not_(self) -> Optional["scout_compute_api_NotRanges"]:
|
|
35316
35336
|
return self._not_
|
|
@@ -35319,21 +35339,14 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35319
35339
|
def on_change(self) -> Optional["scout_compute_api_OnChangeRanges"]:
|
|
35320
35340
|
return self._on_change
|
|
35321
35341
|
|
|
35322
|
-
@builtins.property
|
|
35323
|
-
def approximate_threshold(self) -> Optional["scout_compute_api_ApproximateThresholdRanges"]:
|
|
35324
|
-
return self._approximate_threshold
|
|
35325
|
-
|
|
35326
|
-
@builtins.property
|
|
35327
|
-
def min_max_threshold(self) -> Optional["scout_compute_api_MinMaxThresholdRanges"]:
|
|
35328
|
-
"""
|
|
35329
|
-
Computes ranges where the input time series matches a filter defined by lower and upper bounds, and an operator.
|
|
35330
|
-
"""
|
|
35331
|
-
return self._min_max_threshold
|
|
35332
|
-
|
|
35333
35342
|
@builtins.property
|
|
35334
35343
|
def peak(self) -> Optional["scout_compute_api_PeakRanges"]:
|
|
35335
35344
|
return self._peak
|
|
35336
35345
|
|
|
35346
|
+
@builtins.property
|
|
35347
|
+
def range_numeric_aggregation(self) -> Optional["scout_compute_api_RangesNumericAggregation"]:
|
|
35348
|
+
return self._range_numeric_aggregation
|
|
35349
|
+
|
|
35337
35350
|
@builtins.property
|
|
35338
35351
|
def raw(self) -> Optional["scout_compute_api_Reference"]:
|
|
35339
35352
|
return self._raw
|
|
@@ -35347,8 +35360,8 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35347
35360
|
return self._series_equality_ranges_node
|
|
35348
35361
|
|
|
35349
35362
|
@builtins.property
|
|
35350
|
-
def
|
|
35351
|
-
return self.
|
|
35363
|
+
def stability_detection(self) -> Optional["scout_compute_api_StabilityDetectionRanges"]:
|
|
35364
|
+
return self._stability_detection
|
|
35352
35365
|
|
|
35353
35366
|
@builtins.property
|
|
35354
35367
|
def stale_range(self) -> Optional["scout_compute_api_StaleRanges"]:
|
|
@@ -35365,51 +35378,43 @@ class scout_compute_api_RangeSeries(ConjureUnionType):
|
|
|
35365
35378
|
def union_range(self) -> Optional["scout_compute_api_UnionRanges"]:
|
|
35366
35379
|
return self._union_range
|
|
35367
35380
|
|
|
35368
|
-
@builtins.property
|
|
35369
|
-
def range_numeric_aggregation(self) -> Optional["scout_compute_api_RangesNumericAggregation"]:
|
|
35370
|
-
return self._range_numeric_aggregation
|
|
35371
|
-
|
|
35372
|
-
@builtins.property
|
|
35373
|
-
def stability_detection(self) -> Optional["scout_compute_api_StabilityDetectionRanges"]:
|
|
35374
|
-
return self._stability_detection
|
|
35375
|
-
|
|
35376
35381
|
def accept(self, visitor) -> Any:
|
|
35377
35382
|
if not isinstance(visitor, scout_compute_api_RangeSeriesVisitor):
|
|
35378
35383
|
raise ValueError('{} is not an instance of scout_compute_api_RangeSeriesVisitor'.format(visitor.__class__.__name__))
|
|
35384
|
+
if self._type == 'approximateThreshold' and self.approximate_threshold is not None:
|
|
35385
|
+
return visitor._approximate_threshold(self.approximate_threshold)
|
|
35379
35386
|
if self._type == 'enumFilter' and self.enum_filter is not None:
|
|
35380
35387
|
return visitor._enum_filter(self.enum_filter)
|
|
35388
|
+
if self._type == 'enumSeriesEqualityRangesNode' and self.enum_series_equality_ranges_node is not None:
|
|
35389
|
+
return visitor._enum_series_equality_ranges_node(self.enum_series_equality_ranges_node)
|
|
35381
35390
|
if self._type == 'function' and self.function is not None:
|
|
35382
35391
|
return visitor._function(self.function)
|
|
35383
35392
|
if self._type == 'intersectRange' and self.intersect_range is not None:
|
|
35384
35393
|
return visitor._intersect_range(self.intersect_range)
|
|
35394
|
+
if self._type == 'minMaxThreshold' and self.min_max_threshold is not None:
|
|
35395
|
+
return visitor._min_max_threshold(self.min_max_threshold)
|
|
35385
35396
|
if self._type == 'not' and self.not_ is not None:
|
|
35386
35397
|
return visitor._not(self.not_)
|
|
35387
35398
|
if self._type == 'onChange' and self.on_change is not None:
|
|
35388
35399
|
return visitor._on_change(self.on_change)
|
|
35389
|
-
if self._type == 'approximateThreshold' and self.approximate_threshold is not None:
|
|
35390
|
-
return visitor._approximate_threshold(self.approximate_threshold)
|
|
35391
|
-
if self._type == 'minMaxThreshold' and self.min_max_threshold is not None:
|
|
35392
|
-
return visitor._min_max_threshold(self.min_max_threshold)
|
|
35393
35400
|
if self._type == 'peak' and self.peak is not None:
|
|
35394
35401
|
return visitor._peak(self.peak)
|
|
35402
|
+
if self._type == 'rangeNumericAggregation' and self.range_numeric_aggregation is not None:
|
|
35403
|
+
return visitor._range_numeric_aggregation(self.range_numeric_aggregation)
|
|
35395
35404
|
if self._type == 'raw' and self.raw is not None:
|
|
35396
35405
|
return visitor._raw(self.raw)
|
|
35397
35406
|
if self._type == 'seriesCrossoverRangesNode' and self.series_crossover_ranges_node is not None:
|
|
35398
35407
|
return visitor._series_crossover_ranges_node(self.series_crossover_ranges_node)
|
|
35399
35408
|
if self._type == 'seriesEqualityRangesNode' and self.series_equality_ranges_node is not None:
|
|
35400
35409
|
return visitor._series_equality_ranges_node(self.series_equality_ranges_node)
|
|
35401
|
-
if self._type == '
|
|
35402
|
-
return visitor.
|
|
35410
|
+
if self._type == 'stabilityDetection' and self.stability_detection is not None:
|
|
35411
|
+
return visitor._stability_detection(self.stability_detection)
|
|
35403
35412
|
if self._type == 'staleRange' and self.stale_range is not None:
|
|
35404
35413
|
return visitor._stale_range(self.stale_range)
|
|
35405
35414
|
if self._type == 'threshold' and self.threshold is not None:
|
|
35406
35415
|
return visitor._threshold(self.threshold)
|
|
35407
35416
|
if self._type == 'unionRange' and self.union_range is not None:
|
|
35408
35417
|
return visitor._union_range(self.union_range)
|
|
35409
|
-
if self._type == 'rangeNumericAggregation' and self.range_numeric_aggregation is not None:
|
|
35410
|
-
return visitor._range_numeric_aggregation(self.range_numeric_aggregation)
|
|
35411
|
-
if self._type == 'stabilityDetection' and self.stability_detection is not None:
|
|
35412
|
-
return visitor._stability_detection(self.stability_detection)
|
|
35413
35418
|
|
|
35414
35419
|
|
|
35415
35420
|
scout_compute_api_RangeSeries.__name__ = "RangeSeries"
|
|
@@ -35419,10 +35424,18 @@ scout_compute_api_RangeSeries.__module__ = "nominal_api.scout_compute_api"
|
|
|
35419
35424
|
|
|
35420
35425
|
class scout_compute_api_RangeSeriesVisitor:
|
|
35421
35426
|
|
|
35427
|
+
@abstractmethod
|
|
35428
|
+
def _approximate_threshold(self, approximate_threshold: "scout_compute_api_ApproximateThresholdRanges") -> Any:
|
|
35429
|
+
pass
|
|
35430
|
+
|
|
35422
35431
|
@abstractmethod
|
|
35423
35432
|
def _enum_filter(self, enum_filter: "scout_compute_api_EnumFilterRanges") -> Any:
|
|
35424
35433
|
pass
|
|
35425
35434
|
|
|
35435
|
+
@abstractmethod
|
|
35436
|
+
def _enum_series_equality_ranges_node(self, enum_series_equality_ranges_node: "scout_compute_api_EnumSeriesEqualityRanges") -> Any:
|
|
35437
|
+
pass
|
|
35438
|
+
|
|
35426
35439
|
@abstractmethod
|
|
35427
35440
|
def _function(self, function: "scout_compute_api_RangesFunction") -> Any:
|
|
35428
35441
|
pass
|
|
@@ -35432,23 +35445,23 @@ class scout_compute_api_RangeSeriesVisitor:
|
|
|
35432
35445
|
pass
|
|
35433
35446
|
|
|
35434
35447
|
@abstractmethod
|
|
35435
|
-
def
|
|
35448
|
+
def _min_max_threshold(self, min_max_threshold: "scout_compute_api_MinMaxThresholdRanges") -> Any:
|
|
35436
35449
|
pass
|
|
35437
35450
|
|
|
35438
35451
|
@abstractmethod
|
|
35439
|
-
def
|
|
35452
|
+
def _not(self, not_: "scout_compute_api_NotRanges") -> Any:
|
|
35440
35453
|
pass
|
|
35441
35454
|
|
|
35442
35455
|
@abstractmethod
|
|
35443
|
-
def
|
|
35456
|
+
def _on_change(self, on_change: "scout_compute_api_OnChangeRanges") -> Any:
|
|
35444
35457
|
pass
|
|
35445
35458
|
|
|
35446
35459
|
@abstractmethod
|
|
35447
|
-
def
|
|
35460
|
+
def _peak(self, peak: "scout_compute_api_PeakRanges") -> Any:
|
|
35448
35461
|
pass
|
|
35449
35462
|
|
|
35450
35463
|
@abstractmethod
|
|
35451
|
-
def
|
|
35464
|
+
def _range_numeric_aggregation(self, range_numeric_aggregation: "scout_compute_api_RangesNumericAggregation") -> Any:
|
|
35452
35465
|
pass
|
|
35453
35466
|
|
|
35454
35467
|
@abstractmethod
|
|
@@ -35464,7 +35477,7 @@ class scout_compute_api_RangeSeriesVisitor:
|
|
|
35464
35477
|
pass
|
|
35465
35478
|
|
|
35466
35479
|
@abstractmethod
|
|
35467
|
-
def
|
|
35480
|
+
def _stability_detection(self, stability_detection: "scout_compute_api_StabilityDetectionRanges") -> Any:
|
|
35468
35481
|
pass
|
|
35469
35482
|
|
|
35470
35483
|
@abstractmethod
|
|
@@ -35479,14 +35492,6 @@ class scout_compute_api_RangeSeriesVisitor:
|
|
|
35479
35492
|
def _union_range(self, union_range: "scout_compute_api_UnionRanges") -> Any:
|
|
35480
35493
|
pass
|
|
35481
35494
|
|
|
35482
|
-
@abstractmethod
|
|
35483
|
-
def _range_numeric_aggregation(self, range_numeric_aggregation: "scout_compute_api_RangesNumericAggregation") -> Any:
|
|
35484
|
-
pass
|
|
35485
|
-
|
|
35486
|
-
@abstractmethod
|
|
35487
|
-
def _stability_detection(self, stability_detection: "scout_compute_api_StabilityDetectionRanges") -> Any:
|
|
35488
|
-
pass
|
|
35489
|
-
|
|
35490
35495
|
|
|
35491
35496
|
scout_compute_api_RangeSeriesVisitor.__name__ = "RangeSeriesVisitor"
|
|
35492
35497
|
scout_compute_api_RangeSeriesVisitor.__qualname__ = "RangeSeriesVisitor"
|
|
@@ -35534,21 +35539,21 @@ scout_compute_api_RangeSummary.__module__ = "nominal_api.scout_compute_api"
|
|
|
35534
35539
|
class scout_compute_api_RangeValue(ConjureUnionType):
|
|
35535
35540
|
_double: Optional[float] = None
|
|
35536
35541
|
_aggregation: Optional["scout_compute_api_RangeAggregation"] = None
|
|
35537
|
-
_no_points_in_range: Optional["
|
|
35542
|
+
_no_points_in_range: Optional["api_Empty"] = None
|
|
35538
35543
|
|
|
35539
35544
|
@builtins.classmethod
|
|
35540
35545
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
35541
35546
|
return {
|
|
35542
35547
|
'double': ConjureFieldDefinition('double', float),
|
|
35543
35548
|
'aggregation': ConjureFieldDefinition('aggregation', scout_compute_api_RangeAggregation),
|
|
35544
|
-
'no_points_in_range': ConjureFieldDefinition('noPointsInRange',
|
|
35549
|
+
'no_points_in_range': ConjureFieldDefinition('noPointsInRange', api_Empty)
|
|
35545
35550
|
}
|
|
35546
35551
|
|
|
35547
35552
|
def __init__(
|
|
35548
35553
|
self,
|
|
35549
35554
|
double: Optional[float] = None,
|
|
35550
35555
|
aggregation: Optional["scout_compute_api_RangeAggregation"] = None,
|
|
35551
|
-
no_points_in_range: Optional["
|
|
35556
|
+
no_points_in_range: Optional["api_Empty"] = None,
|
|
35552
35557
|
type_of_union: Optional[str] = None
|
|
35553
35558
|
) -> None:
|
|
35554
35559
|
if type_of_union is None:
|
|
@@ -35590,7 +35595,7 @@ class scout_compute_api_RangeValue(ConjureUnionType):
|
|
|
35590
35595
|
return self._aggregation
|
|
35591
35596
|
|
|
35592
35597
|
@builtins.property
|
|
35593
|
-
def no_points_in_range(self) -> Optional["
|
|
35598
|
+
def no_points_in_range(self) -> Optional["api_Empty"]:
|
|
35594
35599
|
return self._no_points_in_range
|
|
35595
35600
|
|
|
35596
35601
|
def accept(self, visitor) -> Any:
|
|
@@ -35620,7 +35625,7 @@ class scout_compute_api_RangeValueVisitor:
|
|
|
35620
35625
|
pass
|
|
35621
35626
|
|
|
35622
35627
|
@abstractmethod
|
|
35623
|
-
def _no_points_in_range(self, no_points_in_range: "
|
|
35628
|
+
def _no_points_in_range(self, no_points_in_range: "api_Empty") -> Any:
|
|
35624
35629
|
pass
|
|
35625
35630
|
|
|
35626
35631
|
|
|
@@ -36081,7 +36086,7 @@ class scout_compute_api_RunChannel(ConjureBeanType):
|
|
|
36081
36086
|
"""
|
|
36082
36087
|
Tags to filter the channel by, in addition to tag filters defined for a given Run data scope. Throws on
|
|
36083
36088
|
collisions with tag keys already defined for the given Run data scope. Only returns points that match
|
|
36084
|
-
both sets of tag filters.
|
|
36089
|
+
both sets of tag filters. For log series, include arg filters here in addition to tag filters.
|
|
36085
36090
|
"""
|
|
36086
36091
|
return self._additional_tags
|
|
36087
36092
|
|
|
@@ -37039,6 +37044,83 @@ scout_compute_api_SumSeries.__qualname__ = "SumSeries"
|
|
|
37039
37044
|
scout_compute_api_SumSeries.__module__ = "nominal_api.scout_compute_api"
|
|
37040
37045
|
|
|
37041
37046
|
|
|
37047
|
+
class scout_compute_api_SummarizationStrategy(ConjureUnionType):
|
|
37048
|
+
_decimate: Optional["scout_compute_api_DecimateStrategy"] = None
|
|
37049
|
+
_page: Optional["scout_compute_api_PageStrategy"] = None
|
|
37050
|
+
|
|
37051
|
+
@builtins.classmethod
|
|
37052
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
37053
|
+
return {
|
|
37054
|
+
'decimate': ConjureFieldDefinition('decimate', scout_compute_api_DecimateStrategy),
|
|
37055
|
+
'page': ConjureFieldDefinition('page', scout_compute_api_PageStrategy)
|
|
37056
|
+
}
|
|
37057
|
+
|
|
37058
|
+
def __init__(
|
|
37059
|
+
self,
|
|
37060
|
+
decimate: Optional["scout_compute_api_DecimateStrategy"] = None,
|
|
37061
|
+
page: Optional["scout_compute_api_PageStrategy"] = None,
|
|
37062
|
+
type_of_union: Optional[str] = None
|
|
37063
|
+
) -> None:
|
|
37064
|
+
if type_of_union is None:
|
|
37065
|
+
if (decimate is not None) + (page is not None) != 1:
|
|
37066
|
+
raise ValueError('a union must contain a single member')
|
|
37067
|
+
|
|
37068
|
+
if decimate is not None:
|
|
37069
|
+
self._decimate = decimate
|
|
37070
|
+
self._type = 'decimate'
|
|
37071
|
+
if page is not None:
|
|
37072
|
+
self._page = page
|
|
37073
|
+
self._type = 'page'
|
|
37074
|
+
|
|
37075
|
+
elif type_of_union == 'decimate':
|
|
37076
|
+
if decimate is None:
|
|
37077
|
+
raise ValueError('a union value must not be None')
|
|
37078
|
+
self._decimate = decimate
|
|
37079
|
+
self._type = 'decimate'
|
|
37080
|
+
elif type_of_union == 'page':
|
|
37081
|
+
if page is None:
|
|
37082
|
+
raise ValueError('a union value must not be None')
|
|
37083
|
+
self._page = page
|
|
37084
|
+
self._type = 'page'
|
|
37085
|
+
|
|
37086
|
+
@builtins.property
|
|
37087
|
+
def decimate(self) -> Optional["scout_compute_api_DecimateStrategy"]:
|
|
37088
|
+
return self._decimate
|
|
37089
|
+
|
|
37090
|
+
@builtins.property
|
|
37091
|
+
def page(self) -> Optional["scout_compute_api_PageStrategy"]:
|
|
37092
|
+
return self._page
|
|
37093
|
+
|
|
37094
|
+
def accept(self, visitor) -> Any:
|
|
37095
|
+
if not isinstance(visitor, scout_compute_api_SummarizationStrategyVisitor):
|
|
37096
|
+
raise ValueError('{} is not an instance of scout_compute_api_SummarizationStrategyVisitor'.format(visitor.__class__.__name__))
|
|
37097
|
+
if self._type == 'decimate' and self.decimate is not None:
|
|
37098
|
+
return visitor._decimate(self.decimate)
|
|
37099
|
+
if self._type == 'page' and self.page is not None:
|
|
37100
|
+
return visitor._page(self.page)
|
|
37101
|
+
|
|
37102
|
+
|
|
37103
|
+
scout_compute_api_SummarizationStrategy.__name__ = "SummarizationStrategy"
|
|
37104
|
+
scout_compute_api_SummarizationStrategy.__qualname__ = "SummarizationStrategy"
|
|
37105
|
+
scout_compute_api_SummarizationStrategy.__module__ = "nominal_api.scout_compute_api"
|
|
37106
|
+
|
|
37107
|
+
|
|
37108
|
+
class scout_compute_api_SummarizationStrategyVisitor:
|
|
37109
|
+
|
|
37110
|
+
@abstractmethod
|
|
37111
|
+
def _decimate(self, decimate: "scout_compute_api_DecimateStrategy") -> Any:
|
|
37112
|
+
pass
|
|
37113
|
+
|
|
37114
|
+
@abstractmethod
|
|
37115
|
+
def _page(self, page: "scout_compute_api_PageStrategy") -> Any:
|
|
37116
|
+
pass
|
|
37117
|
+
|
|
37118
|
+
|
|
37119
|
+
scout_compute_api_SummarizationStrategyVisitor.__name__ = "SummarizationStrategyVisitor"
|
|
37120
|
+
scout_compute_api_SummarizationStrategyVisitor.__qualname__ = "SummarizationStrategyVisitor"
|
|
37121
|
+
scout_compute_api_SummarizationStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
37122
|
+
|
|
37123
|
+
|
|
37042
37124
|
class scout_compute_api_SummarizeCartesian(ConjureBeanType):
|
|
37043
37125
|
|
|
37044
37126
|
@builtins.classmethod
|
|
@@ -37142,8 +37224,8 @@ scout_compute_api_SummarizeRanges.__module__ = "nominal_api.scout_compute_api"
|
|
|
37142
37224
|
|
|
37143
37225
|
class scout_compute_api_SummarizeSeries(ConjureBeanType):
|
|
37144
37226
|
"""
|
|
37145
|
-
Summarizes the output of a series node. The output can be a numeric, enum, or cartesian series.
|
|
37146
|
-
|
|
37227
|
+
Summarizes the output of a series node. The output can be a numeric, enum, log, or cartesian series.
|
|
37228
|
+
Summarization strategy should be specified.
|
|
37147
37229
|
"""
|
|
37148
37230
|
|
|
37149
37231
|
@builtins.classmethod
|
|
@@ -37151,15 +37233,17 @@ Only resolution or buckets should be specified, not both.
|
|
|
37151
37233
|
return {
|
|
37152
37234
|
'input': ConjureFieldDefinition('input', scout_compute_api_Series),
|
|
37153
37235
|
'resolution': ConjureFieldDefinition('resolution', OptionalTypeWrapper[int]),
|
|
37154
|
-
'buckets': ConjureFieldDefinition('buckets', OptionalTypeWrapper[int])
|
|
37236
|
+
'buckets': ConjureFieldDefinition('buckets', OptionalTypeWrapper[int]),
|
|
37237
|
+
'summarization_strategy': ConjureFieldDefinition('summarizationStrategy', OptionalTypeWrapper[scout_compute_api_SummarizationStrategy])
|
|
37155
37238
|
}
|
|
37156
37239
|
|
|
37157
|
-
__slots__: List[str] = ['_input', '_resolution', '_buckets']
|
|
37240
|
+
__slots__: List[str] = ['_input', '_resolution', '_buckets', '_summarization_strategy']
|
|
37158
37241
|
|
|
37159
|
-
def __init__(self, input: "scout_compute_api_Series", buckets: Optional[int] = None, resolution: Optional[int] = None) -> None:
|
|
37242
|
+
def __init__(self, input: "scout_compute_api_Series", buckets: Optional[int] = None, resolution: Optional[int] = None, summarization_strategy: Optional["scout_compute_api_SummarizationStrategy"] = None) -> None:
|
|
37160
37243
|
self._input = input
|
|
37161
37244
|
self._resolution = resolution
|
|
37162
37245
|
self._buckets = buckets
|
|
37246
|
+
self._summarization_strategy = summarization_strategy
|
|
37163
37247
|
|
|
37164
37248
|
@builtins.property
|
|
37165
37249
|
def input(self) -> "scout_compute_api_Series":
|
|
@@ -37180,6 +37264,13 @@ Picoseconds for picosecond-granularity dataset, nanoseconds otherwise.
|
|
|
37180
37264
|
"""
|
|
37181
37265
|
return self._buckets
|
|
37182
37266
|
|
|
37267
|
+
@builtins.property
|
|
37268
|
+
def summarization_strategy(self) -> Optional["scout_compute_api_SummarizationStrategy"]:
|
|
37269
|
+
"""
|
|
37270
|
+
The strategy to use when summarizing the series.
|
|
37271
|
+
"""
|
|
37272
|
+
return self._summarization_strategy
|
|
37273
|
+
|
|
37183
37274
|
|
|
37184
37275
|
scout_compute_api_SummarizeSeries.__name__ = "SummarizeSeries"
|
|
37185
37276
|
scout_compute_api_SummarizeSeries.__qualname__ = "SummarizeSeries"
|
|
@@ -42465,6 +42556,250 @@ scout_compute_resolved_api_LatLongGeoNode.__qualname__ = "LatLongGeoNode"
|
|
|
42465
42556
|
scout_compute_resolved_api_LatLongGeoNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
42466
42557
|
|
|
42467
42558
|
|
|
42559
|
+
class scout_compute_resolved_api_LogFilterRangesNode(ConjureBeanType):
|
|
42560
|
+
|
|
42561
|
+
@builtins.classmethod
|
|
42562
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
42563
|
+
return {
|
|
42564
|
+
'input': ConjureFieldDefinition('input', scout_compute_resolved_api_LogSeriesNode),
|
|
42565
|
+
'operator': ConjureFieldDefinition('operator', scout_compute_api_LogFilterOperator),
|
|
42566
|
+
'persistence_window_configuration': ConjureFieldDefinition('persistenceWindowConfiguration', OptionalTypeWrapper[scout_compute_resolved_api_PersistenceWindowConfiguration])
|
|
42567
|
+
}
|
|
42568
|
+
|
|
42569
|
+
__slots__: List[str] = ['_input', '_operator', '_persistence_window_configuration']
|
|
42570
|
+
|
|
42571
|
+
def __init__(self, input: "scout_compute_resolved_api_LogSeriesNode", operator: "scout_compute_api_LogFilterOperator", persistence_window_configuration: Optional["scout_compute_resolved_api_PersistenceWindowConfiguration"] = None) -> None:
|
|
42572
|
+
self._input = input
|
|
42573
|
+
self._operator = operator
|
|
42574
|
+
self._persistence_window_configuration = persistence_window_configuration
|
|
42575
|
+
|
|
42576
|
+
@builtins.property
|
|
42577
|
+
def input(self) -> "scout_compute_resolved_api_LogSeriesNode":
|
|
42578
|
+
return self._input
|
|
42579
|
+
|
|
42580
|
+
@builtins.property
|
|
42581
|
+
def operator(self) -> "scout_compute_api_LogFilterOperator":
|
|
42582
|
+
return self._operator
|
|
42583
|
+
|
|
42584
|
+
@builtins.property
|
|
42585
|
+
def persistence_window_configuration(self) -> Optional["scout_compute_resolved_api_PersistenceWindowConfiguration"]:
|
|
42586
|
+
return self._persistence_window_configuration
|
|
42587
|
+
|
|
42588
|
+
|
|
42589
|
+
scout_compute_resolved_api_LogFilterRangesNode.__name__ = "LogFilterRangesNode"
|
|
42590
|
+
scout_compute_resolved_api_LogFilterRangesNode.__qualname__ = "LogFilterRangesNode"
|
|
42591
|
+
scout_compute_resolved_api_LogFilterRangesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
42592
|
+
|
|
42593
|
+
|
|
42594
|
+
class scout_compute_resolved_api_LogFilterTransformationSeriesNode(ConjureBeanType):
|
|
42595
|
+
"""
|
|
42596
|
+
Outputs the values of the log plot value within the ranges specified by a ranges node
|
|
42597
|
+
"""
|
|
42598
|
+
|
|
42599
|
+
@builtins.classmethod
|
|
42600
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
42601
|
+
return {
|
|
42602
|
+
'input': ConjureFieldDefinition('input', scout_compute_resolved_api_LogSeriesNode),
|
|
42603
|
+
'filter': ConjureFieldDefinition('filter', scout_compute_resolved_api_RangesNode)
|
|
42604
|
+
}
|
|
42605
|
+
|
|
42606
|
+
__slots__: List[str] = ['_input', '_filter']
|
|
42607
|
+
|
|
42608
|
+
def __init__(self, filter: "scout_compute_resolved_api_RangesNode", input: "scout_compute_resolved_api_LogSeriesNode") -> None:
|
|
42609
|
+
self._input = input
|
|
42610
|
+
self._filter = filter
|
|
42611
|
+
|
|
42612
|
+
@builtins.property
|
|
42613
|
+
def input(self) -> "scout_compute_resolved_api_LogSeriesNode":
|
|
42614
|
+
return self._input
|
|
42615
|
+
|
|
42616
|
+
@builtins.property
|
|
42617
|
+
def filter(self) -> "scout_compute_resolved_api_RangesNode":
|
|
42618
|
+
return self._filter
|
|
42619
|
+
|
|
42620
|
+
|
|
42621
|
+
scout_compute_resolved_api_LogFilterTransformationSeriesNode.__name__ = "LogFilterTransformationSeriesNode"
|
|
42622
|
+
scout_compute_resolved_api_LogFilterTransformationSeriesNode.__qualname__ = "LogFilterTransformationSeriesNode"
|
|
42623
|
+
scout_compute_resolved_api_LogFilterTransformationSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
42624
|
+
|
|
42625
|
+
|
|
42626
|
+
class scout_compute_resolved_api_LogSeriesNode(ConjureUnionType):
|
|
42627
|
+
_raw: Optional["scout_compute_resolved_api_RawLogSeriesNode"] = None
|
|
42628
|
+
_union: Optional["scout_compute_resolved_api_LogUnionSeriesNode"] = None
|
|
42629
|
+
_filter_transformation: Optional["scout_compute_resolved_api_LogFilterTransformationSeriesNode"] = None
|
|
42630
|
+
_time_shift: Optional["scout_compute_resolved_api_LogTimeShiftSeriesNode"] = None
|
|
42631
|
+
|
|
42632
|
+
@builtins.classmethod
|
|
42633
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
42634
|
+
return {
|
|
42635
|
+
'raw': ConjureFieldDefinition('raw', scout_compute_resolved_api_RawLogSeriesNode),
|
|
42636
|
+
'union': ConjureFieldDefinition('union', scout_compute_resolved_api_LogUnionSeriesNode),
|
|
42637
|
+
'filter_transformation': ConjureFieldDefinition('filterTransformation', scout_compute_resolved_api_LogFilterTransformationSeriesNode),
|
|
42638
|
+
'time_shift': ConjureFieldDefinition('timeShift', scout_compute_resolved_api_LogTimeShiftSeriesNode)
|
|
42639
|
+
}
|
|
42640
|
+
|
|
42641
|
+
def __init__(
|
|
42642
|
+
self,
|
|
42643
|
+
raw: Optional["scout_compute_resolved_api_RawLogSeriesNode"] = None,
|
|
42644
|
+
union: Optional["scout_compute_resolved_api_LogUnionSeriesNode"] = None,
|
|
42645
|
+
filter_transformation: Optional["scout_compute_resolved_api_LogFilterTransformationSeriesNode"] = None,
|
|
42646
|
+
time_shift: Optional["scout_compute_resolved_api_LogTimeShiftSeriesNode"] = None,
|
|
42647
|
+
type_of_union: Optional[str] = None
|
|
42648
|
+
) -> None:
|
|
42649
|
+
if type_of_union is None:
|
|
42650
|
+
if (raw is not None) + (union is not None) + (filter_transformation is not None) + (time_shift is not None) != 1:
|
|
42651
|
+
raise ValueError('a union must contain a single member')
|
|
42652
|
+
|
|
42653
|
+
if raw is not None:
|
|
42654
|
+
self._raw = raw
|
|
42655
|
+
self._type = 'raw'
|
|
42656
|
+
if union is not None:
|
|
42657
|
+
self._union = union
|
|
42658
|
+
self._type = 'union'
|
|
42659
|
+
if filter_transformation is not None:
|
|
42660
|
+
self._filter_transformation = filter_transformation
|
|
42661
|
+
self._type = 'filterTransformation'
|
|
42662
|
+
if time_shift is not None:
|
|
42663
|
+
self._time_shift = time_shift
|
|
42664
|
+
self._type = 'timeShift'
|
|
42665
|
+
|
|
42666
|
+
elif type_of_union == 'raw':
|
|
42667
|
+
if raw is None:
|
|
42668
|
+
raise ValueError('a union value must not be None')
|
|
42669
|
+
self._raw = raw
|
|
42670
|
+
self._type = 'raw'
|
|
42671
|
+
elif type_of_union == 'union':
|
|
42672
|
+
if union is None:
|
|
42673
|
+
raise ValueError('a union value must not be None')
|
|
42674
|
+
self._union = union
|
|
42675
|
+
self._type = 'union'
|
|
42676
|
+
elif type_of_union == 'filterTransformation':
|
|
42677
|
+
if filter_transformation is None:
|
|
42678
|
+
raise ValueError('a union value must not be None')
|
|
42679
|
+
self._filter_transformation = filter_transformation
|
|
42680
|
+
self._type = 'filterTransformation'
|
|
42681
|
+
elif type_of_union == 'timeShift':
|
|
42682
|
+
if time_shift is None:
|
|
42683
|
+
raise ValueError('a union value must not be None')
|
|
42684
|
+
self._time_shift = time_shift
|
|
42685
|
+
self._type = 'timeShift'
|
|
42686
|
+
|
|
42687
|
+
@builtins.property
|
|
42688
|
+
def raw(self) -> Optional["scout_compute_resolved_api_RawLogSeriesNode"]:
|
|
42689
|
+
return self._raw
|
|
42690
|
+
|
|
42691
|
+
@builtins.property
|
|
42692
|
+
def union(self) -> Optional["scout_compute_resolved_api_LogUnionSeriesNode"]:
|
|
42693
|
+
return self._union
|
|
42694
|
+
|
|
42695
|
+
@builtins.property
|
|
42696
|
+
def filter_transformation(self) -> Optional["scout_compute_resolved_api_LogFilterTransformationSeriesNode"]:
|
|
42697
|
+
return self._filter_transformation
|
|
42698
|
+
|
|
42699
|
+
@builtins.property
|
|
42700
|
+
def time_shift(self) -> Optional["scout_compute_resolved_api_LogTimeShiftSeriesNode"]:
|
|
42701
|
+
return self._time_shift
|
|
42702
|
+
|
|
42703
|
+
def accept(self, visitor) -> Any:
|
|
42704
|
+
if not isinstance(visitor, scout_compute_resolved_api_LogSeriesNodeVisitor):
|
|
42705
|
+
raise ValueError('{} is not an instance of scout_compute_resolved_api_LogSeriesNodeVisitor'.format(visitor.__class__.__name__))
|
|
42706
|
+
if self._type == 'raw' and self.raw is not None:
|
|
42707
|
+
return visitor._raw(self.raw)
|
|
42708
|
+
if self._type == 'union' and self.union is not None:
|
|
42709
|
+
return visitor._union(self.union)
|
|
42710
|
+
if self._type == 'filterTransformation' and self.filter_transformation is not None:
|
|
42711
|
+
return visitor._filter_transformation(self.filter_transformation)
|
|
42712
|
+
if self._type == 'timeShift' and self.time_shift is not None:
|
|
42713
|
+
return visitor._time_shift(self.time_shift)
|
|
42714
|
+
|
|
42715
|
+
|
|
42716
|
+
scout_compute_resolved_api_LogSeriesNode.__name__ = "LogSeriesNode"
|
|
42717
|
+
scout_compute_resolved_api_LogSeriesNode.__qualname__ = "LogSeriesNode"
|
|
42718
|
+
scout_compute_resolved_api_LogSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
42719
|
+
|
|
42720
|
+
|
|
42721
|
+
class scout_compute_resolved_api_LogSeriesNodeVisitor:
|
|
42722
|
+
|
|
42723
|
+
@abstractmethod
|
|
42724
|
+
def _raw(self, raw: "scout_compute_resolved_api_RawLogSeriesNode") -> Any:
|
|
42725
|
+
pass
|
|
42726
|
+
|
|
42727
|
+
@abstractmethod
|
|
42728
|
+
def _union(self, union: "scout_compute_resolved_api_LogUnionSeriesNode") -> Any:
|
|
42729
|
+
pass
|
|
42730
|
+
|
|
42731
|
+
@abstractmethod
|
|
42732
|
+
def _filter_transformation(self, filter_transformation: "scout_compute_resolved_api_LogFilterTransformationSeriesNode") -> Any:
|
|
42733
|
+
pass
|
|
42734
|
+
|
|
42735
|
+
@abstractmethod
|
|
42736
|
+
def _time_shift(self, time_shift: "scout_compute_resolved_api_LogTimeShiftSeriesNode") -> Any:
|
|
42737
|
+
pass
|
|
42738
|
+
|
|
42739
|
+
|
|
42740
|
+
scout_compute_resolved_api_LogSeriesNodeVisitor.__name__ = "LogSeriesNodeVisitor"
|
|
42741
|
+
scout_compute_resolved_api_LogSeriesNodeVisitor.__qualname__ = "LogSeriesNodeVisitor"
|
|
42742
|
+
scout_compute_resolved_api_LogSeriesNodeVisitor.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
42743
|
+
|
|
42744
|
+
|
|
42745
|
+
class scout_compute_resolved_api_LogTimeShiftSeriesNode(ConjureBeanType):
|
|
42746
|
+
|
|
42747
|
+
@builtins.classmethod
|
|
42748
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
42749
|
+
return {
|
|
42750
|
+
'input': ConjureFieldDefinition('input', scout_compute_resolved_api_LogSeriesNode),
|
|
42751
|
+
'duration': ConjureFieldDefinition('duration', scout_run_api_Duration)
|
|
42752
|
+
}
|
|
42753
|
+
|
|
42754
|
+
__slots__: List[str] = ['_input', '_duration']
|
|
42755
|
+
|
|
42756
|
+
def __init__(self, duration: "scout_run_api_Duration", input: "scout_compute_resolved_api_LogSeriesNode") -> None:
|
|
42757
|
+
self._input = input
|
|
42758
|
+
self._duration = duration
|
|
42759
|
+
|
|
42760
|
+
@builtins.property
|
|
42761
|
+
def input(self) -> "scout_compute_resolved_api_LogSeriesNode":
|
|
42762
|
+
return self._input
|
|
42763
|
+
|
|
42764
|
+
@builtins.property
|
|
42765
|
+
def duration(self) -> "scout_run_api_Duration":
|
|
42766
|
+
return self._duration
|
|
42767
|
+
|
|
42768
|
+
|
|
42769
|
+
scout_compute_resolved_api_LogTimeShiftSeriesNode.__name__ = "LogTimeShiftSeriesNode"
|
|
42770
|
+
scout_compute_resolved_api_LogTimeShiftSeriesNode.__qualname__ = "LogTimeShiftSeriesNode"
|
|
42771
|
+
scout_compute_resolved_api_LogTimeShiftSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
42772
|
+
|
|
42773
|
+
|
|
42774
|
+
class scout_compute_resolved_api_LogUnionSeriesNode(ConjureBeanType):
|
|
42775
|
+
|
|
42776
|
+
@builtins.classmethod
|
|
42777
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
42778
|
+
return {
|
|
42779
|
+
'input': ConjureFieldDefinition('input', List[scout_compute_resolved_api_LogSeriesNode]),
|
|
42780
|
+
'operation': ConjureFieldDefinition('operation', scout_compute_api_LogUnionOperation)
|
|
42781
|
+
}
|
|
42782
|
+
|
|
42783
|
+
__slots__: List[str] = ['_input', '_operation']
|
|
42784
|
+
|
|
42785
|
+
def __init__(self, input: List["scout_compute_resolved_api_LogSeriesNode"], operation: "scout_compute_api_LogUnionOperation") -> None:
|
|
42786
|
+
self._input = input
|
|
42787
|
+
self._operation = operation
|
|
42788
|
+
|
|
42789
|
+
@builtins.property
|
|
42790
|
+
def input(self) -> List["scout_compute_resolved_api_LogSeriesNode"]:
|
|
42791
|
+
return self._input
|
|
42792
|
+
|
|
42793
|
+
@builtins.property
|
|
42794
|
+
def operation(self) -> "scout_compute_api_LogUnionOperation":
|
|
42795
|
+
return self._operation
|
|
42796
|
+
|
|
42797
|
+
|
|
42798
|
+
scout_compute_resolved_api_LogUnionSeriesNode.__name__ = "LogUnionSeriesNode"
|
|
42799
|
+
scout_compute_resolved_api_LogUnionSeriesNode.__qualname__ = "LogUnionSeriesNode"
|
|
42800
|
+
scout_compute_resolved_api_LogUnionSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
42801
|
+
|
|
42802
|
+
|
|
42468
42803
|
class scout_compute_resolved_api_LowPassConfiguration(ConjureBeanType):
|
|
42469
42804
|
|
|
42470
42805
|
@builtins.classmethod
|
|
@@ -43676,109 +44011,115 @@ scout_compute_resolved_api_ProductSeriesNode.__module__ = "nominal_api.scout_com
|
|
|
43676
44011
|
|
|
43677
44012
|
|
|
43678
44013
|
class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
43679
|
-
_enum_filter: Optional["scout_compute_resolved_api_EnumFilterRangesNode"] = None
|
|
43680
44014
|
_enum_equality: Optional["scout_compute_resolved_api_EnumEqualityRangesNode"] = None
|
|
44015
|
+
_enum_filter: Optional["scout_compute_resolved_api_EnumFilterRangesNode"] = None
|
|
43681
44016
|
_extrema: Optional["scout_compute_resolved_api_ExtremaRangesNode"] = None
|
|
43682
44017
|
_intersect_range: Optional["scout_compute_resolved_api_IntersectRangesNode"] = None
|
|
43683
|
-
|
|
44018
|
+
_log_filter: Optional["scout_compute_resolved_api_LogFilterRangesNode"] = None
|
|
43684
44019
|
_min_max_threshold: Optional["scout_compute_resolved_api_MinMaxThresholdRangesNode"] = None
|
|
44020
|
+
_not_: Optional["scout_compute_resolved_api_NotRangesNode"] = None
|
|
43685
44021
|
_on_change: Optional["scout_compute_resolved_api_OnChangeRangesNode"] = None
|
|
43686
|
-
|
|
44022
|
+
_range_numeric_aggregation: Optional["scout_compute_resolved_api_RangesNumericAggregationNode"] = None
|
|
43687
44023
|
_series_crossover_ranges_node: Optional["scout_compute_resolved_api_SeriesCrossoverRangesNode"] = None
|
|
43688
44024
|
_stale_range: Optional["scout_compute_resolved_api_StaleRangesNode"] = None
|
|
43689
|
-
_union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None
|
|
43690
|
-
_range_numeric_aggregation: Optional["scout_compute_resolved_api_RangesNumericAggregationNode"] = None
|
|
43691
44025
|
_stability_detection: Optional["scout_compute_resolved_api_StabilityDetectionRangesNode"] = None
|
|
44026
|
+
_threshold: Optional["scout_compute_resolved_api_ThresholdingRangesNode"] = None
|
|
44027
|
+
_union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None
|
|
43692
44028
|
|
|
43693
44029
|
@builtins.classmethod
|
|
43694
44030
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
43695
44031
|
return {
|
|
43696
|
-
'enum_filter': ConjureFieldDefinition('enumFilter', scout_compute_resolved_api_EnumFilterRangesNode),
|
|
43697
44032
|
'enum_equality': ConjureFieldDefinition('enumEquality', scout_compute_resolved_api_EnumEqualityRangesNode),
|
|
44033
|
+
'enum_filter': ConjureFieldDefinition('enumFilter', scout_compute_resolved_api_EnumFilterRangesNode),
|
|
43698
44034
|
'extrema': ConjureFieldDefinition('extrema', scout_compute_resolved_api_ExtremaRangesNode),
|
|
43699
44035
|
'intersect_range': ConjureFieldDefinition('intersectRange', scout_compute_resolved_api_IntersectRangesNode),
|
|
43700
|
-
'
|
|
44036
|
+
'log_filter': ConjureFieldDefinition('logFilter', scout_compute_resolved_api_LogFilterRangesNode),
|
|
43701
44037
|
'min_max_threshold': ConjureFieldDefinition('minMaxThreshold', scout_compute_resolved_api_MinMaxThresholdRangesNode),
|
|
44038
|
+
'not_': ConjureFieldDefinition('not', scout_compute_resolved_api_NotRangesNode),
|
|
43702
44039
|
'on_change': ConjureFieldDefinition('onChange', scout_compute_resolved_api_OnChangeRangesNode),
|
|
43703
|
-
'
|
|
44040
|
+
'range_numeric_aggregation': ConjureFieldDefinition('rangeNumericAggregation', scout_compute_resolved_api_RangesNumericAggregationNode),
|
|
43704
44041
|
'series_crossover_ranges_node': ConjureFieldDefinition('seriesCrossoverRangesNode', scout_compute_resolved_api_SeriesCrossoverRangesNode),
|
|
43705
44042
|
'stale_range': ConjureFieldDefinition('staleRange', scout_compute_resolved_api_StaleRangesNode),
|
|
43706
|
-
'
|
|
43707
|
-
'
|
|
43708
|
-
'
|
|
44043
|
+
'stability_detection': ConjureFieldDefinition('stabilityDetection', scout_compute_resolved_api_StabilityDetectionRangesNode),
|
|
44044
|
+
'threshold': ConjureFieldDefinition('threshold', scout_compute_resolved_api_ThresholdingRangesNode),
|
|
44045
|
+
'union_range': ConjureFieldDefinition('unionRange', scout_compute_resolved_api_UnionRangesNode)
|
|
43709
44046
|
}
|
|
43710
44047
|
|
|
43711
44048
|
def __init__(
|
|
43712
44049
|
self,
|
|
43713
|
-
enum_filter: Optional["scout_compute_resolved_api_EnumFilterRangesNode"] = None,
|
|
43714
44050
|
enum_equality: Optional["scout_compute_resolved_api_EnumEqualityRangesNode"] = None,
|
|
44051
|
+
enum_filter: Optional["scout_compute_resolved_api_EnumFilterRangesNode"] = None,
|
|
43715
44052
|
extrema: Optional["scout_compute_resolved_api_ExtremaRangesNode"] = None,
|
|
43716
44053
|
intersect_range: Optional["scout_compute_resolved_api_IntersectRangesNode"] = None,
|
|
43717
|
-
|
|
44054
|
+
log_filter: Optional["scout_compute_resolved_api_LogFilterRangesNode"] = None,
|
|
43718
44055
|
min_max_threshold: Optional["scout_compute_resolved_api_MinMaxThresholdRangesNode"] = None,
|
|
44056
|
+
not_: Optional["scout_compute_resolved_api_NotRangesNode"] = None,
|
|
43719
44057
|
on_change: Optional["scout_compute_resolved_api_OnChangeRangesNode"] = None,
|
|
43720
|
-
|
|
44058
|
+
range_numeric_aggregation: Optional["scout_compute_resolved_api_RangesNumericAggregationNode"] = None,
|
|
43721
44059
|
series_crossover_ranges_node: Optional["scout_compute_resolved_api_SeriesCrossoverRangesNode"] = None,
|
|
43722
44060
|
stale_range: Optional["scout_compute_resolved_api_StaleRangesNode"] = None,
|
|
43723
|
-
union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None,
|
|
43724
|
-
range_numeric_aggregation: Optional["scout_compute_resolved_api_RangesNumericAggregationNode"] = None,
|
|
43725
44061
|
stability_detection: Optional["scout_compute_resolved_api_StabilityDetectionRangesNode"] = None,
|
|
44062
|
+
threshold: Optional["scout_compute_resolved_api_ThresholdingRangesNode"] = None,
|
|
44063
|
+
union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None,
|
|
43726
44064
|
type_of_union: Optional[str] = None
|
|
43727
44065
|
) -> None:
|
|
43728
44066
|
if type_of_union is None:
|
|
43729
|
-
if (
|
|
44067
|
+
if (enum_equality is not None) + (enum_filter is not None) + (extrema is not None) + (intersect_range is not None) + (log_filter is not None) + (min_max_threshold is not None) + (not_ is not None) + (on_change is not None) + (range_numeric_aggregation is not None) + (series_crossover_ranges_node is not None) + (stale_range is not None) + (stability_detection is not None) + (threshold is not None) + (union_range is not None) != 1:
|
|
43730
44068
|
raise ValueError('a union must contain a single member')
|
|
43731
44069
|
|
|
43732
|
-
if enum_filter is not None:
|
|
43733
|
-
self._enum_filter = enum_filter
|
|
43734
|
-
self._type = 'enumFilter'
|
|
43735
44070
|
if enum_equality is not None:
|
|
43736
44071
|
self._enum_equality = enum_equality
|
|
43737
44072
|
self._type = 'enumEquality'
|
|
44073
|
+
if enum_filter is not None:
|
|
44074
|
+
self._enum_filter = enum_filter
|
|
44075
|
+
self._type = 'enumFilter'
|
|
43738
44076
|
if extrema is not None:
|
|
43739
44077
|
self._extrema = extrema
|
|
43740
44078
|
self._type = 'extrema'
|
|
43741
44079
|
if intersect_range is not None:
|
|
43742
44080
|
self._intersect_range = intersect_range
|
|
43743
44081
|
self._type = 'intersectRange'
|
|
43744
|
-
if
|
|
43745
|
-
self.
|
|
43746
|
-
self._type = '
|
|
44082
|
+
if log_filter is not None:
|
|
44083
|
+
self._log_filter = log_filter
|
|
44084
|
+
self._type = 'logFilter'
|
|
43747
44085
|
if min_max_threshold is not None:
|
|
43748
44086
|
self._min_max_threshold = min_max_threshold
|
|
43749
44087
|
self._type = 'minMaxThreshold'
|
|
44088
|
+
if not_ is not None:
|
|
44089
|
+
self._not_ = not_
|
|
44090
|
+
self._type = 'not'
|
|
43750
44091
|
if on_change is not None:
|
|
43751
44092
|
self._on_change = on_change
|
|
43752
44093
|
self._type = 'onChange'
|
|
43753
|
-
if
|
|
43754
|
-
self.
|
|
43755
|
-
self._type = '
|
|
44094
|
+
if range_numeric_aggregation is not None:
|
|
44095
|
+
self._range_numeric_aggregation = range_numeric_aggregation
|
|
44096
|
+
self._type = 'rangeNumericAggregation'
|
|
43756
44097
|
if series_crossover_ranges_node is not None:
|
|
43757
44098
|
self._series_crossover_ranges_node = series_crossover_ranges_node
|
|
43758
44099
|
self._type = 'seriesCrossoverRangesNode'
|
|
43759
44100
|
if stale_range is not None:
|
|
43760
44101
|
self._stale_range = stale_range
|
|
43761
44102
|
self._type = 'staleRange'
|
|
43762
|
-
if union_range is not None:
|
|
43763
|
-
self._union_range = union_range
|
|
43764
|
-
self._type = 'unionRange'
|
|
43765
|
-
if range_numeric_aggregation is not None:
|
|
43766
|
-
self._range_numeric_aggregation = range_numeric_aggregation
|
|
43767
|
-
self._type = 'rangeNumericAggregation'
|
|
43768
44103
|
if stability_detection is not None:
|
|
43769
44104
|
self._stability_detection = stability_detection
|
|
43770
44105
|
self._type = 'stabilityDetection'
|
|
44106
|
+
if threshold is not None:
|
|
44107
|
+
self._threshold = threshold
|
|
44108
|
+
self._type = 'threshold'
|
|
44109
|
+
if union_range is not None:
|
|
44110
|
+
self._union_range = union_range
|
|
44111
|
+
self._type = 'unionRange'
|
|
43771
44112
|
|
|
43772
|
-
elif type_of_union == 'enumFilter':
|
|
43773
|
-
if enum_filter is None:
|
|
43774
|
-
raise ValueError('a union value must not be None')
|
|
43775
|
-
self._enum_filter = enum_filter
|
|
43776
|
-
self._type = 'enumFilter'
|
|
43777
44113
|
elif type_of_union == 'enumEquality':
|
|
43778
44114
|
if enum_equality is None:
|
|
43779
44115
|
raise ValueError('a union value must not be None')
|
|
43780
44116
|
self._enum_equality = enum_equality
|
|
43781
44117
|
self._type = 'enumEquality'
|
|
44118
|
+
elif type_of_union == 'enumFilter':
|
|
44119
|
+
if enum_filter is None:
|
|
44120
|
+
raise ValueError('a union value must not be None')
|
|
44121
|
+
self._enum_filter = enum_filter
|
|
44122
|
+
self._type = 'enumFilter'
|
|
43782
44123
|
elif type_of_union == 'extrema':
|
|
43783
44124
|
if extrema is None:
|
|
43784
44125
|
raise ValueError('a union value must not be None')
|
|
@@ -43789,26 +44130,31 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
43789
44130
|
raise ValueError('a union value must not be None')
|
|
43790
44131
|
self._intersect_range = intersect_range
|
|
43791
44132
|
self._type = 'intersectRange'
|
|
43792
|
-
elif type_of_union == '
|
|
43793
|
-
if
|
|
44133
|
+
elif type_of_union == 'logFilter':
|
|
44134
|
+
if log_filter is None:
|
|
43794
44135
|
raise ValueError('a union value must not be None')
|
|
43795
|
-
self.
|
|
43796
|
-
self._type = '
|
|
44136
|
+
self._log_filter = log_filter
|
|
44137
|
+
self._type = 'logFilter'
|
|
43797
44138
|
elif type_of_union == 'minMaxThreshold':
|
|
43798
44139
|
if min_max_threshold is None:
|
|
43799
44140
|
raise ValueError('a union value must not be None')
|
|
43800
44141
|
self._min_max_threshold = min_max_threshold
|
|
43801
44142
|
self._type = 'minMaxThreshold'
|
|
44143
|
+
elif type_of_union == 'not':
|
|
44144
|
+
if not_ is None:
|
|
44145
|
+
raise ValueError('a union value must not be None')
|
|
44146
|
+
self._not_ = not_
|
|
44147
|
+
self._type = 'not'
|
|
43802
44148
|
elif type_of_union == 'onChange':
|
|
43803
44149
|
if on_change is None:
|
|
43804
44150
|
raise ValueError('a union value must not be None')
|
|
43805
44151
|
self._on_change = on_change
|
|
43806
44152
|
self._type = 'onChange'
|
|
43807
|
-
elif type_of_union == '
|
|
43808
|
-
if
|
|
44153
|
+
elif type_of_union == 'rangeNumericAggregation':
|
|
44154
|
+
if range_numeric_aggregation is None:
|
|
43809
44155
|
raise ValueError('a union value must not be None')
|
|
43810
|
-
self.
|
|
43811
|
-
self._type = '
|
|
44156
|
+
self._range_numeric_aggregation = range_numeric_aggregation
|
|
44157
|
+
self._type = 'rangeNumericAggregation'
|
|
43812
44158
|
elif type_of_union == 'seriesCrossoverRangesNode':
|
|
43813
44159
|
if series_crossover_ranges_node is None:
|
|
43814
44160
|
raise ValueError('a union value must not be None')
|
|
@@ -43819,30 +44165,30 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
43819
44165
|
raise ValueError('a union value must not be None')
|
|
43820
44166
|
self._stale_range = stale_range
|
|
43821
44167
|
self._type = 'staleRange'
|
|
43822
|
-
elif type_of_union == 'unionRange':
|
|
43823
|
-
if union_range is None:
|
|
43824
|
-
raise ValueError('a union value must not be None')
|
|
43825
|
-
self._union_range = union_range
|
|
43826
|
-
self._type = 'unionRange'
|
|
43827
|
-
elif type_of_union == 'rangeNumericAggregation':
|
|
43828
|
-
if range_numeric_aggregation is None:
|
|
43829
|
-
raise ValueError('a union value must not be None')
|
|
43830
|
-
self._range_numeric_aggregation = range_numeric_aggregation
|
|
43831
|
-
self._type = 'rangeNumericAggregation'
|
|
43832
44168
|
elif type_of_union == 'stabilityDetection':
|
|
43833
44169
|
if stability_detection is None:
|
|
43834
44170
|
raise ValueError('a union value must not be None')
|
|
43835
44171
|
self._stability_detection = stability_detection
|
|
43836
44172
|
self._type = 'stabilityDetection'
|
|
43837
|
-
|
|
43838
|
-
|
|
43839
|
-
|
|
43840
|
-
|
|
44173
|
+
elif type_of_union == 'threshold':
|
|
44174
|
+
if threshold is None:
|
|
44175
|
+
raise ValueError('a union value must not be None')
|
|
44176
|
+
self._threshold = threshold
|
|
44177
|
+
self._type = 'threshold'
|
|
44178
|
+
elif type_of_union == 'unionRange':
|
|
44179
|
+
if union_range is None:
|
|
44180
|
+
raise ValueError('a union value must not be None')
|
|
44181
|
+
self._union_range = union_range
|
|
44182
|
+
self._type = 'unionRange'
|
|
43841
44183
|
|
|
43842
44184
|
@builtins.property
|
|
43843
44185
|
def enum_equality(self) -> Optional["scout_compute_resolved_api_EnumEqualityRangesNode"]:
|
|
43844
44186
|
return self._enum_equality
|
|
43845
44187
|
|
|
44188
|
+
@builtins.property
|
|
44189
|
+
def enum_filter(self) -> Optional["scout_compute_resolved_api_EnumFilterRangesNode"]:
|
|
44190
|
+
return self._enum_filter
|
|
44191
|
+
|
|
43846
44192
|
@builtins.property
|
|
43847
44193
|
def extrema(self) -> Optional["scout_compute_resolved_api_ExtremaRangesNode"]:
|
|
43848
44194
|
return self._extrema
|
|
@@ -43852,20 +44198,24 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
43852
44198
|
return self._intersect_range
|
|
43853
44199
|
|
|
43854
44200
|
@builtins.property
|
|
43855
|
-
def
|
|
43856
|
-
return self.
|
|
44201
|
+
def log_filter(self) -> Optional["scout_compute_resolved_api_LogFilterRangesNode"]:
|
|
44202
|
+
return self._log_filter
|
|
43857
44203
|
|
|
43858
44204
|
@builtins.property
|
|
43859
44205
|
def min_max_threshold(self) -> Optional["scout_compute_resolved_api_MinMaxThresholdRangesNode"]:
|
|
43860
44206
|
return self._min_max_threshold
|
|
43861
44207
|
|
|
44208
|
+
@builtins.property
|
|
44209
|
+
def not_(self) -> Optional["scout_compute_resolved_api_NotRangesNode"]:
|
|
44210
|
+
return self._not_
|
|
44211
|
+
|
|
43862
44212
|
@builtins.property
|
|
43863
44213
|
def on_change(self) -> Optional["scout_compute_resolved_api_OnChangeRangesNode"]:
|
|
43864
44214
|
return self._on_change
|
|
43865
44215
|
|
|
43866
44216
|
@builtins.property
|
|
43867
|
-
def
|
|
43868
|
-
return self.
|
|
44217
|
+
def range_numeric_aggregation(self) -> Optional["scout_compute_resolved_api_RangesNumericAggregationNode"]:
|
|
44218
|
+
return self._range_numeric_aggregation
|
|
43869
44219
|
|
|
43870
44220
|
@builtins.property
|
|
43871
44221
|
def series_crossover_ranges_node(self) -> Optional["scout_compute_resolved_api_SeriesCrossoverRangesNode"]:
|
|
@@ -43876,46 +44226,48 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
43876
44226
|
return self._stale_range
|
|
43877
44227
|
|
|
43878
44228
|
@builtins.property
|
|
43879
|
-
def
|
|
43880
|
-
return self.
|
|
44229
|
+
def stability_detection(self) -> Optional["scout_compute_resolved_api_StabilityDetectionRangesNode"]:
|
|
44230
|
+
return self._stability_detection
|
|
43881
44231
|
|
|
43882
44232
|
@builtins.property
|
|
43883
|
-
def
|
|
43884
|
-
return self.
|
|
44233
|
+
def threshold(self) -> Optional["scout_compute_resolved_api_ThresholdingRangesNode"]:
|
|
44234
|
+
return self._threshold
|
|
43885
44235
|
|
|
43886
44236
|
@builtins.property
|
|
43887
|
-
def
|
|
43888
|
-
return self.
|
|
44237
|
+
def union_range(self) -> Optional["scout_compute_resolved_api_UnionRangesNode"]:
|
|
44238
|
+
return self._union_range
|
|
43889
44239
|
|
|
43890
44240
|
def accept(self, visitor) -> Any:
|
|
43891
44241
|
if not isinstance(visitor, scout_compute_resolved_api_RangesNodeVisitor):
|
|
43892
44242
|
raise ValueError('{} is not an instance of scout_compute_resolved_api_RangesNodeVisitor'.format(visitor.__class__.__name__))
|
|
43893
|
-
if self._type == 'enumFilter' and self.enum_filter is not None:
|
|
43894
|
-
return visitor._enum_filter(self.enum_filter)
|
|
43895
44243
|
if self._type == 'enumEquality' and self.enum_equality is not None:
|
|
43896
44244
|
return visitor._enum_equality(self.enum_equality)
|
|
44245
|
+
if self._type == 'enumFilter' and self.enum_filter is not None:
|
|
44246
|
+
return visitor._enum_filter(self.enum_filter)
|
|
43897
44247
|
if self._type == 'extrema' and self.extrema is not None:
|
|
43898
44248
|
return visitor._extrema(self.extrema)
|
|
43899
44249
|
if self._type == 'intersectRange' and self.intersect_range is not None:
|
|
43900
44250
|
return visitor._intersect_range(self.intersect_range)
|
|
43901
|
-
if self._type == '
|
|
43902
|
-
return visitor.
|
|
44251
|
+
if self._type == 'logFilter' and self.log_filter is not None:
|
|
44252
|
+
return visitor._log_filter(self.log_filter)
|
|
43903
44253
|
if self._type == 'minMaxThreshold' and self.min_max_threshold is not None:
|
|
43904
44254
|
return visitor._min_max_threshold(self.min_max_threshold)
|
|
44255
|
+
if self._type == 'not' and self.not_ is not None:
|
|
44256
|
+
return visitor._not(self.not_)
|
|
43905
44257
|
if self._type == 'onChange' and self.on_change is not None:
|
|
43906
44258
|
return visitor._on_change(self.on_change)
|
|
43907
|
-
if self._type == '
|
|
43908
|
-
return visitor.
|
|
44259
|
+
if self._type == 'rangeNumericAggregation' and self.range_numeric_aggregation is not None:
|
|
44260
|
+
return visitor._range_numeric_aggregation(self.range_numeric_aggregation)
|
|
43909
44261
|
if self._type == 'seriesCrossoverRangesNode' and self.series_crossover_ranges_node is not None:
|
|
43910
44262
|
return visitor._series_crossover_ranges_node(self.series_crossover_ranges_node)
|
|
43911
44263
|
if self._type == 'staleRange' and self.stale_range is not None:
|
|
43912
44264
|
return visitor._stale_range(self.stale_range)
|
|
43913
|
-
if self._type == 'unionRange' and self.union_range is not None:
|
|
43914
|
-
return visitor._union_range(self.union_range)
|
|
43915
|
-
if self._type == 'rangeNumericAggregation' and self.range_numeric_aggregation is not None:
|
|
43916
|
-
return visitor._range_numeric_aggregation(self.range_numeric_aggregation)
|
|
43917
44265
|
if self._type == 'stabilityDetection' and self.stability_detection is not None:
|
|
43918
44266
|
return visitor._stability_detection(self.stability_detection)
|
|
44267
|
+
if self._type == 'threshold' and self.threshold is not None:
|
|
44268
|
+
return visitor._threshold(self.threshold)
|
|
44269
|
+
if self._type == 'unionRange' and self.union_range is not None:
|
|
44270
|
+
return visitor._union_range(self.union_range)
|
|
43919
44271
|
|
|
43920
44272
|
|
|
43921
44273
|
scout_compute_resolved_api_RangesNode.__name__ = "RangesNode"
|
|
@@ -43926,11 +44278,11 @@ scout_compute_resolved_api_RangesNode.__module__ = "nominal_api.scout_compute_re
|
|
|
43926
44278
|
class scout_compute_resolved_api_RangesNodeVisitor:
|
|
43927
44279
|
|
|
43928
44280
|
@abstractmethod
|
|
43929
|
-
def
|
|
44281
|
+
def _enum_equality(self, enum_equality: "scout_compute_resolved_api_EnumEqualityRangesNode") -> Any:
|
|
43930
44282
|
pass
|
|
43931
44283
|
|
|
43932
44284
|
@abstractmethod
|
|
43933
|
-
def
|
|
44285
|
+
def _enum_filter(self, enum_filter: "scout_compute_resolved_api_EnumFilterRangesNode") -> Any:
|
|
43934
44286
|
pass
|
|
43935
44287
|
|
|
43936
44288
|
@abstractmethod
|
|
@@ -43942,19 +44294,23 @@ class scout_compute_resolved_api_RangesNodeVisitor:
|
|
|
43942
44294
|
pass
|
|
43943
44295
|
|
|
43944
44296
|
@abstractmethod
|
|
43945
|
-
def
|
|
44297
|
+
def _log_filter(self, log_filter: "scout_compute_resolved_api_LogFilterRangesNode") -> Any:
|
|
43946
44298
|
pass
|
|
43947
44299
|
|
|
43948
44300
|
@abstractmethod
|
|
43949
44301
|
def _min_max_threshold(self, min_max_threshold: "scout_compute_resolved_api_MinMaxThresholdRangesNode") -> Any:
|
|
43950
44302
|
pass
|
|
43951
44303
|
|
|
44304
|
+
@abstractmethod
|
|
44305
|
+
def _not(self, not_: "scout_compute_resolved_api_NotRangesNode") -> Any:
|
|
44306
|
+
pass
|
|
44307
|
+
|
|
43952
44308
|
@abstractmethod
|
|
43953
44309
|
def _on_change(self, on_change: "scout_compute_resolved_api_OnChangeRangesNode") -> Any:
|
|
43954
44310
|
pass
|
|
43955
44311
|
|
|
43956
44312
|
@abstractmethod
|
|
43957
|
-
def
|
|
44313
|
+
def _range_numeric_aggregation(self, range_numeric_aggregation: "scout_compute_resolved_api_RangesNumericAggregationNode") -> Any:
|
|
43958
44314
|
pass
|
|
43959
44315
|
|
|
43960
44316
|
@abstractmethod
|
|
@@ -43966,15 +44322,15 @@ class scout_compute_resolved_api_RangesNodeVisitor:
|
|
|
43966
44322
|
pass
|
|
43967
44323
|
|
|
43968
44324
|
@abstractmethod
|
|
43969
|
-
def
|
|
44325
|
+
def _stability_detection(self, stability_detection: "scout_compute_resolved_api_StabilityDetectionRangesNode") -> Any:
|
|
43970
44326
|
pass
|
|
43971
44327
|
|
|
43972
44328
|
@abstractmethod
|
|
43973
|
-
def
|
|
44329
|
+
def _threshold(self, threshold: "scout_compute_resolved_api_ThresholdingRangesNode") -> Any:
|
|
43974
44330
|
pass
|
|
43975
44331
|
|
|
43976
44332
|
@abstractmethod
|
|
43977
|
-
def
|
|
44333
|
+
def _union_range(self, union_range: "scout_compute_resolved_api_UnionRangesNode") -> Any:
|
|
43978
44334
|
pass
|
|
43979
44335
|
|
|
43980
44336
|
|
|
@@ -44041,6 +44397,29 @@ scout_compute_resolved_api_RawEnumSeriesNode.__qualname__ = "RawEnumSeriesNode"
|
|
|
44041
44397
|
scout_compute_resolved_api_RawEnumSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
44042
44398
|
|
|
44043
44399
|
|
|
44400
|
+
class scout_compute_resolved_api_RawLogSeriesNode(ConjureBeanType):
|
|
44401
|
+
|
|
44402
|
+
@builtins.classmethod
|
|
44403
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
44404
|
+
return {
|
|
44405
|
+
'series': ConjureFieldDefinition('series', scout_compute_api_SeriesSpec)
|
|
44406
|
+
}
|
|
44407
|
+
|
|
44408
|
+
__slots__: List[str] = ['_series']
|
|
44409
|
+
|
|
44410
|
+
def __init__(self, series: "scout_compute_api_SeriesSpec") -> None:
|
|
44411
|
+
self._series = series
|
|
44412
|
+
|
|
44413
|
+
@builtins.property
|
|
44414
|
+
def series(self) -> "scout_compute_api_SeriesSpec":
|
|
44415
|
+
return self._series
|
|
44416
|
+
|
|
44417
|
+
|
|
44418
|
+
scout_compute_resolved_api_RawLogSeriesNode.__name__ = "RawLogSeriesNode"
|
|
44419
|
+
scout_compute_resolved_api_RawLogSeriesNode.__qualname__ = "RawLogSeriesNode"
|
|
44420
|
+
scout_compute_resolved_api_RawLogSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
44421
|
+
|
|
44422
|
+
|
|
44044
44423
|
class scout_compute_resolved_api_RawNumericSeriesNode(ConjureBeanType):
|
|
44045
44424
|
|
|
44046
44425
|
@builtins.classmethod
|
|
@@ -44584,13 +44963,15 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
44584
44963
|
_raw: Optional["scout_compute_resolved_api_RawUntypedSeriesNode"] = None
|
|
44585
44964
|
_enum: Optional["scout_compute_resolved_api_EnumSeriesNode"] = None
|
|
44586
44965
|
_numeric: Optional["scout_compute_resolved_api_NumericSeriesNode"] = None
|
|
44966
|
+
_log: Optional["scout_compute_resolved_api_LogSeriesNode"] = None
|
|
44587
44967
|
|
|
44588
44968
|
@builtins.classmethod
|
|
44589
44969
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
44590
44970
|
return {
|
|
44591
44971
|
'raw': ConjureFieldDefinition('raw', scout_compute_resolved_api_RawUntypedSeriesNode),
|
|
44592
44972
|
'enum': ConjureFieldDefinition('enum', scout_compute_resolved_api_EnumSeriesNode),
|
|
44593
|
-
'numeric': ConjureFieldDefinition('numeric', scout_compute_resolved_api_NumericSeriesNode)
|
|
44973
|
+
'numeric': ConjureFieldDefinition('numeric', scout_compute_resolved_api_NumericSeriesNode),
|
|
44974
|
+
'log': ConjureFieldDefinition('log', scout_compute_resolved_api_LogSeriesNode)
|
|
44594
44975
|
}
|
|
44595
44976
|
|
|
44596
44977
|
def __init__(
|
|
@@ -44598,10 +44979,11 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
44598
44979
|
raw: Optional["scout_compute_resolved_api_RawUntypedSeriesNode"] = None,
|
|
44599
44980
|
enum: Optional["scout_compute_resolved_api_EnumSeriesNode"] = None,
|
|
44600
44981
|
numeric: Optional["scout_compute_resolved_api_NumericSeriesNode"] = None,
|
|
44982
|
+
log: Optional["scout_compute_resolved_api_LogSeriesNode"] = None,
|
|
44601
44983
|
type_of_union: Optional[str] = None
|
|
44602
44984
|
) -> None:
|
|
44603
44985
|
if type_of_union is None:
|
|
44604
|
-
if (raw is not None) + (enum is not None) + (numeric is not None) != 1:
|
|
44986
|
+
if (raw is not None) + (enum is not None) + (numeric is not None) + (log is not None) != 1:
|
|
44605
44987
|
raise ValueError('a union must contain a single member')
|
|
44606
44988
|
|
|
44607
44989
|
if raw is not None:
|
|
@@ -44613,6 +44995,9 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
44613
44995
|
if numeric is not None:
|
|
44614
44996
|
self._numeric = numeric
|
|
44615
44997
|
self._type = 'numeric'
|
|
44998
|
+
if log is not None:
|
|
44999
|
+
self._log = log
|
|
45000
|
+
self._type = 'log'
|
|
44616
45001
|
|
|
44617
45002
|
elif type_of_union == 'raw':
|
|
44618
45003
|
if raw is None:
|
|
@@ -44629,6 +45014,11 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
44629
45014
|
raise ValueError('a union value must not be None')
|
|
44630
45015
|
self._numeric = numeric
|
|
44631
45016
|
self._type = 'numeric'
|
|
45017
|
+
elif type_of_union == 'log':
|
|
45018
|
+
if log is None:
|
|
45019
|
+
raise ValueError('a union value must not be None')
|
|
45020
|
+
self._log = log
|
|
45021
|
+
self._type = 'log'
|
|
44632
45022
|
|
|
44633
45023
|
@builtins.property
|
|
44634
45024
|
def raw(self) -> Optional["scout_compute_resolved_api_RawUntypedSeriesNode"]:
|
|
@@ -44642,6 +45032,10 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
44642
45032
|
def numeric(self) -> Optional["scout_compute_resolved_api_NumericSeriesNode"]:
|
|
44643
45033
|
return self._numeric
|
|
44644
45034
|
|
|
45035
|
+
@builtins.property
|
|
45036
|
+
def log(self) -> Optional["scout_compute_resolved_api_LogSeriesNode"]:
|
|
45037
|
+
return self._log
|
|
45038
|
+
|
|
44645
45039
|
def accept(self, visitor) -> Any:
|
|
44646
45040
|
if not isinstance(visitor, scout_compute_resolved_api_SeriesNodeVisitor):
|
|
44647
45041
|
raise ValueError('{} is not an instance of scout_compute_resolved_api_SeriesNodeVisitor'.format(visitor.__class__.__name__))
|
|
@@ -44651,6 +45045,8 @@ class scout_compute_resolved_api_SeriesNode(ConjureUnionType):
|
|
|
44651
45045
|
return visitor._enum(self.enum)
|
|
44652
45046
|
if self._type == 'numeric' and self.numeric is not None:
|
|
44653
45047
|
return visitor._numeric(self.numeric)
|
|
45048
|
+
if self._type == 'log' and self.log is not None:
|
|
45049
|
+
return visitor._log(self.log)
|
|
44654
45050
|
|
|
44655
45051
|
|
|
44656
45052
|
scout_compute_resolved_api_SeriesNode.__name__ = "SeriesNode"
|
|
@@ -44672,6 +45068,10 @@ class scout_compute_resolved_api_SeriesNodeVisitor:
|
|
|
44672
45068
|
def _numeric(self, numeric: "scout_compute_resolved_api_NumericSeriesNode") -> Any:
|
|
44673
45069
|
pass
|
|
44674
45070
|
|
|
45071
|
+
@abstractmethod
|
|
45072
|
+
def _log(self, log: "scout_compute_resolved_api_LogSeriesNode") -> Any:
|
|
45073
|
+
pass
|
|
45074
|
+
|
|
44675
45075
|
|
|
44676
45076
|
scout_compute_resolved_api_SeriesNodeVisitor.__name__ = "SeriesNodeVisitor"
|
|
44677
45077
|
scout_compute_resolved_api_SeriesNodeVisitor.__qualname__ = "SeriesNodeVisitor"
|
|
@@ -45047,43 +45447,33 @@ scout_compute_resolved_api_SummarizeRangesNode.__module__ = "nominal_api.scout_c
|
|
|
45047
45447
|
|
|
45048
45448
|
class scout_compute_resolved_api_SummarizeSeriesNode(ConjureBeanType):
|
|
45049
45449
|
"""
|
|
45050
|
-
Summarizes the output of a series node. The output can be a numeric, enum, or cartesian series.
|
|
45051
|
-
|
|
45450
|
+
Summarizes the output of a series node. The output can be a numeric, enum, log, or cartesian series.
|
|
45451
|
+
Summarization strategy should be specified.
|
|
45052
45452
|
"""
|
|
45053
45453
|
|
|
45054
45454
|
@builtins.classmethod
|
|
45055
45455
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
45056
45456
|
return {
|
|
45057
45457
|
'input': ConjureFieldDefinition('input', scout_compute_resolved_api_SeriesNode),
|
|
45058
|
-
'
|
|
45059
|
-
'buckets': ConjureFieldDefinition('buckets', OptionalTypeWrapper[int])
|
|
45458
|
+
'summarization_strategy': ConjureFieldDefinition('summarizationStrategy', scout_compute_api_SummarizationStrategy)
|
|
45060
45459
|
}
|
|
45061
45460
|
|
|
45062
|
-
__slots__: List[str] = ['_input', '
|
|
45461
|
+
__slots__: List[str] = ['_input', '_summarization_strategy']
|
|
45063
45462
|
|
|
45064
|
-
def __init__(self, input: "scout_compute_resolved_api_SeriesNode",
|
|
45463
|
+
def __init__(self, input: "scout_compute_resolved_api_SeriesNode", summarization_strategy: "scout_compute_api_SummarizationStrategy") -> None:
|
|
45065
45464
|
self._input = input
|
|
45066
|
-
self.
|
|
45067
|
-
self._buckets = buckets
|
|
45465
|
+
self._summarization_strategy = summarization_strategy
|
|
45068
45466
|
|
|
45069
45467
|
@builtins.property
|
|
45070
45468
|
def input(self) -> "scout_compute_resolved_api_SeriesNode":
|
|
45071
45469
|
return self._input
|
|
45072
45470
|
|
|
45073
45471
|
@builtins.property
|
|
45074
|
-
def
|
|
45075
|
-
"""
|
|
45076
|
-
Resolution of the output series specifying time interval between decimated points.
|
|
45077
|
-
Picoseconds for picosecond-granularity dataset, nanoseconds otherwise.
|
|
45078
|
-
"""
|
|
45079
|
-
return self._resolution
|
|
45080
|
-
|
|
45081
|
-
@builtins.property
|
|
45082
|
-
def buckets(self) -> Optional[int]:
|
|
45472
|
+
def summarization_strategy(self) -> "scout_compute_api_SummarizationStrategy":
|
|
45083
45473
|
"""
|
|
45084
|
-
|
|
45474
|
+
The strategy to use when summarizing the series.
|
|
45085
45475
|
"""
|
|
45086
|
-
return self.
|
|
45476
|
+
return self._summarization_strategy
|
|
45087
45477
|
|
|
45088
45478
|
|
|
45089
45479
|
scout_compute_resolved_api_SummarizeSeriesNode.__name__ = "SummarizeSeriesNode"
|
|
@@ -46083,7 +46473,7 @@ class scout_datareview_api_AutomaticCheckEvaluation(ConjureBeanType):
|
|
|
46083
46473
|
'rid': ConjureFieldDefinition('rid', scout_datareview_api_AutomaticCheckEvaluationRid),
|
|
46084
46474
|
'check_rid': ConjureFieldDefinition('checkRid', scout_rids_api_CheckRid),
|
|
46085
46475
|
'check_implementation_index': ConjureFieldDefinition('checkImplementationIndex', OptionalTypeWrapper[int]),
|
|
46086
|
-
'data_review_rid': ConjureFieldDefinition('dataReviewRid',
|
|
46476
|
+
'data_review_rid': ConjureFieldDefinition('dataReviewRid', scout_rids_api_DataReviewRid),
|
|
46087
46477
|
'state': ConjureFieldDefinition('state', scout_datareview_api_AutomaticCheckEvaluationState)
|
|
46088
46478
|
}
|
|
46089
46479
|
|
|
@@ -46789,7 +47179,7 @@ class scout_datareview_api_BatchCheckAlertActionRequest(ConjureBeanType):
|
|
|
46789
47179
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
46790
47180
|
return {
|
|
46791
47181
|
'check_alert_action': ConjureFieldDefinition('checkAlertAction', scout_datareview_api_CheckAlertAction),
|
|
46792
|
-
'check_alert_rids': ConjureFieldDefinition('checkAlertRids', List[
|
|
47182
|
+
'check_alert_rids': ConjureFieldDefinition('checkAlertRids', List[scout_rids_api_CheckAlertRid])
|
|
46793
47183
|
}
|
|
46794
47184
|
|
|
46795
47185
|
__slots__: List[str] = ['_check_alert_action', '_check_alert_rids']
|
|
@@ -46875,7 +47265,7 @@ class scout_datareview_api_BatchInitiateDataReviewResponse(ConjureBeanType):
|
|
|
46875
47265
|
@builtins.classmethod
|
|
46876
47266
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
46877
47267
|
return {
|
|
46878
|
-
'rids': ConjureFieldDefinition('rids', List[
|
|
47268
|
+
'rids': ConjureFieldDefinition('rids', List[scout_rids_api_DataReviewRid])
|
|
46879
47269
|
}
|
|
46880
47270
|
|
|
46881
47271
|
__slots__: List[str] = ['_rids']
|
|
@@ -46927,10 +47317,10 @@ class scout_datareview_api_CheckAlert(ConjureBeanType):
|
|
|
46927
47317
|
@builtins.classmethod
|
|
46928
47318
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
46929
47319
|
return {
|
|
46930
|
-
'rid': ConjureFieldDefinition('rid',
|
|
47320
|
+
'rid': ConjureFieldDefinition('rid', scout_rids_api_CheckAlertRid),
|
|
46931
47321
|
'check_rid': ConjureFieldDefinition('checkRid', scout_rids_api_CheckRid),
|
|
46932
47322
|
'implementation_index': ConjureFieldDefinition('implementationIndex', OptionalTypeWrapper[int]),
|
|
46933
|
-
'data_review_rid': ConjureFieldDefinition('dataReviewRid',
|
|
47323
|
+
'data_review_rid': ConjureFieldDefinition('dataReviewRid', scout_rids_api_DataReviewRid),
|
|
46934
47324
|
'check_evaluation_rid': ConjureFieldDefinition('checkEvaluationRid', scout_datareview_api_AutomaticCheckEvaluationRid),
|
|
46935
47325
|
'name': ConjureFieldDefinition('name', str),
|
|
46936
47326
|
'autogenerated_check_title': ConjureFieldDefinition('autogeneratedCheckTitle', OptionalTypeWrapper[str]),
|
|
@@ -47448,7 +47838,7 @@ class scout_datareview_api_CheckAlertsHistogramRequest(ConjureBeanType):
|
|
|
47448
47838
|
'start_time_before': ConjureFieldDefinition('startTimeBefore', api_Timestamp),
|
|
47449
47839
|
'status': ConjureFieldDefinition('status', OptionalTypeWrapper[List[scout_datareview_api_CheckAlertStatus]]),
|
|
47450
47840
|
'check_rids': ConjureFieldDefinition('checkRids', OptionalTypeWrapper[List[scout_rids_api_CheckRid]]),
|
|
47451
|
-
'data_review_rids': ConjureFieldDefinition('dataReviewRids', OptionalTypeWrapper[List[
|
|
47841
|
+
'data_review_rids': ConjureFieldDefinition('dataReviewRids', OptionalTypeWrapper[List[scout_rids_api_DataReviewRid]]),
|
|
47452
47842
|
'assignee_rids': ConjureFieldDefinition('assigneeRids', OptionalTypeWrapper[List[scout_rids_api_UserRid]]),
|
|
47453
47843
|
'priorities': ConjureFieldDefinition('priorities', OptionalTypeWrapper[List[scout_checks_api_Priority]]),
|
|
47454
47844
|
'run_rids': ConjureFieldDefinition('runRids', List[scout_run_api_RunRid]),
|
|
@@ -47761,7 +48151,7 @@ class scout_datareview_api_ChecklistEvaluation(ConjureBeanType):
|
|
|
47761
48151
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
47762
48152
|
return {
|
|
47763
48153
|
'checklist': ConjureFieldDefinition('checklist', scout_checks_api_PinnedChecklistRef),
|
|
47764
|
-
'data_review_rid': ConjureFieldDefinition('dataReviewRid',
|
|
48154
|
+
'data_review_rid': ConjureFieldDefinition('dataReviewRid', scout_rids_api_DataReviewRid),
|
|
47765
48155
|
'checks': ConjureFieldDefinition('checks', List[scout_datareview_api_CheckEvaluation])
|
|
47766
48156
|
}
|
|
47767
48157
|
|
|
@@ -48197,7 +48587,7 @@ class scout_datareview_api_DataReview(ConjureBeanType):
|
|
|
48197
48587
|
@builtins.classmethod
|
|
48198
48588
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
48199
48589
|
return {
|
|
48200
|
-
'rid': ConjureFieldDefinition('rid',
|
|
48590
|
+
'rid': ConjureFieldDefinition('rid', scout_rids_api_DataReviewRid),
|
|
48201
48591
|
'run_rid': ConjureFieldDefinition('runRid', scout_run_api_RunRid),
|
|
48202
48592
|
'created_at': ConjureFieldDefinition('createdAt', str),
|
|
48203
48593
|
'created_by': ConjureFieldDefinition('createdBy', scout_rids_api_UserRid),
|
|
@@ -48251,7 +48641,7 @@ class scout_datareview_api_DataReviewPage(ConjureBeanType):
|
|
|
48251
48641
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
48252
48642
|
return {
|
|
48253
48643
|
'data_reviews': ConjureFieldDefinition('dataReviews', List[scout_datareview_api_DataReview]),
|
|
48254
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
48644
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
48255
48645
|
}
|
|
48256
48646
|
|
|
48257
48647
|
__slots__: List[str] = ['_data_reviews', '_next_page_token']
|
|
@@ -49046,7 +49436,7 @@ If commitId is omitted from a ChecklistRef, it will match all commits.
|
|
|
49046
49436
|
'run_rids': ConjureFieldDefinition('runRids', List[scout_run_api_RunRid]),
|
|
49047
49437
|
'asset_rids': ConjureFieldDefinition('assetRids', List[scout_rids_api_AssetRid]),
|
|
49048
49438
|
'checklist_refs': ConjureFieldDefinition('checklistRefs', List[scout_checks_api_ChecklistRef]),
|
|
49049
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
49439
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
49050
49440
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
49051
49441
|
'show_archived': ConjureFieldDefinition('showArchived', OptionalTypeWrapper[bool]),
|
|
49052
49442
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
@@ -49113,7 +49503,7 @@ class scout_datareview_api_GeneratedAlertsState(ConjureBeanType):
|
|
|
49113
49503
|
@builtins.classmethod
|
|
49114
49504
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
49115
49505
|
return {
|
|
49116
|
-
'rids': ConjureFieldDefinition('rids', List[
|
|
49506
|
+
'rids': ConjureFieldDefinition('rids', List[scout_rids_api_CheckAlertRid])
|
|
49117
49507
|
}
|
|
49118
49508
|
|
|
49119
49509
|
__slots__: List[str] = ['_rids']
|
|
@@ -49732,7 +50122,7 @@ class scout_datareview_api_ManualCheckEvaluation(ConjureBeanType):
|
|
|
49732
50122
|
return {
|
|
49733
50123
|
'rid': ConjureFieldDefinition('rid', scout_datareview_api_ManualCheckEvaluationRid),
|
|
49734
50124
|
'check_rid': ConjureFieldDefinition('checkRid', scout_rids_api_CheckRid),
|
|
49735
|
-
'data_review_rid': ConjureFieldDefinition('dataReviewRid',
|
|
50125
|
+
'data_review_rid': ConjureFieldDefinition('dataReviewRid', scout_rids_api_DataReviewRid),
|
|
49736
50126
|
'state': ConjureFieldDefinition('state', scout_datareview_api_ManualCheckEvaluationState),
|
|
49737
50127
|
'assignee_rids': ConjureFieldDefinition('assigneeRids', List[scout_rids_api_UserRid]),
|
|
49738
50128
|
'chart': ConjureFieldDefinition('chart', OptionalTypeWrapper[scout_rids_api_VersionedVizId]),
|
|
@@ -50298,7 +50688,7 @@ class scout_datareview_api_RerunFailedAutomaticChecksRequest(ConjureBeanType):
|
|
|
50298
50688
|
@builtins.classmethod
|
|
50299
50689
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
50300
50690
|
return {
|
|
50301
|
-
'data_review_rid': ConjureFieldDefinition('dataReviewRid',
|
|
50691
|
+
'data_review_rid': ConjureFieldDefinition('dataReviewRid', scout_rids_api_DataReviewRid)
|
|
50302
50692
|
}
|
|
50303
50693
|
|
|
50304
50694
|
__slots__: List[str] = ['_data_review_rid']
|
|
@@ -50321,7 +50711,7 @@ class scout_datareview_api_SearchCheckAlertsRequest(ConjureBeanType):
|
|
|
50321
50711
|
@builtins.classmethod
|
|
50322
50712
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
50323
50713
|
return {
|
|
50324
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
50714
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
50325
50715
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
50326
50716
|
'sort_by': ConjureFieldDefinition('sortBy', OptionalTypeWrapper[scout_datareview_api_SearchCheckAlertsSortOptions]),
|
|
50327
50717
|
'search_text': ConjureFieldDefinition('searchText', OptionalTypeWrapper[str]),
|
|
@@ -50329,7 +50719,7 @@ class scout_datareview_api_SearchCheckAlertsRequest(ConjureBeanType):
|
|
|
50329
50719
|
'before': ConjureFieldDefinition('before', OptionalTypeWrapper[api_Timestamp]),
|
|
50330
50720
|
'status': ConjureFieldDefinition('status', OptionalTypeWrapper[List[scout_datareview_api_CheckAlertStatus]]),
|
|
50331
50721
|
'check_rids': ConjureFieldDefinition('checkRids', OptionalTypeWrapper[List[scout_rids_api_CheckRid]]),
|
|
50332
|
-
'data_review_rids': ConjureFieldDefinition('dataReviewRids', OptionalTypeWrapper[List[
|
|
50722
|
+
'data_review_rids': ConjureFieldDefinition('dataReviewRids', OptionalTypeWrapper[List[scout_rids_api_DataReviewRid]]),
|
|
50333
50723
|
'assignee_rids': ConjureFieldDefinition('assigneeRids', OptionalTypeWrapper[List[scout_rids_api_UserRid]]),
|
|
50334
50724
|
'priorities': ConjureFieldDefinition('priorities', OptionalTypeWrapper[List[scout_checks_api_Priority]]),
|
|
50335
50725
|
'run_rids': ConjureFieldDefinition('runRids', List[scout_run_api_RunRid]),
|
|
@@ -50469,7 +50859,7 @@ class scout_datareview_api_SearchCheckAlertsResponse(ConjureBeanType):
|
|
|
50469
50859
|
@builtins.classmethod
|
|
50470
50860
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
50471
50861
|
return {
|
|
50472
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
50862
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
50473
50863
|
'check_alerts': ConjureFieldDefinition('checkAlerts', List[scout_datareview_api_CheckAlert])
|
|
50474
50864
|
}
|
|
50475
50865
|
|
|
@@ -51804,22 +52194,6 @@ scout_datasource_connection_api_Duration.__qualname__ = "Duration"
|
|
|
51804
52194
|
scout_datasource_connection_api_Duration.__module__ = "nominal_api.scout_datasource_connection_api"
|
|
51805
52195
|
|
|
51806
52196
|
|
|
51807
|
-
class scout_datasource_connection_api_Empty(ConjureBeanType):
|
|
51808
|
-
|
|
51809
|
-
@builtins.classmethod
|
|
51810
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
51811
|
-
return {
|
|
51812
|
-
}
|
|
51813
|
-
|
|
51814
|
-
__slots__: List[str] = []
|
|
51815
|
-
|
|
51816
|
-
|
|
51817
|
-
|
|
51818
|
-
scout_datasource_connection_api_Empty.__name__ = "Empty"
|
|
51819
|
-
scout_datasource_connection_api_Empty.__qualname__ = "Empty"
|
|
51820
|
-
scout_datasource_connection_api_Empty.__module__ = "nominal_api.scout_datasource_connection_api"
|
|
51821
|
-
|
|
51822
|
-
|
|
51823
52197
|
class scout_datasource_connection_api_HeaderValue(ConjureUnionType):
|
|
51824
52198
|
_plain: Optional[str] = None
|
|
51825
52199
|
_secret_rid: Optional[str] = None
|
|
@@ -51995,25 +52369,25 @@ scout_datasource_connection_api_Influx2ConnectionDetails.__module__ = "nominal_a
|
|
|
51995
52369
|
|
|
51996
52370
|
|
|
51997
52371
|
class scout_datasource_connection_api_InfluxChannelNameComponent(ConjureUnionType):
|
|
51998
|
-
_bucket: Optional["
|
|
51999
|
-
_measurement: Optional["
|
|
52000
|
-
_field: Optional["
|
|
52372
|
+
_bucket: Optional["api_Empty"] = None
|
|
52373
|
+
_measurement: Optional["api_Empty"] = None
|
|
52374
|
+
_field: Optional["api_Empty"] = None
|
|
52001
52375
|
_tag_value: Optional[str] = None
|
|
52002
52376
|
|
|
52003
52377
|
@builtins.classmethod
|
|
52004
52378
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
52005
52379
|
return {
|
|
52006
|
-
'bucket': ConjureFieldDefinition('bucket',
|
|
52007
|
-
'measurement': ConjureFieldDefinition('measurement',
|
|
52008
|
-
'field': ConjureFieldDefinition('field',
|
|
52380
|
+
'bucket': ConjureFieldDefinition('bucket', api_Empty),
|
|
52381
|
+
'measurement': ConjureFieldDefinition('measurement', api_Empty),
|
|
52382
|
+
'field': ConjureFieldDefinition('field', api_Empty),
|
|
52009
52383
|
'tag_value': ConjureFieldDefinition('tagValue', api_TagName)
|
|
52010
52384
|
}
|
|
52011
52385
|
|
|
52012
52386
|
def __init__(
|
|
52013
52387
|
self,
|
|
52014
|
-
bucket: Optional["
|
|
52015
|
-
measurement: Optional["
|
|
52016
|
-
field: Optional["
|
|
52388
|
+
bucket: Optional["api_Empty"] = None,
|
|
52389
|
+
measurement: Optional["api_Empty"] = None,
|
|
52390
|
+
field: Optional["api_Empty"] = None,
|
|
52017
52391
|
tag_value: Optional[str] = None,
|
|
52018
52392
|
type_of_union: Optional[str] = None
|
|
52019
52393
|
) -> None:
|
|
@@ -52056,15 +52430,15 @@ class scout_datasource_connection_api_InfluxChannelNameComponent(ConjureUnionTyp
|
|
|
52056
52430
|
self._type = 'tagValue'
|
|
52057
52431
|
|
|
52058
52432
|
@builtins.property
|
|
52059
|
-
def bucket(self) -> Optional["
|
|
52433
|
+
def bucket(self) -> Optional["api_Empty"]:
|
|
52060
52434
|
return self._bucket
|
|
52061
52435
|
|
|
52062
52436
|
@builtins.property
|
|
52063
|
-
def measurement(self) -> Optional["
|
|
52437
|
+
def measurement(self) -> Optional["api_Empty"]:
|
|
52064
52438
|
return self._measurement
|
|
52065
52439
|
|
|
52066
52440
|
@builtins.property
|
|
52067
|
-
def field(self) -> Optional["
|
|
52441
|
+
def field(self) -> Optional["api_Empty"]:
|
|
52068
52442
|
return self._field
|
|
52069
52443
|
|
|
52070
52444
|
@builtins.property
|
|
@@ -52095,15 +52469,15 @@ scout_datasource_connection_api_InfluxChannelNameComponent.__module__ = "nominal
|
|
|
52095
52469
|
class scout_datasource_connection_api_InfluxChannelNameComponentVisitor:
|
|
52096
52470
|
|
|
52097
52471
|
@abstractmethod
|
|
52098
|
-
def _bucket(self, bucket: "
|
|
52472
|
+
def _bucket(self, bucket: "api_Empty") -> Any:
|
|
52099
52473
|
pass
|
|
52100
52474
|
|
|
52101
52475
|
@abstractmethod
|
|
52102
|
-
def _measurement(self, measurement: "
|
|
52476
|
+
def _measurement(self, measurement: "api_Empty") -> Any:
|
|
52103
52477
|
pass
|
|
52104
52478
|
|
|
52105
52479
|
@abstractmethod
|
|
52106
|
-
def _field(self, field: "
|
|
52480
|
+
def _field(self, field: "api_Empty") -> Any:
|
|
52107
52481
|
pass
|
|
52108
52482
|
|
|
52109
52483
|
@abstractmethod
|
|
@@ -52309,19 +52683,19 @@ scout_datasource_connection_api_LimitsConfig.__module__ = "nominal_api.scout_dat
|
|
|
52309
52683
|
|
|
52310
52684
|
|
|
52311
52685
|
class scout_datasource_connection_api_NominalChannelNameComponent(ConjureUnionType):
|
|
52312
|
-
_channel: Optional["
|
|
52686
|
+
_channel: Optional["api_Empty"] = None
|
|
52313
52687
|
_value_of_tag_with_name: Optional[str] = None
|
|
52314
52688
|
|
|
52315
52689
|
@builtins.classmethod
|
|
52316
52690
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
52317
52691
|
return {
|
|
52318
|
-
'channel': ConjureFieldDefinition('channel',
|
|
52692
|
+
'channel': ConjureFieldDefinition('channel', api_Empty),
|
|
52319
52693
|
'value_of_tag_with_name': ConjureFieldDefinition('valueOfTagWithName', api_TagName)
|
|
52320
52694
|
}
|
|
52321
52695
|
|
|
52322
52696
|
def __init__(
|
|
52323
52697
|
self,
|
|
52324
|
-
channel: Optional["
|
|
52698
|
+
channel: Optional["api_Empty"] = None,
|
|
52325
52699
|
value_of_tag_with_name: Optional[str] = None,
|
|
52326
52700
|
type_of_union: Optional[str] = None
|
|
52327
52701
|
) -> None:
|
|
@@ -52348,7 +52722,7 @@ class scout_datasource_connection_api_NominalChannelNameComponent(ConjureUnionTy
|
|
|
52348
52722
|
self._type = 'valueOfTagWithName'
|
|
52349
52723
|
|
|
52350
52724
|
@builtins.property
|
|
52351
|
-
def channel(self) -> Optional["
|
|
52725
|
+
def channel(self) -> Optional["api_Empty"]:
|
|
52352
52726
|
return self._channel
|
|
52353
52727
|
|
|
52354
52728
|
@builtins.property
|
|
@@ -52375,7 +52749,7 @@ scout_datasource_connection_api_NominalChannelNameComponent.__module__ = "nomina
|
|
|
52375
52749
|
class scout_datasource_connection_api_NominalChannelNameComponentVisitor:
|
|
52376
52750
|
|
|
52377
52751
|
@abstractmethod
|
|
52378
|
-
def _channel(self, channel: "
|
|
52752
|
+
def _channel(self, channel: "api_Empty") -> Any:
|
|
52379
52753
|
pass
|
|
52380
52754
|
|
|
52381
52755
|
@abstractmethod
|
|
@@ -52477,20 +52851,20 @@ scout_datasource_connection_api_PasswordCredentials.__module__ = "nominal_api.sc
|
|
|
52477
52851
|
|
|
52478
52852
|
|
|
52479
52853
|
class scout_datasource_connection_api_PivotedTimescaleChannelNameComponent(ConjureUnionType):
|
|
52480
|
-
_table: Optional["
|
|
52481
|
-
_name: Optional["
|
|
52854
|
+
_table: Optional["api_Empty"] = None
|
|
52855
|
+
_name: Optional["api_Empty"] = None
|
|
52482
52856
|
|
|
52483
52857
|
@builtins.classmethod
|
|
52484
52858
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
52485
52859
|
return {
|
|
52486
|
-
'table': ConjureFieldDefinition('table',
|
|
52487
|
-
'name': ConjureFieldDefinition('name',
|
|
52860
|
+
'table': ConjureFieldDefinition('table', api_Empty),
|
|
52861
|
+
'name': ConjureFieldDefinition('name', api_Empty)
|
|
52488
52862
|
}
|
|
52489
52863
|
|
|
52490
52864
|
def __init__(
|
|
52491
52865
|
self,
|
|
52492
|
-
table: Optional["
|
|
52493
|
-
name: Optional["
|
|
52866
|
+
table: Optional["api_Empty"] = None,
|
|
52867
|
+
name: Optional["api_Empty"] = None,
|
|
52494
52868
|
type_of_union: Optional[str] = None
|
|
52495
52869
|
) -> None:
|
|
52496
52870
|
if type_of_union is None:
|
|
@@ -52516,11 +52890,11 @@ class scout_datasource_connection_api_PivotedTimescaleChannelNameComponent(Conju
|
|
|
52516
52890
|
self._type = 'name'
|
|
52517
52891
|
|
|
52518
52892
|
@builtins.property
|
|
52519
|
-
def table(self) -> Optional["
|
|
52893
|
+
def table(self) -> Optional["api_Empty"]:
|
|
52520
52894
|
return self._table
|
|
52521
52895
|
|
|
52522
52896
|
@builtins.property
|
|
52523
|
-
def name(self) -> Optional["
|
|
52897
|
+
def name(self) -> Optional["api_Empty"]:
|
|
52524
52898
|
"""
|
|
52525
52899
|
The value of the name column.
|
|
52526
52900
|
"""
|
|
@@ -52543,11 +52917,11 @@ scout_datasource_connection_api_PivotedTimescaleChannelNameComponent.__module__
|
|
|
52543
52917
|
class scout_datasource_connection_api_PivotedTimescaleChannelNameComponentVisitor:
|
|
52544
52918
|
|
|
52545
52919
|
@abstractmethod
|
|
52546
|
-
def _table(self, table: "
|
|
52920
|
+
def _table(self, table: "api_Empty") -> Any:
|
|
52547
52921
|
pass
|
|
52548
52922
|
|
|
52549
52923
|
@abstractmethod
|
|
52550
|
-
def _name(self, name: "
|
|
52924
|
+
def _name(self, name: "api_Empty") -> Any:
|
|
52551
52925
|
pass
|
|
52552
52926
|
|
|
52553
52927
|
|
|
@@ -53010,25 +53384,25 @@ scout_datasource_connection_api_TimescaleScrapingFilterVisitor.__module__ = "nom
|
|
|
53010
53384
|
|
|
53011
53385
|
|
|
53012
53386
|
class scout_datasource_connection_api_TimestreamChannelNameComponent(ConjureUnionType):
|
|
53013
|
-
_table: Optional["
|
|
53014
|
-
_measure: Optional["
|
|
53015
|
-
_attribute: Optional["
|
|
53387
|
+
_table: Optional["api_Empty"] = None
|
|
53388
|
+
_measure: Optional["api_Empty"] = None
|
|
53389
|
+
_attribute: Optional["api_Empty"] = None
|
|
53016
53390
|
_value_of_tag_with_name: Optional[str] = None
|
|
53017
53391
|
|
|
53018
53392
|
@builtins.classmethod
|
|
53019
53393
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
53020
53394
|
return {
|
|
53021
|
-
'table': ConjureFieldDefinition('table',
|
|
53022
|
-
'measure': ConjureFieldDefinition('measure',
|
|
53023
|
-
'attribute': ConjureFieldDefinition('attribute',
|
|
53395
|
+
'table': ConjureFieldDefinition('table', api_Empty),
|
|
53396
|
+
'measure': ConjureFieldDefinition('measure', api_Empty),
|
|
53397
|
+
'attribute': ConjureFieldDefinition('attribute', api_Empty),
|
|
53024
53398
|
'value_of_tag_with_name': ConjureFieldDefinition('valueOfTagWithName', api_TagName)
|
|
53025
53399
|
}
|
|
53026
53400
|
|
|
53027
53401
|
def __init__(
|
|
53028
53402
|
self,
|
|
53029
|
-
table: Optional["
|
|
53030
|
-
measure: Optional["
|
|
53031
|
-
attribute: Optional["
|
|
53403
|
+
table: Optional["api_Empty"] = None,
|
|
53404
|
+
measure: Optional["api_Empty"] = None,
|
|
53405
|
+
attribute: Optional["api_Empty"] = None,
|
|
53032
53406
|
value_of_tag_with_name: Optional[str] = None,
|
|
53033
53407
|
type_of_union: Optional[str] = None
|
|
53034
53408
|
) -> None:
|
|
@@ -53071,15 +53445,15 @@ class scout_datasource_connection_api_TimestreamChannelNameComponent(ConjureUnio
|
|
|
53071
53445
|
self._type = 'valueOfTagWithName'
|
|
53072
53446
|
|
|
53073
53447
|
@builtins.property
|
|
53074
|
-
def table(self) -> Optional["
|
|
53448
|
+
def table(self) -> Optional["api_Empty"]:
|
|
53075
53449
|
return self._table
|
|
53076
53450
|
|
|
53077
53451
|
@builtins.property
|
|
53078
|
-
def measure(self) -> Optional["
|
|
53452
|
+
def measure(self) -> Optional["api_Empty"]:
|
|
53079
53453
|
return self._measure
|
|
53080
53454
|
|
|
53081
53455
|
@builtins.property
|
|
53082
|
-
def attribute(self) -> Optional["
|
|
53456
|
+
def attribute(self) -> Optional["api_Empty"]:
|
|
53083
53457
|
return self._attribute
|
|
53084
53458
|
|
|
53085
53459
|
@builtins.property
|
|
@@ -53110,15 +53484,15 @@ scout_datasource_connection_api_TimestreamChannelNameComponent.__module__ = "nom
|
|
|
53110
53484
|
class scout_datasource_connection_api_TimestreamChannelNameComponentVisitor:
|
|
53111
53485
|
|
|
53112
53486
|
@abstractmethod
|
|
53113
|
-
def _table(self, table: "
|
|
53487
|
+
def _table(self, table: "api_Empty") -> Any:
|
|
53114
53488
|
pass
|
|
53115
53489
|
|
|
53116
53490
|
@abstractmethod
|
|
53117
|
-
def _measure(self, measure: "
|
|
53491
|
+
def _measure(self, measure: "api_Empty") -> Any:
|
|
53118
53492
|
pass
|
|
53119
53493
|
|
|
53120
53494
|
@abstractmethod
|
|
53121
|
-
def _attribute(self, attribute: "
|
|
53495
|
+
def _attribute(self, attribute: "api_Empty") -> Any:
|
|
53122
53496
|
pass
|
|
53123
53497
|
|
|
53124
53498
|
@abstractmethod
|
|
@@ -56560,7 +56934,7 @@ class scout_notebook_api_SearchNotebooksRequest(ConjureBeanType):
|
|
|
56560
56934
|
'show_drafts': ConjureFieldDefinition('showDrafts', bool),
|
|
56561
56935
|
'show_archived': ConjureFieldDefinition('showArchived', OptionalTypeWrapper[bool]),
|
|
56562
56936
|
'sort_by': ConjureFieldDefinition('sortBy', OptionalTypeWrapper[scout_notebook_api_SortBy]),
|
|
56563
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
56937
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
56564
56938
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
56565
56939
|
}
|
|
56566
56940
|
|
|
@@ -56622,7 +56996,7 @@ class scout_notebook_api_SearchNotebooksResponse(ConjureBeanType):
|
|
|
56622
56996
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
56623
56997
|
return {
|
|
56624
56998
|
'results': ConjureFieldDefinition('results', List[scout_notebook_api_NotebookMetadataWithRid]),
|
|
56625
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
56999
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
56626
57000
|
}
|
|
56627
57001
|
|
|
56628
57002
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -56984,22 +57358,6 @@ scout_rids_api_ClosedWithIgnoreAlertState.__qualname__ = "ClosedWithIgnoreAlertS
|
|
|
56984
57358
|
scout_rids_api_ClosedWithIgnoreAlertState.__module__ = "nominal_api.scout_rids_api"
|
|
56985
57359
|
|
|
56986
57360
|
|
|
56987
|
-
class scout_rids_api_Empty(ConjureBeanType):
|
|
56988
|
-
|
|
56989
|
-
@builtins.classmethod
|
|
56990
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
56991
|
-
return {
|
|
56992
|
-
}
|
|
56993
|
-
|
|
56994
|
-
__slots__: List[str] = []
|
|
56995
|
-
|
|
56996
|
-
|
|
56997
|
-
|
|
56998
|
-
scout_rids_api_Empty.__name__ = "Empty"
|
|
56999
|
-
scout_rids_api_Empty.__qualname__ = "Empty"
|
|
57000
|
-
scout_rids_api_Empty.__module__ = "nominal_api.scout_rids_api"
|
|
57001
|
-
|
|
57002
|
-
|
|
57003
57361
|
class scout_rids_api_PendingReviewAlertState(ConjureBeanType):
|
|
57004
57362
|
|
|
57005
57363
|
@builtins.classmethod
|
|
@@ -58454,7 +58812,7 @@ class scout_run_api_SearchRunChannelsRequest(ConjureBeanType):
|
|
|
58454
58812
|
'search_text': ConjureFieldDefinition('searchText', str),
|
|
58455
58813
|
'ref_name_filter': ConjureFieldDefinition('refNameFilter', OptionalTypeWrapper[List[scout_api_DataSourceRefName]]),
|
|
58456
58814
|
'previously_selected_channels': ConjureFieldDefinition('previouslySelectedChannels', Dict[scout_api_DataSourceRefName, List[api_Channel]]),
|
|
58457
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
58815
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
58458
58816
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
58459
58817
|
}
|
|
58460
58818
|
|
|
@@ -58505,7 +58863,7 @@ class scout_run_api_SearchRunChannelsResponse(ConjureBeanType):
|
|
|
58505
58863
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
58506
58864
|
return {
|
|
58507
58865
|
'results': ConjureFieldDefinition('results', List[scout_run_api_ChannelMetadata]),
|
|
58508
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
58866
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
58509
58867
|
}
|
|
58510
58868
|
|
|
58511
58869
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -58535,7 +58893,7 @@ class scout_run_api_SearchRunsRequest(ConjureBeanType):
|
|
|
58535
58893
|
return {
|
|
58536
58894
|
'sort': ConjureFieldDefinition('sort', scout_run_api_SortOptions),
|
|
58537
58895
|
'page_size': ConjureFieldDefinition('pageSize', int),
|
|
58538
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
58896
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
58539
58897
|
'query': ConjureFieldDefinition('query', scout_run_api_SearchQuery)
|
|
58540
58898
|
}
|
|
58541
58899
|
|
|
@@ -58578,7 +58936,7 @@ class scout_run_api_SearchRunsResponse(ConjureBeanType):
|
|
|
58578
58936
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
58579
58937
|
return {
|
|
58580
58938
|
'results': ConjureFieldDefinition('results', List[scout_run_api_Run]),
|
|
58581
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
58939
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
58582
58940
|
}
|
|
58583
58941
|
|
|
58584
58942
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -58607,7 +58965,7 @@ class scout_run_api_SearchRunsWithDataReviewMetricsResponse(ConjureBeanType):
|
|
|
58607
58965
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
58608
58966
|
return {
|
|
58609
58967
|
'results': ConjureFieldDefinition('results', List[scout_run_api_RunWithDataReviewMetrics]),
|
|
58610
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
58968
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
58611
58969
|
}
|
|
58612
58970
|
|
|
58613
58971
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -58636,7 +58994,7 @@ class scout_run_api_SearchRunsWithDataReviewSummaryResponse(ConjureBeanType):
|
|
|
58636
58994
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
58637
58995
|
return {
|
|
58638
58996
|
'results': ConjureFieldDefinition('results', List[scout_run_api_RunWithDataReviewSummary]),
|
|
58639
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
58997
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
58640
58998
|
}
|
|
58641
58999
|
|
|
58642
59000
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -59387,7 +59745,7 @@ class scout_template_api_SearchTemplatesRequest(ConjureBeanType):
|
|
|
59387
59745
|
return {
|
|
59388
59746
|
'query': ConjureFieldDefinition('query', scout_template_api_SearchTemplatesQuery),
|
|
59389
59747
|
'sort_by': ConjureFieldDefinition('sortBy', OptionalTypeWrapper[scout_template_api_SortBy]),
|
|
59390
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
59748
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
59391
59749
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
59392
59750
|
}
|
|
59393
59751
|
|
|
@@ -59433,7 +59791,7 @@ class scout_template_api_SearchTemplatesResponse(ConjureBeanType):
|
|
|
59433
59791
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
59434
59792
|
return {
|
|
59435
59793
|
'results': ConjureFieldDefinition('results', List[scout_template_api_TemplateSummary]),
|
|
59436
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
59794
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
59437
59795
|
}
|
|
59438
59796
|
|
|
59439
59797
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -59992,7 +60350,7 @@ class scout_versioning_api_CommitHistory(ConjureBeanType):
|
|
|
59992
60350
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
59993
60351
|
return {
|
|
59994
60352
|
'history': ConjureFieldDefinition('history', List[scout_versioning_api_Commit]),
|
|
59995
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
60353
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
59996
60354
|
}
|
|
59997
60355
|
|
|
59998
60356
|
__slots__: List[str] = ['_history', '_next_page_token']
|
|
@@ -61173,22 +61531,6 @@ scout_video_api_DetailedIngestStatusVisitor.__qualname__ = "DetailedIngestStatus
|
|
|
61173
61531
|
scout_video_api_DetailedIngestStatusVisitor.__module__ = "nominal_api.scout_video_api"
|
|
61174
61532
|
|
|
61175
61533
|
|
|
61176
|
-
class scout_video_api_Empty(ConjureBeanType):
|
|
61177
|
-
|
|
61178
|
-
@builtins.classmethod
|
|
61179
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
61180
|
-
return {
|
|
61181
|
-
}
|
|
61182
|
-
|
|
61183
|
-
__slots__: List[str] = []
|
|
61184
|
-
|
|
61185
|
-
|
|
61186
|
-
|
|
61187
|
-
scout_video_api_Empty.__name__ = "Empty"
|
|
61188
|
-
scout_video_api_Empty.__qualname__ = "Empty"
|
|
61189
|
-
scout_video_api_Empty.__module__ = "nominal_api.scout_video_api"
|
|
61190
|
-
|
|
61191
|
-
|
|
61192
61534
|
class scout_video_api_ErrorIngestStatus(ConjureBeanType):
|
|
61193
61535
|
|
|
61194
61536
|
@builtins.classmethod
|
|
@@ -61310,26 +61652,6 @@ scout_video_api_IngestError.__qualname__ = "IngestError"
|
|
|
61310
61652
|
scout_video_api_IngestError.__module__ = "nominal_api.scout_video_api"
|
|
61311
61653
|
|
|
61312
61654
|
|
|
61313
|
-
class scout_video_api_IngestStatus(ConjureEnumType):
|
|
61314
|
-
|
|
61315
|
-
SUCCEEDED = 'SUCCEEDED'
|
|
61316
|
-
'''SUCCEEDED'''
|
|
61317
|
-
FAILED = 'FAILED'
|
|
61318
|
-
'''FAILED'''
|
|
61319
|
-
IN_PROGRESS = 'IN_PROGRESS'
|
|
61320
|
-
'''IN_PROGRESS'''
|
|
61321
|
-
UNKNOWN = 'UNKNOWN'
|
|
61322
|
-
'''UNKNOWN'''
|
|
61323
|
-
|
|
61324
|
-
def __reduce_ex__(self, proto):
|
|
61325
|
-
return self.__class__, (self.name,)
|
|
61326
|
-
|
|
61327
|
-
|
|
61328
|
-
scout_video_api_IngestStatus.__name__ = "IngestStatus"
|
|
61329
|
-
scout_video_api_IngestStatus.__qualname__ = "IngestStatus"
|
|
61330
|
-
scout_video_api_IngestStatus.__module__ = "nominal_api.scout_video_api"
|
|
61331
|
-
|
|
61332
|
-
|
|
61333
61655
|
class scout_video_api_McapTimestampManifest(ConjureBeanType):
|
|
61334
61656
|
"""
|
|
61335
61657
|
Timestamps are derived from the mcap file containing the video frames.
|
|
@@ -61502,7 +61824,7 @@ class scout_video_api_SearchVideosQuery(ConjureUnionType):
|
|
|
61502
61824
|
_property: Optional["api_Property"] = None
|
|
61503
61825
|
_and_: Optional[List["scout_video_api_SearchVideosQuery"]] = None
|
|
61504
61826
|
_or_: Optional[List["scout_video_api_SearchVideosQuery"]] = None
|
|
61505
|
-
_ingest_status: Optional["
|
|
61827
|
+
_ingest_status: Optional["api_IngestStatus"] = None
|
|
61506
61828
|
|
|
61507
61829
|
@builtins.classmethod
|
|
61508
61830
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -61512,7 +61834,7 @@ class scout_video_api_SearchVideosQuery(ConjureUnionType):
|
|
|
61512
61834
|
'property': ConjureFieldDefinition('property', api_Property),
|
|
61513
61835
|
'and_': ConjureFieldDefinition('and', List[scout_video_api_SearchVideosQuery]),
|
|
61514
61836
|
'or_': ConjureFieldDefinition('or', List[scout_video_api_SearchVideosQuery]),
|
|
61515
|
-
'ingest_status': ConjureFieldDefinition('ingestStatus',
|
|
61837
|
+
'ingest_status': ConjureFieldDefinition('ingestStatus', api_IngestStatus)
|
|
61516
61838
|
}
|
|
61517
61839
|
|
|
61518
61840
|
def __init__(
|
|
@@ -61522,7 +61844,7 @@ class scout_video_api_SearchVideosQuery(ConjureUnionType):
|
|
|
61522
61844
|
property: Optional["api_Property"] = None,
|
|
61523
61845
|
and_: Optional[List["scout_video_api_SearchVideosQuery"]] = None,
|
|
61524
61846
|
or_: Optional[List["scout_video_api_SearchVideosQuery"]] = None,
|
|
61525
|
-
ingest_status: Optional["
|
|
61847
|
+
ingest_status: Optional["api_IngestStatus"] = None,
|
|
61526
61848
|
type_of_union: Optional[str] = None
|
|
61527
61849
|
) -> None:
|
|
61528
61850
|
if type_of_union is None:
|
|
@@ -61600,7 +61922,7 @@ class scout_video_api_SearchVideosQuery(ConjureUnionType):
|
|
|
61600
61922
|
return self._or_
|
|
61601
61923
|
|
|
61602
61924
|
@builtins.property
|
|
61603
|
-
def ingest_status(self) -> Optional["
|
|
61925
|
+
def ingest_status(self) -> Optional["api_IngestStatus"]:
|
|
61604
61926
|
return self._ingest_status
|
|
61605
61927
|
|
|
61606
61928
|
def accept(self, visitor) -> Any:
|
|
@@ -61648,7 +61970,7 @@ class scout_video_api_SearchVideosQueryVisitor:
|
|
|
61648
61970
|
pass
|
|
61649
61971
|
|
|
61650
61972
|
@abstractmethod
|
|
61651
|
-
def _ingest_status(self, ingest_status: "
|
|
61973
|
+
def _ingest_status(self, ingest_status: "api_IngestStatus") -> Any:
|
|
61652
61974
|
pass
|
|
61653
61975
|
|
|
61654
61976
|
|
|
@@ -61664,7 +61986,7 @@ class scout_video_api_SearchVideosRequest(ConjureBeanType):
|
|
|
61664
61986
|
return {
|
|
61665
61987
|
'query': ConjureFieldDefinition('query', scout_video_api_SearchVideosQuery),
|
|
61666
61988
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
61667
|
-
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[
|
|
61989
|
+
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[api_Token]),
|
|
61668
61990
|
'sort_options': ConjureFieldDefinition('sortOptions', scout_video_api_SortOptions),
|
|
61669
61991
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
61670
61992
|
}
|
|
@@ -61716,7 +62038,7 @@ class scout_video_api_SearchVideosResponse(ConjureBeanType):
|
|
|
61716
62038
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
61717
62039
|
return {
|
|
61718
62040
|
'results': ConjureFieldDefinition('results', List[scout_video_api_Video]),
|
|
61719
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
62041
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
61720
62042
|
}
|
|
61721
62043
|
|
|
61722
62044
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -61744,7 +62066,7 @@ class scout_video_api_Segment(ConjureBeanType):
|
|
|
61744
62066
|
@builtins.classmethod
|
|
61745
62067
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
61746
62068
|
return {
|
|
61747
|
-
'rid': ConjureFieldDefinition('rid',
|
|
62069
|
+
'rid': ConjureFieldDefinition('rid', api_rids_SegmentRid),
|
|
61748
62070
|
'video_rid': ConjureFieldDefinition('videoRid', api_rids_VideoRid),
|
|
61749
62071
|
'data_handle': ConjureFieldDefinition('dataHandle', api_Handle),
|
|
61750
62072
|
'frame_rate': ConjureFieldDefinition('frameRate', float),
|
|
@@ -62025,21 +62347,21 @@ scout_video_api_TimestampMappings.__module__ = "nominal_api.scout_video_api"
|
|
|
62025
62347
|
class scout_video_api_UpdateIngestStatus(ConjureUnionType):
|
|
62026
62348
|
_success: Optional["scout_video_api_SuccessIngestStatus"] = None
|
|
62027
62349
|
_error: Optional["scout_video_api_ErrorIngestStatus"] = None
|
|
62028
|
-
_in_progress: Optional["
|
|
62350
|
+
_in_progress: Optional["api_Empty"] = None
|
|
62029
62351
|
|
|
62030
62352
|
@builtins.classmethod
|
|
62031
62353
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
62032
62354
|
return {
|
|
62033
62355
|
'success': ConjureFieldDefinition('success', scout_video_api_SuccessIngestStatus),
|
|
62034
62356
|
'error': ConjureFieldDefinition('error', scout_video_api_ErrorIngestStatus),
|
|
62035
|
-
'in_progress': ConjureFieldDefinition('inProgress',
|
|
62357
|
+
'in_progress': ConjureFieldDefinition('inProgress', api_Empty)
|
|
62036
62358
|
}
|
|
62037
62359
|
|
|
62038
62360
|
def __init__(
|
|
62039
62361
|
self,
|
|
62040
62362
|
success: Optional["scout_video_api_SuccessIngestStatus"] = None,
|
|
62041
62363
|
error: Optional["scout_video_api_ErrorIngestStatus"] = None,
|
|
62042
|
-
in_progress: Optional["
|
|
62364
|
+
in_progress: Optional["api_Empty"] = None,
|
|
62043
62365
|
type_of_union: Optional[str] = None
|
|
62044
62366
|
) -> None:
|
|
62045
62367
|
if type_of_union is None:
|
|
@@ -62081,7 +62403,7 @@ class scout_video_api_UpdateIngestStatus(ConjureUnionType):
|
|
|
62081
62403
|
return self._error
|
|
62082
62404
|
|
|
62083
62405
|
@builtins.property
|
|
62084
|
-
def in_progress(self) -> Optional["
|
|
62406
|
+
def in_progress(self) -> Optional["api_Empty"]:
|
|
62085
62407
|
return self._in_progress
|
|
62086
62408
|
|
|
62087
62409
|
def accept(self, visitor) -> Any:
|
|
@@ -62111,7 +62433,7 @@ class scout_video_api_UpdateIngestStatusVisitor:
|
|
|
62111
62433
|
pass
|
|
62112
62434
|
|
|
62113
62435
|
@abstractmethod
|
|
62114
|
-
def _in_progress(self, in_progress: "
|
|
62436
|
+
def _in_progress(self, in_progress: "api_Empty") -> Any:
|
|
62115
62437
|
pass
|
|
62116
62438
|
|
|
62117
62439
|
|
|
@@ -62891,7 +63213,7 @@ class secrets_api_SearchSecretsRequest(ConjureBeanType):
|
|
|
62891
63213
|
'query': ConjureFieldDefinition('query', secrets_api_SearchSecretsQuery),
|
|
62892
63214
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
62893
63215
|
'sort': ConjureFieldDefinition('sort', secrets_api_SortOptions),
|
|
62894
|
-
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[
|
|
63216
|
+
'token': ConjureFieldDefinition('token', OptionalTypeWrapper[api_Token]),
|
|
62895
63217
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
62896
63218
|
}
|
|
62897
63219
|
|
|
@@ -62942,7 +63264,7 @@ class secrets_api_SearchSecretsResponse(ConjureBeanType):
|
|
|
62942
63264
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
62943
63265
|
return {
|
|
62944
63266
|
'results': ConjureFieldDefinition('results', List[secrets_api_Secret]),
|
|
62945
|
-
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[
|
|
63267
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
62946
63268
|
}
|
|
62947
63269
|
|
|
62948
63270
|
__slots__: List[str] = ['_results', '_next_page_token']
|
|
@@ -67133,22 +67455,6 @@ timeseries_logicalseries_api_CsvLocatorV2.__qualname__ = "CsvLocatorV2"
|
|
|
67133
67455
|
timeseries_logicalseries_api_CsvLocatorV2.__module__ = "nominal_api.timeseries_logicalseries_api"
|
|
67134
67456
|
|
|
67135
67457
|
|
|
67136
|
-
class timeseries_logicalseries_api_Empty(ConjureBeanType):
|
|
67137
|
-
|
|
67138
|
-
@builtins.classmethod
|
|
67139
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
67140
|
-
return {
|
|
67141
|
-
}
|
|
67142
|
-
|
|
67143
|
-
__slots__: List[str] = []
|
|
67144
|
-
|
|
67145
|
-
|
|
67146
|
-
|
|
67147
|
-
timeseries_logicalseries_api_Empty.__name__ = "Empty"
|
|
67148
|
-
timeseries_logicalseries_api_Empty.__qualname__ = "Empty"
|
|
67149
|
-
timeseries_logicalseries_api_Empty.__module__ = "nominal_api.timeseries_logicalseries_api"
|
|
67150
|
-
|
|
67151
|
-
|
|
67152
67458
|
class timeseries_logicalseries_api_GetSuggestedTagsRequest(ConjureBeanType):
|
|
67153
67459
|
|
|
67154
67460
|
@builtins.classmethod
|
|
@@ -67959,19 +68265,19 @@ timeseries_logicalseries_api_TimestreamLocator.__module__ = "nominal_api.timeser
|
|
|
67959
68265
|
class timeseries_logicalseries_api_UnitUpdate(ConjureUnionType):
|
|
67960
68266
|
"""UnitUpdate is used to either set a unit, or to clear an existing unit."""
|
|
67961
68267
|
_unit: Optional[str] = None
|
|
67962
|
-
_clear_unit: Optional["
|
|
68268
|
+
_clear_unit: Optional["api_Empty"] = None
|
|
67963
68269
|
|
|
67964
68270
|
@builtins.classmethod
|
|
67965
68271
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
67966
68272
|
return {
|
|
67967
68273
|
'unit': ConjureFieldDefinition('unit', api_Unit),
|
|
67968
|
-
'clear_unit': ConjureFieldDefinition('clearUnit',
|
|
68274
|
+
'clear_unit': ConjureFieldDefinition('clearUnit', api_Empty)
|
|
67969
68275
|
}
|
|
67970
68276
|
|
|
67971
68277
|
def __init__(
|
|
67972
68278
|
self,
|
|
67973
68279
|
unit: Optional[str] = None,
|
|
67974
|
-
clear_unit: Optional["
|
|
68280
|
+
clear_unit: Optional["api_Empty"] = None,
|
|
67975
68281
|
type_of_union: Optional[str] = None
|
|
67976
68282
|
) -> None:
|
|
67977
68283
|
if type_of_union is None:
|
|
@@ -68001,7 +68307,7 @@ class timeseries_logicalseries_api_UnitUpdate(ConjureUnionType):
|
|
|
68001
68307
|
return self._unit
|
|
68002
68308
|
|
|
68003
68309
|
@builtins.property
|
|
68004
|
-
def clear_unit(self) -> Optional["
|
|
68310
|
+
def clear_unit(self) -> Optional["api_Empty"]:
|
|
68005
68311
|
return self._clear_unit
|
|
68006
68312
|
|
|
68007
68313
|
def accept(self, visitor) -> Any:
|
|
@@ -68025,7 +68331,7 @@ class timeseries_logicalseries_api_UnitUpdateVisitor:
|
|
|
68025
68331
|
pass
|
|
68026
68332
|
|
|
68027
68333
|
@abstractmethod
|
|
68028
|
-
def _clear_unit(self, clear_unit: "
|
|
68334
|
+
def _clear_unit(self, clear_unit: "api_Empty") -> Any:
|
|
68029
68335
|
pass
|
|
68030
68336
|
|
|
68031
68337
|
|
|
@@ -69092,8 +69398,6 @@ authentication_api_OrgRid = str
|
|
|
69092
69398
|
|
|
69093
69399
|
themes_api_ChartThemeRid = str
|
|
69094
69400
|
|
|
69095
|
-
scout_datareview_api_DataReviewRid = str
|
|
69096
|
-
|
|
69097
69401
|
scout_rids_api_SnapshotRid = str
|
|
69098
69402
|
|
|
69099
69403
|
scout_units_api_UnitName = str
|
|
@@ -69104,8 +69408,6 @@ timeseries_seriescache_api_Resolution = int
|
|
|
69104
69408
|
|
|
69105
69409
|
api_PropertyName = str
|
|
69106
69410
|
|
|
69107
|
-
scout_catalog_ErrorType = str
|
|
69108
|
-
|
|
69109
69411
|
scout_integrations_api_IntegrationRid = str
|
|
69110
69412
|
|
|
69111
69413
|
scout_api_DataSourceRefName = str
|
|
@@ -69134,8 +69436,6 @@ scout_rids_api_FunctionRid = str
|
|
|
69134
69436
|
|
|
69135
69437
|
scout_units_api_UnitSystem = str
|
|
69136
69438
|
|
|
69137
|
-
scout_video_api_SegmentRid = str
|
|
69138
|
-
|
|
69139
69439
|
secrets_api_SecretRid = str
|
|
69140
69440
|
|
|
69141
69441
|
timeseries_logicalseries_api_ColumnName = str
|
|
@@ -69150,7 +69450,7 @@ scout_compute_api_ErrorCode = int
|
|
|
69150
69450
|
|
|
69151
69451
|
api_rids_ChunkRid = str
|
|
69152
69452
|
|
|
69153
|
-
|
|
69453
|
+
scout_rids_api_CheckAlertRid = str
|
|
69154
69454
|
|
|
69155
69455
|
scout_chart_api_JsonString = str
|
|
69156
69456
|
|
|
@@ -69164,6 +69464,8 @@ datasource_pagination_api_PageToken = str
|
|
|
69164
69464
|
|
|
69165
69465
|
scout_datasource_connection_api_ProjectName = str
|
|
69166
69466
|
|
|
69467
|
+
scout_rids_api_DataReviewRid = str
|
|
69468
|
+
|
|
69167
69469
|
api_rids_SegmentRid = str
|
|
69168
69470
|
|
|
69169
69471
|
scout_comparisonnotebook_api_VariableName = str
|
|
@@ -69172,8 +69474,6 @@ scout_run_api_RunRid = str
|
|
|
69172
69474
|
|
|
69173
69475
|
scout_datasource_connection_api_DatasetName = str
|
|
69174
69476
|
|
|
69175
|
-
scout_backend_Token = str
|
|
69176
|
-
|
|
69177
69477
|
api_TagValue = str
|
|
69178
69478
|
|
|
69179
69479
|
scout_versioning_api_TagName = str
|
|
@@ -69212,8 +69512,6 @@ scout_channelvariables_api_ComputeSpecV1 = str
|
|
|
69212
69512
|
|
|
69213
69513
|
timeseries_logicalseries_api_TableName = str
|
|
69214
69514
|
|
|
69215
|
-
scout_api_Token = str
|
|
69216
|
-
|
|
69217
69515
|
scout_rids_api_NotebookRid = str
|
|
69218
69516
|
|
|
69219
69517
|
scout_asset_api_SeriesTagValue = str
|
|
@@ -69222,12 +69520,8 @@ scout_rids_api_UserRid = str
|
|
|
69222
69520
|
|
|
69223
69521
|
api_rids_DatasetRid = str
|
|
69224
69522
|
|
|
69225
|
-
scout_datareview_api_CheckAlertRid = str
|
|
69226
|
-
|
|
69227
69523
|
scout_units_api_UnitSymbol = str
|
|
69228
69524
|
|
|
69229
|
-
datasource_logset_api_Token = str
|
|
69230
|
-
|
|
69231
69525
|
timeseries_logicalseries_api_LocationName = str
|
|
69232
69526
|
|
|
69233
69527
|
api_rids_DataSourceRid = str
|
|
@@ -69242,8 +69536,6 @@ scout_video_api_ErrorType = str
|
|
|
69242
69536
|
|
|
69243
69537
|
scout_comparisonnotebook_api_ComparisonChannelVariableMap = Dict[scout_comparisonnotebook_api_VariableName, scout_comparisonnotebook_api_ChannelVariable]
|
|
69244
69538
|
|
|
69245
|
-
ingest_api_ErrorType = str
|
|
69246
|
-
|
|
69247
69539
|
timeseries_logicalseries_api_FieldName = str
|
|
69248
69540
|
|
|
69249
69541
|
scout_channelvariables_api_WorkbookChannelVariableMap = Dict[scout_channelvariables_api_ChannelVariableName, scout_channelvariables_api_ChannelVariable]
|
|
@@ -69258,6 +69550,8 @@ datasource_logset_api_LogSetRid = str
|
|
|
69258
69550
|
|
|
69259
69551
|
ingest_api_DataSourceRefName = str
|
|
69260
69552
|
|
|
69553
|
+
api_ErrorType = str
|
|
69554
|
+
|
|
69261
69555
|
scout_compute_api_ComputeWithUnitsRequest = scout_compute_api_ComputeNodeRequest
|
|
69262
69556
|
|
|
69263
69557
|
scout_compute_api_FunctionReference = str
|
|
@@ -69334,6 +69628,8 @@ scout_datasource_connection_api_OrganizationRid = str
|
|
|
69334
69628
|
|
|
69335
69629
|
scout_rids_api_CheckRid = str
|
|
69336
69630
|
|
|
69631
|
+
api_Token = str
|
|
69632
|
+
|
|
69337
69633
|
timeseries_logicalseries_api_ProjectName = str
|
|
69338
69634
|
|
|
69339
69635
|
api_Channel = str
|