nominal-api 0.561.2__tar.gz → 0.562.0__tar.gz
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-0.561.2 → nominal_api-0.562.0}/PKG-INFO +1 -1
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/__init__.py +1 -1
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/_impl.py +292 -181
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_compute_api/__init__.py +4 -1
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_video_api/__init__.py +3 -3
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api.egg-info/PKG-INFO +1 -1
- {nominal_api-0.561.2 → nominal_api-0.562.0}/setup.py +1 -1
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/api_rids/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/attachments_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/authentication/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/authentication_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/authorization/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/comments_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/datasource/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/datasource_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/datasource_logset/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/datasource_logset_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/datasource_pagination_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/event/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/ingest_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/py.typed +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_asset_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_assets/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_catalog/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_channelvariables_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_chart_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_chartdefinition_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_checklistexecution_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_checks_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_comparisonnotebook_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_comparisonrun_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_compute_api_deprecated/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_compute_representation_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_compute_resolved_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_dataexport_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_datareview_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_datasource/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_datasource_connection/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_datasource_connection_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_datasource_connection_api_influx/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_favorites/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_favorites_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_integrations_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_internal_search_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_jobs_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_layout_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_metadata/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_notebook_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_plotting/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_rids_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_run_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_template_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_units_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_versioning_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_video/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_workbookcommon_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/secrets_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/storage_datasource_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/storage_series_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/storage_writer_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/themes_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/timeseries_archetype/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/timeseries_archetype_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/timeseries_logicalseries/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/timeseries_logicalseries_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/timeseries_seriescache/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/timeseries_seriescache_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/upload_api/__init__.py +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api.egg-info/SOURCES.txt +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api.egg-info/dependency_links.txt +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api.egg-info/requires.txt +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api.egg-info/top_level.txt +0 -0
- {nominal_api-0.561.2 → nominal_api-0.562.0}/setup.cfg +0 -0
|
@@ -29056,7 +29056,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
29056
29056
|
_range: Optional[List["scout_compute_api_Range"]] = None
|
|
29057
29057
|
_ranges_summary: Optional["scout_compute_api_RangesSummary"] = None
|
|
29058
29058
|
_enum: Optional["scout_compute_api_EnumPlot"] = None
|
|
29059
|
-
|
|
29059
|
+
_paged_log: Optional["scout_compute_api_PagedLogPlot"] = None
|
|
29060
29060
|
_bucketed_enum: Optional["scout_compute_api_BucketedEnumPlot"] = None
|
|
29061
29061
|
_cartesian: Optional["scout_compute_api_CartesianPlot"] = None
|
|
29062
29062
|
_bucketed_cartesian: Optional["scout_compute_api_BucketedCartesianPlot"] = None
|
|
@@ -29077,7 +29077,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
29077
29077
|
'range': ConjureFieldDefinition('range', List[scout_compute_api_Range]),
|
|
29078
29078
|
'ranges_summary': ConjureFieldDefinition('rangesSummary', scout_compute_api_RangesSummary),
|
|
29079
29079
|
'enum': ConjureFieldDefinition('enum', scout_compute_api_EnumPlot),
|
|
29080
|
-
'
|
|
29080
|
+
'paged_log': ConjureFieldDefinition('pagedLog', scout_compute_api_PagedLogPlot),
|
|
29081
29081
|
'bucketed_enum': ConjureFieldDefinition('bucketedEnum', scout_compute_api_BucketedEnumPlot),
|
|
29082
29082
|
'cartesian': ConjureFieldDefinition('cartesian', scout_compute_api_CartesianPlot),
|
|
29083
29083
|
'bucketed_cartesian': ConjureFieldDefinition('bucketedCartesian', scout_compute_api_BucketedCartesianPlot),
|
|
@@ -29098,7 +29098,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
29098
29098
|
range: Optional[List["scout_compute_api_Range"]] = None,
|
|
29099
29099
|
ranges_summary: Optional["scout_compute_api_RangesSummary"] = None,
|
|
29100
29100
|
enum: Optional["scout_compute_api_EnumPlot"] = None,
|
|
29101
|
-
|
|
29101
|
+
paged_log: Optional["scout_compute_api_PagedLogPlot"] = None,
|
|
29102
29102
|
bucketed_enum: Optional["scout_compute_api_BucketedEnumPlot"] = None,
|
|
29103
29103
|
cartesian: Optional["scout_compute_api_CartesianPlot"] = None,
|
|
29104
29104
|
bucketed_cartesian: Optional["scout_compute_api_BucketedCartesianPlot"] = None,
|
|
@@ -29113,7 +29113,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
29113
29113
|
type_of_union: Optional[str] = None
|
|
29114
29114
|
) -> None:
|
|
29115
29115
|
if type_of_union is None:
|
|
29116
|
-
if (numeric is not None) + (bucketed_numeric is not None) + (range is not None) + (ranges_summary is not None) + (enum is not None) + (
|
|
29116
|
+
if (numeric is not None) + (bucketed_numeric is not None) + (range is not None) + (ranges_summary is not None) + (enum is not None) + (paged_log is not None) + (bucketed_enum is not None) + (cartesian is not None) + (bucketed_cartesian is not None) + (bucketed_geo is not None) + (enum_point is not None) + (numeric_point is not None) + (log_point is not None) + (range_value is not None) + (frequency_domain is not None) + (numeric_histogram is not None) + (enum_histogram is not None) != 1:
|
|
29117
29117
|
raise ValueError('a union must contain a single member')
|
|
29118
29118
|
|
|
29119
29119
|
if numeric is not None:
|
|
@@ -29131,9 +29131,9 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
29131
29131
|
if enum is not None:
|
|
29132
29132
|
self._enum = enum
|
|
29133
29133
|
self._type = 'enum'
|
|
29134
|
-
if
|
|
29135
|
-
self.
|
|
29136
|
-
self._type = '
|
|
29134
|
+
if paged_log is not None:
|
|
29135
|
+
self._paged_log = paged_log
|
|
29136
|
+
self._type = 'pagedLog'
|
|
29137
29137
|
if bucketed_enum is not None:
|
|
29138
29138
|
self._bucketed_enum = bucketed_enum
|
|
29139
29139
|
self._type = 'bucketedEnum'
|
|
@@ -29193,11 +29193,11 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
29193
29193
|
raise ValueError('a union value must not be None')
|
|
29194
29194
|
self._enum = enum
|
|
29195
29195
|
self._type = 'enum'
|
|
29196
|
-
elif type_of_union == '
|
|
29197
|
-
if
|
|
29196
|
+
elif type_of_union == 'pagedLog':
|
|
29197
|
+
if paged_log is None:
|
|
29198
29198
|
raise ValueError('a union value must not be None')
|
|
29199
|
-
self.
|
|
29200
|
-
self._type = '
|
|
29199
|
+
self._paged_log = paged_log
|
|
29200
|
+
self._type = 'pagedLog'
|
|
29201
29201
|
elif type_of_union == 'bucketedEnum':
|
|
29202
29202
|
if bucketed_enum is None:
|
|
29203
29203
|
raise ValueError('a union value must not be None')
|
|
@@ -29275,8 +29275,8 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
29275
29275
|
return self._enum
|
|
29276
29276
|
|
|
29277
29277
|
@builtins.property
|
|
29278
|
-
def
|
|
29279
|
-
return self.
|
|
29278
|
+
def paged_log(self) -> Optional["scout_compute_api_PagedLogPlot"]:
|
|
29279
|
+
return self._paged_log
|
|
29280
29280
|
|
|
29281
29281
|
@builtins.property
|
|
29282
29282
|
def bucketed_enum(self) -> Optional["scout_compute_api_BucketedEnumPlot"]:
|
|
@@ -29335,8 +29335,8 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
29335
29335
|
return visitor._ranges_summary(self.ranges_summary)
|
|
29336
29336
|
if self._type == 'enum' and self.enum is not None:
|
|
29337
29337
|
return visitor._enum(self.enum)
|
|
29338
|
-
if self._type == '
|
|
29339
|
-
return visitor.
|
|
29338
|
+
if self._type == 'pagedLog' and self.paged_log is not None:
|
|
29339
|
+
return visitor._paged_log(self.paged_log)
|
|
29340
29340
|
if self._type == 'bucketedEnum' and self.bucketed_enum is not None:
|
|
29341
29341
|
return visitor._bucketed_enum(self.bucketed_enum)
|
|
29342
29342
|
if self._type == 'cartesian' and self.cartesian is not None:
|
|
@@ -29389,7 +29389,7 @@ class scout_compute_api_ComputeNodeResponseVisitor:
|
|
|
29389
29389
|
pass
|
|
29390
29390
|
|
|
29391
29391
|
@abstractmethod
|
|
29392
|
-
def
|
|
29392
|
+
def _paged_log(self, paged_log: "scout_compute_api_PagedLogPlot") -> Any:
|
|
29393
29393
|
pass
|
|
29394
29394
|
|
|
29395
29395
|
@abstractmethod
|
|
@@ -32376,35 +32376,6 @@ scout_compute_api_LogFilterSeries.__qualname__ = "LogFilterSeries"
|
|
|
32376
32376
|
scout_compute_api_LogFilterSeries.__module__ = "nominal_api.scout_compute_api"
|
|
32377
32377
|
|
|
32378
32378
|
|
|
32379
|
-
class scout_compute_api_LogPlot(ConjureBeanType):
|
|
32380
|
-
|
|
32381
|
-
@builtins.classmethod
|
|
32382
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32383
|
-
return {
|
|
32384
|
-
'timestamps': ConjureFieldDefinition('timestamps', List[api_Timestamp]),
|
|
32385
|
-
'values': ConjureFieldDefinition('values', List[scout_compute_api_LogValue])
|
|
32386
|
-
}
|
|
32387
|
-
|
|
32388
|
-
__slots__: List[str] = ['_timestamps', '_values']
|
|
32389
|
-
|
|
32390
|
-
def __init__(self, timestamps: List["api_Timestamp"], values: List["scout_compute_api_LogValue"]) -> None:
|
|
32391
|
-
self._timestamps = timestamps
|
|
32392
|
-
self._values = values
|
|
32393
|
-
|
|
32394
|
-
@builtins.property
|
|
32395
|
-
def timestamps(self) -> List["api_Timestamp"]:
|
|
32396
|
-
return self._timestamps
|
|
32397
|
-
|
|
32398
|
-
@builtins.property
|
|
32399
|
-
def values(self) -> List["scout_compute_api_LogValue"]:
|
|
32400
|
-
return self._values
|
|
32401
|
-
|
|
32402
|
-
|
|
32403
|
-
scout_compute_api_LogPlot.__name__ = "LogPlot"
|
|
32404
|
-
scout_compute_api_LogPlot.__qualname__ = "LogPlot"
|
|
32405
|
-
scout_compute_api_LogPlot.__module__ = "nominal_api.scout_compute_api"
|
|
32406
|
-
|
|
32407
|
-
|
|
32408
32379
|
class scout_compute_api_LogPoint(ConjureBeanType):
|
|
32409
32380
|
|
|
32410
32381
|
@builtins.classmethod
|
|
@@ -32688,14 +32659,16 @@ class scout_compute_api_LogValue(ConjureBeanType):
|
|
|
32688
32659
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
32689
32660
|
return {
|
|
32690
32661
|
'message': ConjureFieldDefinition('message', str),
|
|
32691
|
-
'args': ConjureFieldDefinition('args', Dict[str, str])
|
|
32662
|
+
'args': ConjureFieldDefinition('args', Dict[str, str]),
|
|
32663
|
+
'id': ConjureFieldDefinition('id', str)
|
|
32692
32664
|
}
|
|
32693
32665
|
|
|
32694
|
-
__slots__: List[str] = ['_message', '_args']
|
|
32666
|
+
__slots__: List[str] = ['_message', '_args', '_id']
|
|
32695
32667
|
|
|
32696
|
-
def __init__(self, args: Dict[str, str], message: str) -> None:
|
|
32668
|
+
def __init__(self, args: Dict[str, str], id: str, message: str) -> None:
|
|
32697
32669
|
self._message = message
|
|
32698
32670
|
self._args = args
|
|
32671
|
+
self._id = id
|
|
32699
32672
|
|
|
32700
32673
|
@builtins.property
|
|
32701
32674
|
def message(self) -> str:
|
|
@@ -32705,6 +32678,10 @@ class scout_compute_api_LogValue(ConjureBeanType):
|
|
|
32705
32678
|
def args(self) -> Dict[str, str]:
|
|
32706
32679
|
return self._args
|
|
32707
32680
|
|
|
32681
|
+
@builtins.property
|
|
32682
|
+
def id(self) -> str:
|
|
32683
|
+
return self._id
|
|
32684
|
+
|
|
32708
32685
|
|
|
32709
32686
|
scout_compute_api_LogValue.__name__ = "LogValue"
|
|
32710
32687
|
scout_compute_api_LogValue.__qualname__ = "LogValue"
|
|
@@ -34620,24 +34597,24 @@ scout_compute_api_OutputRangeStartVisitor.__module__ = "nominal_api.scout_comput
|
|
|
34620
34597
|
class scout_compute_api_PageInfo(ConjureBeanType):
|
|
34621
34598
|
"""
|
|
34622
34599
|
Specification of a page for a series. Returns raw undecimated points beginning nearest to the given page
|
|
34623
|
-
token
|
|
34600
|
+
token, advancing pageSize points in the time direction specified by the sign of the page size.
|
|
34624
34601
|
"""
|
|
34625
34602
|
|
|
34626
34603
|
@builtins.classmethod
|
|
34627
34604
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
34628
34605
|
return {
|
|
34629
|
-
'page_token': ConjureFieldDefinition('pageToken',
|
|
34606
|
+
'page_token': ConjureFieldDefinition('pageToken', OptionalTypeWrapper[scout_compute_api_PageToken]),
|
|
34630
34607
|
'page_size': ConjureFieldDefinition('pageSize', int)
|
|
34631
34608
|
}
|
|
34632
34609
|
|
|
34633
34610
|
__slots__: List[str] = ['_page_token', '_page_size']
|
|
34634
34611
|
|
|
34635
|
-
def __init__(self, page_size: int, page_token: "
|
|
34612
|
+
def __init__(self, page_size: int, page_token: Optional["scout_compute_api_PageToken"] = None) -> None:
|
|
34636
34613
|
self._page_token = page_token
|
|
34637
34614
|
self._page_size = page_size
|
|
34638
34615
|
|
|
34639
34616
|
@builtins.property
|
|
34640
|
-
def page_token(self) -> "
|
|
34617
|
+
def page_token(self) -> Optional["scout_compute_api_PageToken"]:
|
|
34641
34618
|
return self._page_token
|
|
34642
34619
|
|
|
34643
34620
|
@builtins.property
|
|
@@ -34706,6 +34683,102 @@ scout_compute_api_PageStrategyVisitor.__qualname__ = "PageStrategyVisitor"
|
|
|
34706
34683
|
scout_compute_api_PageStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
34707
34684
|
|
|
34708
34685
|
|
|
34686
|
+
class scout_compute_api_PageToken(ConjureUnionType):
|
|
34687
|
+
_timestamp_and_id: Optional["scout_compute_api_TimestampAndId"] = None
|
|
34688
|
+
|
|
34689
|
+
@builtins.classmethod
|
|
34690
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
34691
|
+
return {
|
|
34692
|
+
'timestamp_and_id': ConjureFieldDefinition('timestampAndId', scout_compute_api_TimestampAndId)
|
|
34693
|
+
}
|
|
34694
|
+
|
|
34695
|
+
def __init__(
|
|
34696
|
+
self,
|
|
34697
|
+
timestamp_and_id: Optional["scout_compute_api_TimestampAndId"] = None,
|
|
34698
|
+
type_of_union: Optional[str] = None
|
|
34699
|
+
) -> None:
|
|
34700
|
+
if type_of_union is None:
|
|
34701
|
+
if (timestamp_and_id is not None) != 1:
|
|
34702
|
+
raise ValueError('a union must contain a single member')
|
|
34703
|
+
|
|
34704
|
+
if timestamp_and_id is not None:
|
|
34705
|
+
self._timestamp_and_id = timestamp_and_id
|
|
34706
|
+
self._type = 'timestampAndId'
|
|
34707
|
+
|
|
34708
|
+
elif type_of_union == 'timestampAndId':
|
|
34709
|
+
if timestamp_and_id is None:
|
|
34710
|
+
raise ValueError('a union value must not be None')
|
|
34711
|
+
self._timestamp_and_id = timestamp_and_id
|
|
34712
|
+
self._type = 'timestampAndId'
|
|
34713
|
+
|
|
34714
|
+
@builtins.property
|
|
34715
|
+
def timestamp_and_id(self) -> Optional["scout_compute_api_TimestampAndId"]:
|
|
34716
|
+
return self._timestamp_and_id
|
|
34717
|
+
|
|
34718
|
+
def accept(self, visitor) -> Any:
|
|
34719
|
+
if not isinstance(visitor, scout_compute_api_PageTokenVisitor):
|
|
34720
|
+
raise ValueError('{} is not an instance of scout_compute_api_PageTokenVisitor'.format(visitor.__class__.__name__))
|
|
34721
|
+
if self._type == 'timestampAndId' and self.timestamp_and_id is not None:
|
|
34722
|
+
return visitor._timestamp_and_id(self.timestamp_and_id)
|
|
34723
|
+
|
|
34724
|
+
|
|
34725
|
+
scout_compute_api_PageToken.__name__ = "PageToken"
|
|
34726
|
+
scout_compute_api_PageToken.__qualname__ = "PageToken"
|
|
34727
|
+
scout_compute_api_PageToken.__module__ = "nominal_api.scout_compute_api"
|
|
34728
|
+
|
|
34729
|
+
|
|
34730
|
+
class scout_compute_api_PageTokenVisitor:
|
|
34731
|
+
|
|
34732
|
+
@abstractmethod
|
|
34733
|
+
def _timestamp_and_id(self, timestamp_and_id: "scout_compute_api_TimestampAndId") -> Any:
|
|
34734
|
+
pass
|
|
34735
|
+
|
|
34736
|
+
|
|
34737
|
+
scout_compute_api_PageTokenVisitor.__name__ = "PageTokenVisitor"
|
|
34738
|
+
scout_compute_api_PageTokenVisitor.__qualname__ = "PageTokenVisitor"
|
|
34739
|
+
scout_compute_api_PageTokenVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
34740
|
+
|
|
34741
|
+
|
|
34742
|
+
class scout_compute_api_PagedLogPlot(ConjureBeanType):
|
|
34743
|
+
|
|
34744
|
+
@builtins.classmethod
|
|
34745
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
34746
|
+
return {
|
|
34747
|
+
'timestamps': ConjureFieldDefinition('timestamps', List[api_Timestamp]),
|
|
34748
|
+
'values': ConjureFieldDefinition('values', List[scout_compute_api_LogValue]),
|
|
34749
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[scout_compute_api_PageToken])
|
|
34750
|
+
}
|
|
34751
|
+
|
|
34752
|
+
__slots__: List[str] = ['_timestamps', '_values', '_next_page_token']
|
|
34753
|
+
|
|
34754
|
+
def __init__(self, timestamps: List["api_Timestamp"], values: List["scout_compute_api_LogValue"], next_page_token: Optional["scout_compute_api_PageToken"] = None) -> None:
|
|
34755
|
+
self._timestamps = timestamps
|
|
34756
|
+
self._values = values
|
|
34757
|
+
self._next_page_token = next_page_token
|
|
34758
|
+
|
|
34759
|
+
@builtins.property
|
|
34760
|
+
def timestamps(self) -> List["api_Timestamp"]:
|
|
34761
|
+
return self._timestamps
|
|
34762
|
+
|
|
34763
|
+
@builtins.property
|
|
34764
|
+
def values(self) -> List["scout_compute_api_LogValue"]:
|
|
34765
|
+
return self._values
|
|
34766
|
+
|
|
34767
|
+
@builtins.property
|
|
34768
|
+
def next_page_token(self) -> Optional["scout_compute_api_PageToken"]:
|
|
34769
|
+
"""
|
|
34770
|
+
The token to retrieve the next page of logs in the direction originally requested (exclusive - not
|
|
34771
|
+
included in these results). May be empty if there are no further logs in the requested time range in the
|
|
34772
|
+
direction originally requested.
|
|
34773
|
+
"""
|
|
34774
|
+
return self._next_page_token
|
|
34775
|
+
|
|
34776
|
+
|
|
34777
|
+
scout_compute_api_PagedLogPlot.__name__ = "PagedLogPlot"
|
|
34778
|
+
scout_compute_api_PagedLogPlot.__qualname__ = "PagedLogPlot"
|
|
34779
|
+
scout_compute_api_PagedLogPlot.__module__ = "nominal_api.scout_compute_api"
|
|
34780
|
+
|
|
34781
|
+
|
|
34709
34782
|
class scout_compute_api_ParameterInput(ConjureBeanType):
|
|
34710
34783
|
|
|
34711
34784
|
@builtins.classmethod
|
|
@@ -37651,6 +37724,35 @@ scout_compute_api_TimeDifferenceSeries.__qualname__ = "TimeDifferenceSeries"
|
|
|
37651
37724
|
scout_compute_api_TimeDifferenceSeries.__module__ = "nominal_api.scout_compute_api"
|
|
37652
37725
|
|
|
37653
37726
|
|
|
37727
|
+
class scout_compute_api_TimestampAndId(ConjureBeanType):
|
|
37728
|
+
|
|
37729
|
+
@builtins.classmethod
|
|
37730
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
37731
|
+
return {
|
|
37732
|
+
'timestamp': ConjureFieldDefinition('timestamp', api_Timestamp),
|
|
37733
|
+
'id': ConjureFieldDefinition('id', OptionalTypeWrapper[str])
|
|
37734
|
+
}
|
|
37735
|
+
|
|
37736
|
+
__slots__: List[str] = ['_timestamp', '_id']
|
|
37737
|
+
|
|
37738
|
+
def __init__(self, timestamp: "api_Timestamp", id: Optional[str] = None) -> None:
|
|
37739
|
+
self._timestamp = timestamp
|
|
37740
|
+
self._id = id
|
|
37741
|
+
|
|
37742
|
+
@builtins.property
|
|
37743
|
+
def timestamp(self) -> "api_Timestamp":
|
|
37744
|
+
return self._timestamp
|
|
37745
|
+
|
|
37746
|
+
@builtins.property
|
|
37747
|
+
def id(self) -> Optional[str]:
|
|
37748
|
+
return self._id
|
|
37749
|
+
|
|
37750
|
+
|
|
37751
|
+
scout_compute_api_TimestampAndId.__name__ = "TimestampAndId"
|
|
37752
|
+
scout_compute_api_TimestampAndId.__qualname__ = "TimestampAndId"
|
|
37753
|
+
scout_compute_api_TimestampAndId.__module__ = "nominal_api.scout_compute_api"
|
|
37754
|
+
|
|
37755
|
+
|
|
37654
37756
|
class scout_compute_api_TimestampConstant(ConjureUnionType):
|
|
37655
37757
|
_literal: Optional["api_Timestamp"] = None
|
|
37656
37758
|
_variable: Optional[str] = None
|
|
@@ -61443,10 +61545,11 @@ class scout_video_VideoFileService(Service):
|
|
|
61443
61545
|
_decoder = ConjureDecoder()
|
|
61444
61546
|
return _decoder.decode(_response.json(), scout_video_api_VideoFile, self._return_none_for_unknown_union_types)
|
|
61445
61547
|
|
|
61446
|
-
def batch_get(self, auth_header: str,
|
|
61548
|
+
def batch_get(self, auth_header: str, video_file_rids: List[str] = None) -> List["scout_video_api_VideoFile"]:
|
|
61447
61549
|
"""
|
|
61448
61550
|
Returns video file metadata associated with the given video file RIDs.
|
|
61449
61551
|
"""
|
|
61552
|
+
video_file_rids = video_file_rids if video_file_rids is not None else []
|
|
61450
61553
|
|
|
61451
61554
|
_headers: Dict[str, Any] = {
|
|
61452
61555
|
'Accept': 'application/json',
|
|
@@ -61460,7 +61563,7 @@ class scout_video_VideoFileService(Service):
|
|
|
61460
61563
|
_path_params: Dict[str, Any] = {
|
|
61461
61564
|
}
|
|
61462
61565
|
|
|
61463
|
-
_json: Any = ConjureEncoder().default(
|
|
61566
|
+
_json: Any = ConjureEncoder().default(video_file_rids)
|
|
61464
61567
|
|
|
61465
61568
|
_path = '/video-files/v1/video-files/batchGet'
|
|
61466
61569
|
_path = _path.format(**_path_params)
|
|
@@ -61473,7 +61576,7 @@ class scout_video_VideoFileService(Service):
|
|
|
61473
61576
|
json=_json)
|
|
61474
61577
|
|
|
61475
61578
|
_decoder = ConjureDecoder()
|
|
61476
|
-
return _decoder.decode(_response.json(),
|
|
61579
|
+
return _decoder.decode(_response.json(), List[scout_video_api_VideoFile], self._return_none_for_unknown_union_types)
|
|
61477
61580
|
|
|
61478
61581
|
def search(self, auth_header: str, request: "scout_video_api_SearchVideoFilesRequest") -> "scout_video_api_SearchVideoFilesResponse":
|
|
61479
61582
|
"""
|
|
@@ -61603,7 +61706,7 @@ in the UI, but does not permanently delete it. Archived video files can be unarc
|
|
|
61603
61706
|
|
|
61604
61707
|
return
|
|
61605
61708
|
|
|
61606
|
-
def get_ingest_status(self, auth_header: str, video_file_rid: str) -> "
|
|
61709
|
+
def get_ingest_status(self, auth_header: str, video_file_rid: str) -> "scout_video_api_GetIngestStatusResponse":
|
|
61607
61710
|
"""
|
|
61608
61711
|
Get the latest ingest status for a given video file by RID.
|
|
61609
61712
|
"""
|
|
@@ -61633,9 +61736,9 @@ in the UI, but does not permanently delete it. Archived video files can be unarc
|
|
|
61633
61736
|
json=_json)
|
|
61634
61737
|
|
|
61635
61738
|
_decoder = ConjureDecoder()
|
|
61636
|
-
return _decoder.decode(_response.json(),
|
|
61739
|
+
return _decoder.decode(_response.json(), scout_video_api_GetIngestStatusResponse, self._return_none_for_unknown_union_types)
|
|
61637
61740
|
|
|
61638
|
-
def batch_get_ingest_status(self, auth_header: str, video_file_rids: List[str] = None) -> Dict[str, "
|
|
61741
|
+
def batch_get_ingest_status(self, auth_header: str, video_file_rids: List[str] = None) -> Dict[str, "scout_video_api_VideoFileIngestStatus"]:
|
|
61639
61742
|
"""
|
|
61640
61743
|
Get the latest ingest status for a set of given video files by RID.
|
|
61641
61744
|
"""
|
|
@@ -61666,7 +61769,7 @@ in the UI, but does not permanently delete it. Archived video files can be unarc
|
|
|
61666
61769
|
json=_json)
|
|
61667
61770
|
|
|
61668
61771
|
_decoder = ConjureDecoder()
|
|
61669
|
-
return _decoder.decode(_response.json(), Dict[api_rids_VideoFileRid,
|
|
61772
|
+
return _decoder.decode(_response.json(), Dict[api_rids_VideoFileRid, scout_video_api_VideoFileIngestStatus], self._return_none_for_unknown_union_types)
|
|
61670
61773
|
|
|
61671
61774
|
def update_ingest_status(self, auth_header: str, request: "scout_video_api_UpdateIngestStatusRequest", video_file_rid: str) -> None:
|
|
61672
61775
|
"""
|
|
@@ -61780,41 +61883,6 @@ class scout_video_VideoSegmentService(Service):
|
|
|
61780
61883
|
at the segment-level.
|
|
61781
61884
|
"""
|
|
61782
61885
|
|
|
61783
|
-
def get_segment_data(self, auth_header: str, segment_rid: str, video_rid: str) -> Any:
|
|
61784
|
-
"""
|
|
61785
|
-
Retrieves the raw bytes of a video segment. The data will be returned as a transport stream.
|
|
61786
|
-
"""
|
|
61787
|
-
|
|
61788
|
-
_headers: Dict[str, Any] = {
|
|
61789
|
-
'Accept': 'application/octet-stream',
|
|
61790
|
-
'Authorization': auth_header,
|
|
61791
|
-
}
|
|
61792
|
-
|
|
61793
|
-
_params: Dict[str, Any] = {
|
|
61794
|
-
}
|
|
61795
|
-
|
|
61796
|
-
_path_params: Dict[str, Any] = {
|
|
61797
|
-
'videoRid': video_rid,
|
|
61798
|
-
'segmentRid': segment_rid,
|
|
61799
|
-
}
|
|
61800
|
-
|
|
61801
|
-
_json: Any = None
|
|
61802
|
-
|
|
61803
|
-
_path = '/video/v1/videos/{videoRid}/segments/{segmentRid}'
|
|
61804
|
-
_path = _path.format(**_path_params)
|
|
61805
|
-
|
|
61806
|
-
_response: Response = self._request(
|
|
61807
|
-
'GET',
|
|
61808
|
-
self._uri + _path,
|
|
61809
|
-
params=_params,
|
|
61810
|
-
headers=_headers,
|
|
61811
|
-
stream=True,
|
|
61812
|
-
json=_json)
|
|
61813
|
-
|
|
61814
|
-
_raw = _response.raw
|
|
61815
|
-
_raw.decode_content = True
|
|
61816
|
-
return _raw
|
|
61817
|
-
|
|
61818
61886
|
def create_segments(self, auth_header: str, request: "scout_video_api_CreateSegmentsRequest", video_rid: str) -> "scout_video_api_CreateSegmentsResponse":
|
|
61819
61887
|
|
|
61820
61888
|
_headers: Dict[str, Any] = {
|
|
@@ -62306,58 +62374,6 @@ scout_video_VideoService.__qualname__ = "VideoService"
|
|
|
62306
62374
|
scout_video_VideoService.__module__ = "nominal_api.scout_video"
|
|
62307
62375
|
|
|
62308
62376
|
|
|
62309
|
-
class scout_video_api_BatchGetVideoFilesRequest(ConjureBeanType):
|
|
62310
|
-
"""
|
|
62311
|
-
Request to get a batch of video files by RIDs
|
|
62312
|
-
"""
|
|
62313
|
-
|
|
62314
|
-
@builtins.classmethod
|
|
62315
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
62316
|
-
return {
|
|
62317
|
-
'video_file_rids': ConjureFieldDefinition('videoFileRids', List[api_rids_VideoFileRid])
|
|
62318
|
-
}
|
|
62319
|
-
|
|
62320
|
-
__slots__: List[str] = ['_video_file_rids']
|
|
62321
|
-
|
|
62322
|
-
def __init__(self, video_file_rids: List[str]) -> None:
|
|
62323
|
-
self._video_file_rids = video_file_rids
|
|
62324
|
-
|
|
62325
|
-
@builtins.property
|
|
62326
|
-
def video_file_rids(self) -> List[str]:
|
|
62327
|
-
return self._video_file_rids
|
|
62328
|
-
|
|
62329
|
-
|
|
62330
|
-
scout_video_api_BatchGetVideoFilesRequest.__name__ = "BatchGetVideoFilesRequest"
|
|
62331
|
-
scout_video_api_BatchGetVideoFilesRequest.__qualname__ = "BatchGetVideoFilesRequest"
|
|
62332
|
-
scout_video_api_BatchGetVideoFilesRequest.__module__ = "nominal_api.scout_video_api"
|
|
62333
|
-
|
|
62334
|
-
|
|
62335
|
-
class scout_video_api_BatchGetVideoFilesResponse(ConjureBeanType):
|
|
62336
|
-
"""
|
|
62337
|
-
Paginated response containing requested video file metadata.
|
|
62338
|
-
"""
|
|
62339
|
-
|
|
62340
|
-
@builtins.classmethod
|
|
62341
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
62342
|
-
return {
|
|
62343
|
-
'video_files': ConjureFieldDefinition('videoFiles', List[scout_video_api_VideoFile])
|
|
62344
|
-
}
|
|
62345
|
-
|
|
62346
|
-
__slots__: List[str] = ['_video_files']
|
|
62347
|
-
|
|
62348
|
-
def __init__(self, video_files: List["scout_video_api_VideoFile"]) -> None:
|
|
62349
|
-
self._video_files = video_files
|
|
62350
|
-
|
|
62351
|
-
@builtins.property
|
|
62352
|
-
def video_files(self) -> List["scout_video_api_VideoFile"]:
|
|
62353
|
-
return self._video_files
|
|
62354
|
-
|
|
62355
|
-
|
|
62356
|
-
scout_video_api_BatchGetVideoFilesResponse.__name__ = "BatchGetVideoFilesResponse"
|
|
62357
|
-
scout_video_api_BatchGetVideoFilesResponse.__qualname__ = "BatchGetVideoFilesResponse"
|
|
62358
|
-
scout_video_api_BatchGetVideoFilesResponse.__module__ = "nominal_api.scout_video_api"
|
|
62359
|
-
|
|
62360
|
-
|
|
62361
62377
|
class scout_video_api_CreateSegment(ConjureBeanType):
|
|
62362
62378
|
|
|
62363
62379
|
@builtins.classmethod
|
|
@@ -62681,6 +62697,29 @@ scout_video_api_ErrorIngestStatus.__qualname__ = "ErrorIngestStatus"
|
|
|
62681
62697
|
scout_video_api_ErrorIngestStatus.__module__ = "nominal_api.scout_video_api"
|
|
62682
62698
|
|
|
62683
62699
|
|
|
62700
|
+
class scout_video_api_GetIngestStatusResponse(ConjureBeanType):
|
|
62701
|
+
|
|
62702
|
+
@builtins.classmethod
|
|
62703
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
62704
|
+
return {
|
|
62705
|
+
'ingest_status': ConjureFieldDefinition('ingestStatus', scout_video_api_VideoFileIngestStatus)
|
|
62706
|
+
}
|
|
62707
|
+
|
|
62708
|
+
__slots__: List[str] = ['_ingest_status']
|
|
62709
|
+
|
|
62710
|
+
def __init__(self, ingest_status: "scout_video_api_VideoFileIngestStatus") -> None:
|
|
62711
|
+
self._ingest_status = ingest_status
|
|
62712
|
+
|
|
62713
|
+
@builtins.property
|
|
62714
|
+
def ingest_status(self) -> "scout_video_api_VideoFileIngestStatus":
|
|
62715
|
+
return self._ingest_status
|
|
62716
|
+
|
|
62717
|
+
|
|
62718
|
+
scout_video_api_GetIngestStatusResponse.__name__ = "GetIngestStatusResponse"
|
|
62719
|
+
scout_video_api_GetIngestStatusResponse.__qualname__ = "GetIngestStatusResponse"
|
|
62720
|
+
scout_video_api_GetIngestStatusResponse.__module__ = "nominal_api.scout_video_api"
|
|
62721
|
+
|
|
62722
|
+
|
|
62684
62723
|
class scout_video_api_GetSegmentByTimestampRequest(ConjureBeanType):
|
|
62685
62724
|
|
|
62686
62725
|
@builtins.classmethod
|
|
@@ -62779,32 +62818,6 @@ scout_video_api_IngestError.__qualname__ = "IngestError"
|
|
|
62779
62818
|
scout_video_api_IngestError.__module__ = "nominal_api.scout_video_api"
|
|
62780
62819
|
|
|
62781
62820
|
|
|
62782
|
-
class scout_video_api_IngestStatusResponse(ConjureBeanType):
|
|
62783
|
-
"""
|
|
62784
|
-
Response containing the ingest status for a given video file.
|
|
62785
|
-
"""
|
|
62786
|
-
|
|
62787
|
-
@builtins.classmethod
|
|
62788
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
62789
|
-
return {
|
|
62790
|
-
'ingest_status': ConjureFieldDefinition('ingestStatus', scout_video_api_DetailedIngestStatus)
|
|
62791
|
-
}
|
|
62792
|
-
|
|
62793
|
-
__slots__: List[str] = ['_ingest_status']
|
|
62794
|
-
|
|
62795
|
-
def __init__(self, ingest_status: "scout_video_api_DetailedIngestStatus") -> None:
|
|
62796
|
-
self._ingest_status = ingest_status
|
|
62797
|
-
|
|
62798
|
-
@builtins.property
|
|
62799
|
-
def ingest_status(self) -> "scout_video_api_DetailedIngestStatus":
|
|
62800
|
-
return self._ingest_status
|
|
62801
|
-
|
|
62802
|
-
|
|
62803
|
-
scout_video_api_IngestStatusResponse.__name__ = "IngestStatusResponse"
|
|
62804
|
-
scout_video_api_IngestStatusResponse.__qualname__ = "IngestStatusResponse"
|
|
62805
|
-
scout_video_api_IngestStatusResponse.__module__ = "nominal_api.scout_video_api"
|
|
62806
|
-
|
|
62807
|
-
|
|
62808
62821
|
class scout_video_api_McapTimestampManifest(ConjureBeanType):
|
|
62809
62822
|
"""
|
|
62810
62823
|
Timestamps are derived from the mcap file containing the video frames.
|
|
@@ -63684,24 +63697,21 @@ scout_video_api_UpdateIngestStatusVisitor.__module__ = "nominal_api.scout_video_
|
|
|
63684
63697
|
|
|
63685
63698
|
|
|
63686
63699
|
class scout_video_api_UpdateIngestStatusRequest(ConjureBeanType):
|
|
63687
|
-
"""
|
|
63688
|
-
Request to update the ingest status for a video file.
|
|
63689
|
-
"""
|
|
63690
63700
|
|
|
63691
63701
|
@builtins.classmethod
|
|
63692
63702
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
63693
63703
|
return {
|
|
63694
|
-
'
|
|
63704
|
+
'ingest_status': ConjureFieldDefinition('ingestStatus', scout_video_api_VideoFileIngestStatus)
|
|
63695
63705
|
}
|
|
63696
63706
|
|
|
63697
|
-
__slots__: List[str] = ['
|
|
63707
|
+
__slots__: List[str] = ['_ingest_status']
|
|
63698
63708
|
|
|
63699
|
-
def __init__(self,
|
|
63700
|
-
self.
|
|
63709
|
+
def __init__(self, ingest_status: "scout_video_api_VideoFileIngestStatus") -> None:
|
|
63710
|
+
self._ingest_status = ingest_status
|
|
63701
63711
|
|
|
63702
63712
|
@builtins.property
|
|
63703
|
-
def
|
|
63704
|
-
return self.
|
|
63713
|
+
def ingest_status(self) -> "scout_video_api_VideoFileIngestStatus":
|
|
63714
|
+
return self._ingest_status
|
|
63705
63715
|
|
|
63706
63716
|
|
|
63707
63717
|
scout_video_api_UpdateIngestStatusRequest.__name__ = "UpdateIngestStatusRequest"
|
|
@@ -64136,6 +64146,104 @@ scout_video_api_VideoFile.__qualname__ = "VideoFile"
|
|
|
64136
64146
|
scout_video_api_VideoFile.__module__ = "nominal_api.scout_video_api"
|
|
64137
64147
|
|
|
64138
64148
|
|
|
64149
|
+
class scout_video_api_VideoFileIngestStatus(ConjureUnionType):
|
|
64150
|
+
_success: Optional["scout_video_api_SuccessIngestStatus"] = None
|
|
64151
|
+
_error: Optional["scout_video_api_IngestError"] = None
|
|
64152
|
+
_in_progress: Optional["api_Empty"] = None
|
|
64153
|
+
|
|
64154
|
+
@builtins.classmethod
|
|
64155
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
64156
|
+
return {
|
|
64157
|
+
'success': ConjureFieldDefinition('success', scout_video_api_SuccessIngestStatus),
|
|
64158
|
+
'error': ConjureFieldDefinition('error', scout_video_api_IngestError),
|
|
64159
|
+
'in_progress': ConjureFieldDefinition('inProgress', api_Empty)
|
|
64160
|
+
}
|
|
64161
|
+
|
|
64162
|
+
def __init__(
|
|
64163
|
+
self,
|
|
64164
|
+
success: Optional["scout_video_api_SuccessIngestStatus"] = None,
|
|
64165
|
+
error: Optional["scout_video_api_IngestError"] = None,
|
|
64166
|
+
in_progress: Optional["api_Empty"] = None,
|
|
64167
|
+
type_of_union: Optional[str] = None
|
|
64168
|
+
) -> None:
|
|
64169
|
+
if type_of_union is None:
|
|
64170
|
+
if (success is not None) + (error is not None) + (in_progress is not None) != 1:
|
|
64171
|
+
raise ValueError('a union must contain a single member')
|
|
64172
|
+
|
|
64173
|
+
if success is not None:
|
|
64174
|
+
self._success = success
|
|
64175
|
+
self._type = 'success'
|
|
64176
|
+
if error is not None:
|
|
64177
|
+
self._error = error
|
|
64178
|
+
self._type = 'error'
|
|
64179
|
+
if in_progress is not None:
|
|
64180
|
+
self._in_progress = in_progress
|
|
64181
|
+
self._type = 'inProgress'
|
|
64182
|
+
|
|
64183
|
+
elif type_of_union == 'success':
|
|
64184
|
+
if success is None:
|
|
64185
|
+
raise ValueError('a union value must not be None')
|
|
64186
|
+
self._success = success
|
|
64187
|
+
self._type = 'success'
|
|
64188
|
+
elif type_of_union == 'error':
|
|
64189
|
+
if error is None:
|
|
64190
|
+
raise ValueError('a union value must not be None')
|
|
64191
|
+
self._error = error
|
|
64192
|
+
self._type = 'error'
|
|
64193
|
+
elif type_of_union == 'inProgress':
|
|
64194
|
+
if in_progress is None:
|
|
64195
|
+
raise ValueError('a union value must not be None')
|
|
64196
|
+
self._in_progress = in_progress
|
|
64197
|
+
self._type = 'inProgress'
|
|
64198
|
+
|
|
64199
|
+
@builtins.property
|
|
64200
|
+
def success(self) -> Optional["scout_video_api_SuccessIngestStatus"]:
|
|
64201
|
+
return self._success
|
|
64202
|
+
|
|
64203
|
+
@builtins.property
|
|
64204
|
+
def error(self) -> Optional["scout_video_api_IngestError"]:
|
|
64205
|
+
return self._error
|
|
64206
|
+
|
|
64207
|
+
@builtins.property
|
|
64208
|
+
def in_progress(self) -> Optional["api_Empty"]:
|
|
64209
|
+
return self._in_progress
|
|
64210
|
+
|
|
64211
|
+
def accept(self, visitor) -> Any:
|
|
64212
|
+
if not isinstance(visitor, scout_video_api_VideoFileIngestStatusVisitor):
|
|
64213
|
+
raise ValueError('{} is not an instance of scout_video_api_VideoFileIngestStatusVisitor'.format(visitor.__class__.__name__))
|
|
64214
|
+
if self._type == 'success' and self.success is not None:
|
|
64215
|
+
return visitor._success(self.success)
|
|
64216
|
+
if self._type == 'error' and self.error is not None:
|
|
64217
|
+
return visitor._error(self.error)
|
|
64218
|
+
if self._type == 'inProgress' and self.in_progress is not None:
|
|
64219
|
+
return visitor._in_progress(self.in_progress)
|
|
64220
|
+
|
|
64221
|
+
|
|
64222
|
+
scout_video_api_VideoFileIngestStatus.__name__ = "VideoFileIngestStatus"
|
|
64223
|
+
scout_video_api_VideoFileIngestStatus.__qualname__ = "VideoFileIngestStatus"
|
|
64224
|
+
scout_video_api_VideoFileIngestStatus.__module__ = "nominal_api.scout_video_api"
|
|
64225
|
+
|
|
64226
|
+
|
|
64227
|
+
class scout_video_api_VideoFileIngestStatusVisitor:
|
|
64228
|
+
|
|
64229
|
+
@abstractmethod
|
|
64230
|
+
def _success(self, success: "scout_video_api_SuccessIngestStatus") -> Any:
|
|
64231
|
+
pass
|
|
64232
|
+
|
|
64233
|
+
@abstractmethod
|
|
64234
|
+
def _error(self, error: "scout_video_api_IngestError") -> Any:
|
|
64235
|
+
pass
|
|
64236
|
+
|
|
64237
|
+
@abstractmethod
|
|
64238
|
+
def _in_progress(self, in_progress: "api_Empty") -> Any:
|
|
64239
|
+
pass
|
|
64240
|
+
|
|
64241
|
+
|
|
64242
|
+
scout_video_api_VideoFileIngestStatusVisitor.__name__ = "VideoFileIngestStatusVisitor"
|
|
64243
|
+
scout_video_api_VideoFileIngestStatusVisitor.__qualname__ = "VideoFileIngestStatusVisitor"
|
|
64244
|
+
scout_video_api_VideoFileIngestStatusVisitor.__module__ = "nominal_api.scout_video_api"
|
|
64245
|
+
|
|
64246
|
+
|
|
64139
64247
|
class scout_video_api_VideoFileOriginMetadata(ConjureBeanType):
|
|
64140
64248
|
"""
|
|
64141
64249
|
Metadata about the origin of the video file. This includes the original source of the video file and
|
|
@@ -64179,6 +64287,9 @@ scout_video_api_VideoFileOriginMetadata.__module__ = "nominal_api.scout_video_ap
|
|
|
64179
64287
|
|
|
64180
64288
|
|
|
64181
64289
|
class scout_video_api_VideoFileSegmentsMetadata(ConjureBeanType):
|
|
64290
|
+
"""
|
|
64291
|
+
High-level metadata about the segments comprising a video file post-segmentation.
|
|
64292
|
+
"""
|
|
64182
64293
|
|
|
64183
64294
|
@builtins.classmethod
|
|
64184
64295
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -134,7 +134,6 @@ from .._impl import (
|
|
|
134
134
|
scout_compute_api_LogFilterOperator as LogFilterOperator,
|
|
135
135
|
scout_compute_api_LogFilterOperatorVisitor as LogFilterOperatorVisitor,
|
|
136
136
|
scout_compute_api_LogFilterSeries as LogFilterSeries,
|
|
137
|
-
scout_compute_api_LogPlot as LogPlot,
|
|
138
137
|
scout_compute_api_LogPoint as LogPoint,
|
|
139
138
|
scout_compute_api_LogRegexFilterOperator as LogRegexFilterOperator,
|
|
140
139
|
scout_compute_api_LogSeries as LogSeries,
|
|
@@ -182,6 +181,9 @@ from .._impl import (
|
|
|
182
181
|
scout_compute_api_PageInfo as PageInfo,
|
|
183
182
|
scout_compute_api_PageStrategy as PageStrategy,
|
|
184
183
|
scout_compute_api_PageStrategyVisitor as PageStrategyVisitor,
|
|
184
|
+
scout_compute_api_PageToken as PageToken,
|
|
185
|
+
scout_compute_api_PageTokenVisitor as PageTokenVisitor,
|
|
186
|
+
scout_compute_api_PagedLogPlot as PagedLogPlot,
|
|
185
187
|
scout_compute_api_ParameterInput as ParameterInput,
|
|
186
188
|
scout_compute_api_ParameterizedComputeNodeRequest as ParameterizedComputeNodeRequest,
|
|
187
189
|
scout_compute_api_ParameterizedComputeNodeResponse as ParameterizedComputeNodeResponse,
|
|
@@ -247,6 +249,7 @@ from .._impl import (
|
|
|
247
249
|
scout_compute_api_ThresholdingRanges as ThresholdingRanges,
|
|
248
250
|
scout_compute_api_TimeBucketedGeoPlot as TimeBucketedGeoPlot,
|
|
249
251
|
scout_compute_api_TimeDifferenceSeries as TimeDifferenceSeries,
|
|
252
|
+
scout_compute_api_TimestampAndId as TimestampAndId,
|
|
250
253
|
scout_compute_api_TimestampConstant as TimestampConstant,
|
|
251
254
|
scout_compute_api_TimestampConstantVisitor as TimestampConstantVisitor,
|
|
252
255
|
scout_compute_api_UnaryArithmeticOperation as UnaryArithmeticOperation,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
2
|
from .._impl import (
|
|
3
|
-
scout_video_api_BatchGetVideoFilesRequest as BatchGetVideoFilesRequest,
|
|
4
|
-
scout_video_api_BatchGetVideoFilesResponse as BatchGetVideoFilesResponse,
|
|
5
3
|
scout_video_api_CreateSegment as CreateSegment,
|
|
6
4
|
scout_video_api_CreateSegmentsRequest as CreateSegmentsRequest,
|
|
7
5
|
scout_video_api_CreateSegmentsResponse as CreateSegmentsResponse,
|
|
@@ -11,11 +9,11 @@ from .._impl import (
|
|
|
11
9
|
scout_video_api_DetailedIngestStatusVisitor as DetailedIngestStatusVisitor,
|
|
12
10
|
scout_video_api_ErrorIngestStatus as ErrorIngestStatus,
|
|
13
11
|
scout_video_api_ErrorType as ErrorType,
|
|
12
|
+
scout_video_api_GetIngestStatusResponse as GetIngestStatusResponse,
|
|
14
13
|
scout_video_api_GetSegmentByTimestampRequest as GetSegmentByTimestampRequest,
|
|
15
14
|
scout_video_api_GetVideosRequest as GetVideosRequest,
|
|
16
15
|
scout_video_api_GetVideosResponse as GetVideosResponse,
|
|
17
16
|
scout_video_api_IngestError as IngestError,
|
|
18
|
-
scout_video_api_IngestStatusResponse as IngestStatusResponse,
|
|
19
17
|
scout_video_api_McapTimestampManifest as McapTimestampManifest,
|
|
20
18
|
scout_video_api_NoTimestampManifest as NoTimestampManifest,
|
|
21
19
|
scout_video_api_ScaleParameter as ScaleParameter,
|
|
@@ -44,6 +42,8 @@ from .._impl import (
|
|
|
44
42
|
scout_video_api_Video as Video,
|
|
45
43
|
scout_video_api_VideoAllSegmentsMetadata as VideoAllSegmentsMetadata,
|
|
46
44
|
scout_video_api_VideoFile as VideoFile,
|
|
45
|
+
scout_video_api_VideoFileIngestStatus as VideoFileIngestStatus,
|
|
46
|
+
scout_video_api_VideoFileIngestStatusVisitor as VideoFileIngestStatusVisitor,
|
|
47
47
|
scout_video_api_VideoFileOriginMetadata as VideoFileOriginMetadata,
|
|
48
48
|
scout_video_api_VideoFileSegmentsMetadata as VideoFileSegmentsMetadata,
|
|
49
49
|
scout_video_api_VideoFileTimestampManifest as VideoFileTimestampManifest,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/datasource_pagination_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_channelvariables_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_chartdefinition_api/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_checklistexecution_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_comparisonnotebook_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_compute_api_deprecated/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_compute_representation_api/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_compute_resolved_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_datasource_connection/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_datasource_connection_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_internal_search_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/scout_workbookcommon_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/timeseries_archetype_api/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/timeseries_logicalseries/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/timeseries_logicalseries_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{nominal_api-0.561.2 → nominal_api-0.562.0}/nominal_api/timeseries_seriescache_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|