nominal-api 0.561.2__py3-none-any.whl → 0.563.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 CHANGED
@@ -69,5 +69,5 @@ __all__ = [
69
69
 
70
70
  __conjure_generator_version__ = "4.9.0"
71
71
 
72
- __version__ = "0.561.2"
72
+ __version__ = "0.563.0"
73
73
 
nominal_api/_impl.py CHANGED
@@ -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
- _log: Optional["scout_compute_api_LogPlot"] = None
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
- 'log': ConjureFieldDefinition('log', scout_compute_api_LogPlot),
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
- log: Optional["scout_compute_api_LogPlot"] = None,
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) + (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:
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 log is not None:
29135
- self._log = log
29136
- self._type = 'log'
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 == 'log':
29197
- if log is None:
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._log = log
29200
- self._type = 'log'
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 log(self) -> Optional["scout_compute_api_LogPlot"]:
29279
- return self._log
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 == 'log' and self.log is not None:
29339
- return visitor._log(self.log)
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 _log(self, log: "scout_compute_api_LogPlot") -> Any:
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 timestamp, advancing pageSize points in the time direction specified by the sign of the page size.
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', api_Timestamp),
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: "api_Timestamp") -> None:
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) -> "api_Timestamp":
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
@@ -42720,22 +42822,20 @@ scout_compute_resolved_api_LatLongGeoNode.__qualname__ = "LatLongGeoNode"
42720
42822
  scout_compute_resolved_api_LatLongGeoNode.__module__ = "nominal_api.scout_compute_resolved_api"
42721
42823
 
42722
42824
 
42723
- class scout_compute_resolved_api_LogFilterRangesNode(ConjureBeanType):
42825
+ class scout_compute_resolved_api_LogFilterSeriesNode(ConjureBeanType):
42724
42826
 
42725
42827
  @builtins.classmethod
42726
42828
  def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
42727
42829
  return {
42728
42830
  'input': ConjureFieldDefinition('input', scout_compute_resolved_api_LogSeriesNode),
42729
- 'operator': ConjureFieldDefinition('operator', scout_compute_api_LogFilterOperator),
42730
- 'persistence_window_configuration': ConjureFieldDefinition('persistenceWindowConfiguration', OptionalTypeWrapper[scout_compute_resolved_api_PersistenceWindowConfiguration])
42831
+ 'operator': ConjureFieldDefinition('operator', scout_compute_api_LogFilterOperator)
42731
42832
  }
42732
42833
 
42733
- __slots__: List[str] = ['_input', '_operator', '_persistence_window_configuration']
42834
+ __slots__: List[str] = ['_input', '_operator']
42734
42835
 
42735
- 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:
42836
+ def __init__(self, input: "scout_compute_resolved_api_LogSeriesNode", operator: "scout_compute_api_LogFilterOperator") -> None:
42736
42837
  self._input = input
42737
42838
  self._operator = operator
42738
- self._persistence_window_configuration = persistence_window_configuration
42739
42839
 
42740
42840
  @builtins.property
42741
42841
  def input(self) -> "scout_compute_resolved_api_LogSeriesNode":
@@ -42745,52 +42845,16 @@ class scout_compute_resolved_api_LogFilterRangesNode(ConjureBeanType):
42745
42845
  def operator(self) -> "scout_compute_api_LogFilterOperator":
42746
42846
  return self._operator
42747
42847
 
42748
- @builtins.property
42749
- def persistence_window_configuration(self) -> Optional["scout_compute_resolved_api_PersistenceWindowConfiguration"]:
42750
- return self._persistence_window_configuration
42751
-
42752
-
42753
- scout_compute_resolved_api_LogFilterRangesNode.__name__ = "LogFilterRangesNode"
42754
- scout_compute_resolved_api_LogFilterRangesNode.__qualname__ = "LogFilterRangesNode"
42755
- scout_compute_resolved_api_LogFilterRangesNode.__module__ = "nominal_api.scout_compute_resolved_api"
42756
-
42757
-
42758
- class scout_compute_resolved_api_LogFilterTransformationSeriesNode(ConjureBeanType):
42759
- """
42760
- Outputs the values of the log plot value within the ranges specified by a ranges node
42761
- """
42762
-
42763
- @builtins.classmethod
42764
- def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
42765
- return {
42766
- 'input': ConjureFieldDefinition('input', scout_compute_resolved_api_LogSeriesNode),
42767
- 'filter': ConjureFieldDefinition('filter', scout_compute_resolved_api_RangesNode)
42768
- }
42769
-
42770
- __slots__: List[str] = ['_input', '_filter']
42771
-
42772
- def __init__(self, filter: "scout_compute_resolved_api_RangesNode", input: "scout_compute_resolved_api_LogSeriesNode") -> None:
42773
- self._input = input
42774
- self._filter = filter
42775
-
42776
- @builtins.property
42777
- def input(self) -> "scout_compute_resolved_api_LogSeriesNode":
42778
- return self._input
42779
-
42780
- @builtins.property
42781
- def filter(self) -> "scout_compute_resolved_api_RangesNode":
42782
- return self._filter
42783
-
42784
42848
 
42785
- scout_compute_resolved_api_LogFilterTransformationSeriesNode.__name__ = "LogFilterTransformationSeriesNode"
42786
- scout_compute_resolved_api_LogFilterTransformationSeriesNode.__qualname__ = "LogFilterTransformationSeriesNode"
42787
- scout_compute_resolved_api_LogFilterTransformationSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
42849
+ scout_compute_resolved_api_LogFilterSeriesNode.__name__ = "LogFilterSeriesNode"
42850
+ scout_compute_resolved_api_LogFilterSeriesNode.__qualname__ = "LogFilterSeriesNode"
42851
+ scout_compute_resolved_api_LogFilterSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
42788
42852
 
42789
42853
 
42790
42854
  class scout_compute_resolved_api_LogSeriesNode(ConjureUnionType):
42791
42855
  _raw: Optional["scout_compute_resolved_api_RawLogSeriesNode"] = None
42792
42856
  _union: Optional["scout_compute_resolved_api_LogUnionSeriesNode"] = None
42793
- _filter_transformation: Optional["scout_compute_resolved_api_LogFilterTransformationSeriesNode"] = None
42857
+ _filter: Optional["scout_compute_resolved_api_LogFilterSeriesNode"] = None
42794
42858
  _time_shift: Optional["scout_compute_resolved_api_LogTimeShiftSeriesNode"] = None
42795
42859
 
42796
42860
  @builtins.classmethod
@@ -42798,7 +42862,7 @@ class scout_compute_resolved_api_LogSeriesNode(ConjureUnionType):
42798
42862
  return {
42799
42863
  'raw': ConjureFieldDefinition('raw', scout_compute_resolved_api_RawLogSeriesNode),
42800
42864
  'union': ConjureFieldDefinition('union', scout_compute_resolved_api_LogUnionSeriesNode),
42801
- 'filter_transformation': ConjureFieldDefinition('filterTransformation', scout_compute_resolved_api_LogFilterTransformationSeriesNode),
42865
+ 'filter': ConjureFieldDefinition('filter', scout_compute_resolved_api_LogFilterSeriesNode),
42802
42866
  'time_shift': ConjureFieldDefinition('timeShift', scout_compute_resolved_api_LogTimeShiftSeriesNode)
42803
42867
  }
42804
42868
 
@@ -42806,12 +42870,12 @@ class scout_compute_resolved_api_LogSeriesNode(ConjureUnionType):
42806
42870
  self,
42807
42871
  raw: Optional["scout_compute_resolved_api_RawLogSeriesNode"] = None,
42808
42872
  union: Optional["scout_compute_resolved_api_LogUnionSeriesNode"] = None,
42809
- filter_transformation: Optional["scout_compute_resolved_api_LogFilterTransformationSeriesNode"] = None,
42873
+ filter: Optional["scout_compute_resolved_api_LogFilterSeriesNode"] = None,
42810
42874
  time_shift: Optional["scout_compute_resolved_api_LogTimeShiftSeriesNode"] = None,
42811
42875
  type_of_union: Optional[str] = None
42812
42876
  ) -> None:
42813
42877
  if type_of_union is None:
42814
- if (raw is not None) + (union is not None) + (filter_transformation is not None) + (time_shift is not None) != 1:
42878
+ if (raw is not None) + (union is not None) + (filter is not None) + (time_shift is not None) != 1:
42815
42879
  raise ValueError('a union must contain a single member')
42816
42880
 
42817
42881
  if raw is not None:
@@ -42820,9 +42884,9 @@ class scout_compute_resolved_api_LogSeriesNode(ConjureUnionType):
42820
42884
  if union is not None:
42821
42885
  self._union = union
42822
42886
  self._type = 'union'
42823
- if filter_transformation is not None:
42824
- self._filter_transformation = filter_transformation
42825
- self._type = 'filterTransformation'
42887
+ if filter is not None:
42888
+ self._filter = filter
42889
+ self._type = 'filter'
42826
42890
  if time_shift is not None:
42827
42891
  self._time_shift = time_shift
42828
42892
  self._type = 'timeShift'
@@ -42837,11 +42901,11 @@ class scout_compute_resolved_api_LogSeriesNode(ConjureUnionType):
42837
42901
  raise ValueError('a union value must not be None')
42838
42902
  self._union = union
42839
42903
  self._type = 'union'
42840
- elif type_of_union == 'filterTransformation':
42841
- if filter_transformation is None:
42904
+ elif type_of_union == 'filter':
42905
+ if filter is None:
42842
42906
  raise ValueError('a union value must not be None')
42843
- self._filter_transformation = filter_transformation
42844
- self._type = 'filterTransformation'
42907
+ self._filter = filter
42908
+ self._type = 'filter'
42845
42909
  elif type_of_union == 'timeShift':
42846
42910
  if time_shift is None:
42847
42911
  raise ValueError('a union value must not be None')
@@ -42857,8 +42921,8 @@ class scout_compute_resolved_api_LogSeriesNode(ConjureUnionType):
42857
42921
  return self._union
42858
42922
 
42859
42923
  @builtins.property
42860
- def filter_transformation(self) -> Optional["scout_compute_resolved_api_LogFilterTransformationSeriesNode"]:
42861
- return self._filter_transformation
42924
+ def filter(self) -> Optional["scout_compute_resolved_api_LogFilterSeriesNode"]:
42925
+ return self._filter
42862
42926
 
42863
42927
  @builtins.property
42864
42928
  def time_shift(self) -> Optional["scout_compute_resolved_api_LogTimeShiftSeriesNode"]:
@@ -42871,8 +42935,8 @@ class scout_compute_resolved_api_LogSeriesNode(ConjureUnionType):
42871
42935
  return visitor._raw(self.raw)
42872
42936
  if self._type == 'union' and self.union is not None:
42873
42937
  return visitor._union(self.union)
42874
- if self._type == 'filterTransformation' and self.filter_transformation is not None:
42875
- return visitor._filter_transformation(self.filter_transformation)
42938
+ if self._type == 'filter' and self.filter is not None:
42939
+ return visitor._filter(self.filter)
42876
42940
  if self._type == 'timeShift' and self.time_shift is not None:
42877
42941
  return visitor._time_shift(self.time_shift)
42878
42942
 
@@ -42893,7 +42957,7 @@ class scout_compute_resolved_api_LogSeriesNodeVisitor:
42893
42957
  pass
42894
42958
 
42895
42959
  @abstractmethod
42896
- def _filter_transformation(self, filter_transformation: "scout_compute_resolved_api_LogFilterTransformationSeriesNode") -> Any:
42960
+ def _filter(self, filter: "scout_compute_resolved_api_LogFilterSeriesNode") -> Any:
42897
42961
  pass
42898
42962
 
42899
42963
  @abstractmethod
@@ -44179,7 +44243,6 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
44179
44243
  _enum_filter: Optional["scout_compute_resolved_api_EnumFilterRangesNode"] = None
44180
44244
  _extrema: Optional["scout_compute_resolved_api_ExtremaRangesNode"] = None
44181
44245
  _intersect_range: Optional["scout_compute_resolved_api_IntersectRangesNode"] = None
44182
- _log_filter: Optional["scout_compute_resolved_api_LogFilterRangesNode"] = None
44183
44246
  _min_max_threshold: Optional["scout_compute_resolved_api_MinMaxThresholdRangesNode"] = None
44184
44247
  _not_: Optional["scout_compute_resolved_api_NotRangesNode"] = None
44185
44248
  _on_change: Optional["scout_compute_resolved_api_OnChangeRangesNode"] = None
@@ -44197,7 +44260,6 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
44197
44260
  'enum_filter': ConjureFieldDefinition('enumFilter', scout_compute_resolved_api_EnumFilterRangesNode),
44198
44261
  'extrema': ConjureFieldDefinition('extrema', scout_compute_resolved_api_ExtremaRangesNode),
44199
44262
  'intersect_range': ConjureFieldDefinition('intersectRange', scout_compute_resolved_api_IntersectRangesNode),
44200
- 'log_filter': ConjureFieldDefinition('logFilter', scout_compute_resolved_api_LogFilterRangesNode),
44201
44263
  'min_max_threshold': ConjureFieldDefinition('minMaxThreshold', scout_compute_resolved_api_MinMaxThresholdRangesNode),
44202
44264
  'not_': ConjureFieldDefinition('not', scout_compute_resolved_api_NotRangesNode),
44203
44265
  'on_change': ConjureFieldDefinition('onChange', scout_compute_resolved_api_OnChangeRangesNode),
@@ -44215,7 +44277,6 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
44215
44277
  enum_filter: Optional["scout_compute_resolved_api_EnumFilterRangesNode"] = None,
44216
44278
  extrema: Optional["scout_compute_resolved_api_ExtremaRangesNode"] = None,
44217
44279
  intersect_range: Optional["scout_compute_resolved_api_IntersectRangesNode"] = None,
44218
- log_filter: Optional["scout_compute_resolved_api_LogFilterRangesNode"] = None,
44219
44280
  min_max_threshold: Optional["scout_compute_resolved_api_MinMaxThresholdRangesNode"] = None,
44220
44281
  not_: Optional["scout_compute_resolved_api_NotRangesNode"] = None,
44221
44282
  on_change: Optional["scout_compute_resolved_api_OnChangeRangesNode"] = None,
@@ -44228,7 +44289,7 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
44228
44289
  type_of_union: Optional[str] = None
44229
44290
  ) -> None:
44230
44291
  if type_of_union is None:
44231
- 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:
44292
+ if (enum_equality is not None) + (enum_filter is not None) + (extrema is not None) + (intersect_range 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:
44232
44293
  raise ValueError('a union must contain a single member')
44233
44294
 
44234
44295
  if enum_equality is not None:
@@ -44243,9 +44304,6 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
44243
44304
  if intersect_range is not None:
44244
44305
  self._intersect_range = intersect_range
44245
44306
  self._type = 'intersectRange'
44246
- if log_filter is not None:
44247
- self._log_filter = log_filter
44248
- self._type = 'logFilter'
44249
44307
  if min_max_threshold is not None:
44250
44308
  self._min_max_threshold = min_max_threshold
44251
44309
  self._type = 'minMaxThreshold'
@@ -44294,11 +44352,6 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
44294
44352
  raise ValueError('a union value must not be None')
44295
44353
  self._intersect_range = intersect_range
44296
44354
  self._type = 'intersectRange'
44297
- elif type_of_union == 'logFilter':
44298
- if log_filter is None:
44299
- raise ValueError('a union value must not be None')
44300
- self._log_filter = log_filter
44301
- self._type = 'logFilter'
44302
44355
  elif type_of_union == 'minMaxThreshold':
44303
44356
  if min_max_threshold is None:
44304
44357
  raise ValueError('a union value must not be None')
@@ -44361,10 +44414,6 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
44361
44414
  def intersect_range(self) -> Optional["scout_compute_resolved_api_IntersectRangesNode"]:
44362
44415
  return self._intersect_range
44363
44416
 
44364
- @builtins.property
44365
- def log_filter(self) -> Optional["scout_compute_resolved_api_LogFilterRangesNode"]:
44366
- return self._log_filter
44367
-
44368
44417
  @builtins.property
44369
44418
  def min_max_threshold(self) -> Optional["scout_compute_resolved_api_MinMaxThresholdRangesNode"]:
44370
44419
  return self._min_max_threshold
@@ -44412,8 +44461,6 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
44412
44461
  return visitor._extrema(self.extrema)
44413
44462
  if self._type == 'intersectRange' and self.intersect_range is not None:
44414
44463
  return visitor._intersect_range(self.intersect_range)
44415
- if self._type == 'logFilter' and self.log_filter is not None:
44416
- return visitor._log_filter(self.log_filter)
44417
44464
  if self._type == 'minMaxThreshold' and self.min_max_threshold is not None:
44418
44465
  return visitor._min_max_threshold(self.min_max_threshold)
44419
44466
  if self._type == 'not' and self.not_ is not None:
@@ -44457,10 +44504,6 @@ class scout_compute_resolved_api_RangesNodeVisitor:
44457
44504
  def _intersect_range(self, intersect_range: "scout_compute_resolved_api_IntersectRangesNode") -> Any:
44458
44505
  pass
44459
44506
 
44460
- @abstractmethod
44461
- def _log_filter(self, log_filter: "scout_compute_resolved_api_LogFilterRangesNode") -> Any:
44462
- pass
44463
-
44464
44507
  @abstractmethod
44465
44508
  def _min_max_threshold(self, min_max_threshold: "scout_compute_resolved_api_MinMaxThresholdRangesNode") -> Any:
44466
44509
  pass
@@ -61443,10 +61486,11 @@ class scout_video_VideoFileService(Service):
61443
61486
  _decoder = ConjureDecoder()
61444
61487
  return _decoder.decode(_response.json(), scout_video_api_VideoFile, self._return_none_for_unknown_union_types)
61445
61488
 
61446
- def batch_get(self, auth_header: str, request: "scout_video_api_BatchGetVideoFilesRequest") -> "scout_video_api_BatchGetVideoFilesResponse":
61489
+ def batch_get(self, auth_header: str, video_file_rids: List[str] = None) -> List["scout_video_api_VideoFile"]:
61447
61490
  """
61448
61491
  Returns video file metadata associated with the given video file RIDs.
61449
61492
  """
61493
+ video_file_rids = video_file_rids if video_file_rids is not None else []
61450
61494
 
61451
61495
  _headers: Dict[str, Any] = {
61452
61496
  'Accept': 'application/json',
@@ -61460,7 +61504,7 @@ class scout_video_VideoFileService(Service):
61460
61504
  _path_params: Dict[str, Any] = {
61461
61505
  }
61462
61506
 
61463
- _json: Any = ConjureEncoder().default(request)
61507
+ _json: Any = ConjureEncoder().default(video_file_rids)
61464
61508
 
61465
61509
  _path = '/video-files/v1/video-files/batchGet'
61466
61510
  _path = _path.format(**_path_params)
@@ -61473,7 +61517,7 @@ class scout_video_VideoFileService(Service):
61473
61517
  json=_json)
61474
61518
 
61475
61519
  _decoder = ConjureDecoder()
61476
- return _decoder.decode(_response.json(), scout_video_api_BatchGetVideoFilesResponse, self._return_none_for_unknown_union_types)
61520
+ return _decoder.decode(_response.json(), List[scout_video_api_VideoFile], self._return_none_for_unknown_union_types)
61477
61521
 
61478
61522
  def search(self, auth_header: str, request: "scout_video_api_SearchVideoFilesRequest") -> "scout_video_api_SearchVideoFilesResponse":
61479
61523
  """
@@ -61603,7 +61647,7 @@ in the UI, but does not permanently delete it. Archived video files can be unarc
61603
61647
 
61604
61648
  return
61605
61649
 
61606
- def get_ingest_status(self, auth_header: str, video_file_rid: str) -> "scout_video_api_IngestStatusResponse":
61650
+ def get_ingest_status(self, auth_header: str, video_file_rid: str) -> "scout_video_api_GetIngestStatusResponse":
61607
61651
  """
61608
61652
  Get the latest ingest status for a given video file by RID.
61609
61653
  """
@@ -61633,9 +61677,9 @@ in the UI, but does not permanently delete it. Archived video files can be unarc
61633
61677
  json=_json)
61634
61678
 
61635
61679
  _decoder = ConjureDecoder()
61636
- return _decoder.decode(_response.json(), scout_video_api_IngestStatusResponse, self._return_none_for_unknown_union_types)
61680
+ return _decoder.decode(_response.json(), scout_video_api_GetIngestStatusResponse, self._return_none_for_unknown_union_types)
61637
61681
 
61638
- def batch_get_ingest_status(self, auth_header: str, video_file_rids: List[str] = None) -> Dict[str, "scout_video_api_IngestStatusResponse"]:
61682
+ def batch_get_ingest_status(self, auth_header: str, video_file_rids: List[str] = None) -> Dict[str, "scout_video_api_VideoFileIngestStatus"]:
61639
61683
  """
61640
61684
  Get the latest ingest status for a set of given video files by RID.
61641
61685
  """
@@ -61666,7 +61710,7 @@ in the UI, but does not permanently delete it. Archived video files can be unarc
61666
61710
  json=_json)
61667
61711
 
61668
61712
  _decoder = ConjureDecoder()
61669
- return _decoder.decode(_response.json(), Dict[api_rids_VideoFileRid, scout_video_api_IngestStatusResponse], self._return_none_for_unknown_union_types)
61713
+ return _decoder.decode(_response.json(), Dict[api_rids_VideoFileRid, scout_video_api_VideoFileIngestStatus], self._return_none_for_unknown_union_types)
61670
61714
 
61671
61715
  def update_ingest_status(self, auth_header: str, request: "scout_video_api_UpdateIngestStatusRequest", video_file_rid: str) -> None:
61672
61716
  """
@@ -61780,41 +61824,6 @@ class scout_video_VideoSegmentService(Service):
61780
61824
  at the segment-level.
61781
61825
  """
61782
61826
 
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
61827
  def create_segments(self, auth_header: str, request: "scout_video_api_CreateSegmentsRequest", video_rid: str) -> "scout_video_api_CreateSegmentsResponse":
61819
61828
 
61820
61829
  _headers: Dict[str, Any] = {
@@ -62306,58 +62315,6 @@ scout_video_VideoService.__qualname__ = "VideoService"
62306
62315
  scout_video_VideoService.__module__ = "nominal_api.scout_video"
62307
62316
 
62308
62317
 
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
62318
  class scout_video_api_CreateSegment(ConjureBeanType):
62362
62319
 
62363
62320
  @builtins.classmethod
@@ -62681,6 +62638,29 @@ scout_video_api_ErrorIngestStatus.__qualname__ = "ErrorIngestStatus"
62681
62638
  scout_video_api_ErrorIngestStatus.__module__ = "nominal_api.scout_video_api"
62682
62639
 
62683
62640
 
62641
+ class scout_video_api_GetIngestStatusResponse(ConjureBeanType):
62642
+
62643
+ @builtins.classmethod
62644
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
62645
+ return {
62646
+ 'ingest_status': ConjureFieldDefinition('ingestStatus', scout_video_api_VideoFileIngestStatus)
62647
+ }
62648
+
62649
+ __slots__: List[str] = ['_ingest_status']
62650
+
62651
+ def __init__(self, ingest_status: "scout_video_api_VideoFileIngestStatus") -> None:
62652
+ self._ingest_status = ingest_status
62653
+
62654
+ @builtins.property
62655
+ def ingest_status(self) -> "scout_video_api_VideoFileIngestStatus":
62656
+ return self._ingest_status
62657
+
62658
+
62659
+ scout_video_api_GetIngestStatusResponse.__name__ = "GetIngestStatusResponse"
62660
+ scout_video_api_GetIngestStatusResponse.__qualname__ = "GetIngestStatusResponse"
62661
+ scout_video_api_GetIngestStatusResponse.__module__ = "nominal_api.scout_video_api"
62662
+
62663
+
62684
62664
  class scout_video_api_GetSegmentByTimestampRequest(ConjureBeanType):
62685
62665
 
62686
62666
  @builtins.classmethod
@@ -62779,32 +62759,6 @@ scout_video_api_IngestError.__qualname__ = "IngestError"
62779
62759
  scout_video_api_IngestError.__module__ = "nominal_api.scout_video_api"
62780
62760
 
62781
62761
 
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
62762
  class scout_video_api_McapTimestampManifest(ConjureBeanType):
62809
62763
  """
62810
62764
  Timestamps are derived from the mcap file containing the video frames.
@@ -63415,48 +63369,33 @@ class scout_video_api_SegmentTimestamps(ConjureUnionType):
63415
63369
  be frame-mapped. Without a frame-timestamp mapping manifest file, a list of absolute timestamps will be
63416
63370
  automatically assigned to each segment based on media timestamps.. Otherwise, media timestamps will be
63417
63371
  extracted and mapped to those in the provided manifest."""
63418
- _timestamps: Optional[List["api_Timestamp"]] = None
63419
63372
  _timestamp_mappings: Optional["scout_video_api_TimestampMappings"] = None
63420
63373
 
63421
63374
  @builtins.classmethod
63422
63375
  def _options(cls) -> Dict[str, ConjureFieldDefinition]:
63423
63376
  return {
63424
- 'timestamps': ConjureFieldDefinition('timestamps', List[api_Timestamp]),
63425
63377
  'timestamp_mappings': ConjureFieldDefinition('timestampMappings', scout_video_api_TimestampMappings)
63426
63378
  }
63427
63379
 
63428
63380
  def __init__(
63429
63381
  self,
63430
- timestamps: Optional[List["api_Timestamp"]] = None,
63431
63382
  timestamp_mappings: Optional["scout_video_api_TimestampMappings"] = None,
63432
63383
  type_of_union: Optional[str] = None
63433
63384
  ) -> None:
63434
63385
  if type_of_union is None:
63435
- if (timestamps is not None) + (timestamp_mappings is not None) != 1:
63386
+ if (timestamp_mappings is not None) != 1:
63436
63387
  raise ValueError('a union must contain a single member')
63437
63388
 
63438
- if timestamps is not None:
63439
- self._timestamps = timestamps
63440
- self._type = 'timestamps'
63441
63389
  if timestamp_mappings is not None:
63442
63390
  self._timestamp_mappings = timestamp_mappings
63443
63391
  self._type = 'timestampMappings'
63444
63392
 
63445
- elif type_of_union == 'timestamps':
63446
- if timestamps is None:
63447
- raise ValueError('a union value must not be None')
63448
- self._timestamps = timestamps
63449
- self._type = 'timestamps'
63450
63393
  elif type_of_union == 'timestampMappings':
63451
63394
  if timestamp_mappings is None:
63452
63395
  raise ValueError('a union value must not be None')
63453
63396
  self._timestamp_mappings = timestamp_mappings
63454
63397
  self._type = 'timestampMappings'
63455
63398
 
63456
- @builtins.property
63457
- def timestamps(self) -> Optional[List["api_Timestamp"]]:
63458
- return self._timestamps
63459
-
63460
63399
  @builtins.property
63461
63400
  def timestamp_mappings(self) -> Optional["scout_video_api_TimestampMappings"]:
63462
63401
  return self._timestamp_mappings
@@ -63464,8 +63403,6 @@ extracted and mapped to those in the provided manifest."""
63464
63403
  def accept(self, visitor) -> Any:
63465
63404
  if not isinstance(visitor, scout_video_api_SegmentTimestampsVisitor):
63466
63405
  raise ValueError('{} is not an instance of scout_video_api_SegmentTimestampsVisitor'.format(visitor.__class__.__name__))
63467
- if self._type == 'timestamps' and self.timestamps is not None:
63468
- return visitor._timestamps(self.timestamps)
63469
63406
  if self._type == 'timestampMappings' and self.timestamp_mappings is not None:
63470
63407
  return visitor._timestamp_mappings(self.timestamp_mappings)
63471
63408
 
@@ -63477,10 +63414,6 @@ scout_video_api_SegmentTimestamps.__module__ = "nominal_api.scout_video_api"
63477
63414
 
63478
63415
  class scout_video_api_SegmentTimestampsVisitor:
63479
63416
 
63480
- @abstractmethod
63481
- def _timestamps(self, timestamps: List["api_Timestamp"]) -> Any:
63482
- pass
63483
-
63484
63417
  @abstractmethod
63485
63418
  def _timestamp_mappings(self, timestamp_mappings: "scout_video_api_TimestampMappings") -> Any:
63486
63419
  pass
@@ -63684,24 +63617,21 @@ scout_video_api_UpdateIngestStatusVisitor.__module__ = "nominal_api.scout_video_
63684
63617
 
63685
63618
 
63686
63619
  class scout_video_api_UpdateIngestStatusRequest(ConjureBeanType):
63687
- """
63688
- Request to update the ingest status for a video file.
63689
- """
63690
63620
 
63691
63621
  @builtins.classmethod
63692
63622
  def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
63693
63623
  return {
63694
- 'updated_status': ConjureFieldDefinition('updatedStatus', scout_video_api_UpdateIngestStatus)
63624
+ 'ingest_status': ConjureFieldDefinition('ingestStatus', scout_video_api_VideoFileIngestStatus)
63695
63625
  }
63696
63626
 
63697
- __slots__: List[str] = ['_updated_status']
63627
+ __slots__: List[str] = ['_ingest_status']
63698
63628
 
63699
- def __init__(self, updated_status: "scout_video_api_UpdateIngestStatus") -> None:
63700
- self._updated_status = updated_status
63629
+ def __init__(self, ingest_status: "scout_video_api_VideoFileIngestStatus") -> None:
63630
+ self._ingest_status = ingest_status
63701
63631
 
63702
63632
  @builtins.property
63703
- def updated_status(self) -> "scout_video_api_UpdateIngestStatus":
63704
- return self._updated_status
63633
+ def ingest_status(self) -> "scout_video_api_VideoFileIngestStatus":
63634
+ return self._ingest_status
63705
63635
 
63706
63636
 
63707
63637
  scout_video_api_UpdateIngestStatusRequest.__name__ = "UpdateIngestStatusRequest"
@@ -64136,6 +64066,104 @@ scout_video_api_VideoFile.__qualname__ = "VideoFile"
64136
64066
  scout_video_api_VideoFile.__module__ = "nominal_api.scout_video_api"
64137
64067
 
64138
64068
 
64069
+ class scout_video_api_VideoFileIngestStatus(ConjureUnionType):
64070
+ _success: Optional["scout_video_api_SuccessIngestStatus"] = None
64071
+ _error: Optional["scout_video_api_IngestError"] = None
64072
+ _in_progress: Optional["api_Empty"] = None
64073
+
64074
+ @builtins.classmethod
64075
+ def _options(cls) -> Dict[str, ConjureFieldDefinition]:
64076
+ return {
64077
+ 'success': ConjureFieldDefinition('success', scout_video_api_SuccessIngestStatus),
64078
+ 'error': ConjureFieldDefinition('error', scout_video_api_IngestError),
64079
+ 'in_progress': ConjureFieldDefinition('inProgress', api_Empty)
64080
+ }
64081
+
64082
+ def __init__(
64083
+ self,
64084
+ success: Optional["scout_video_api_SuccessIngestStatus"] = None,
64085
+ error: Optional["scout_video_api_IngestError"] = None,
64086
+ in_progress: Optional["api_Empty"] = None,
64087
+ type_of_union: Optional[str] = None
64088
+ ) -> None:
64089
+ if type_of_union is None:
64090
+ if (success is not None) + (error is not None) + (in_progress is not None) != 1:
64091
+ raise ValueError('a union must contain a single member')
64092
+
64093
+ if success is not None:
64094
+ self._success = success
64095
+ self._type = 'success'
64096
+ if error is not None:
64097
+ self._error = error
64098
+ self._type = 'error'
64099
+ if in_progress is not None:
64100
+ self._in_progress = in_progress
64101
+ self._type = 'inProgress'
64102
+
64103
+ elif type_of_union == 'success':
64104
+ if success is None:
64105
+ raise ValueError('a union value must not be None')
64106
+ self._success = success
64107
+ self._type = 'success'
64108
+ elif type_of_union == 'error':
64109
+ if error is None:
64110
+ raise ValueError('a union value must not be None')
64111
+ self._error = error
64112
+ self._type = 'error'
64113
+ elif type_of_union == 'inProgress':
64114
+ if in_progress is None:
64115
+ raise ValueError('a union value must not be None')
64116
+ self._in_progress = in_progress
64117
+ self._type = 'inProgress'
64118
+
64119
+ @builtins.property
64120
+ def success(self) -> Optional["scout_video_api_SuccessIngestStatus"]:
64121
+ return self._success
64122
+
64123
+ @builtins.property
64124
+ def error(self) -> Optional["scout_video_api_IngestError"]:
64125
+ return self._error
64126
+
64127
+ @builtins.property
64128
+ def in_progress(self) -> Optional["api_Empty"]:
64129
+ return self._in_progress
64130
+
64131
+ def accept(self, visitor) -> Any:
64132
+ if not isinstance(visitor, scout_video_api_VideoFileIngestStatusVisitor):
64133
+ raise ValueError('{} is not an instance of scout_video_api_VideoFileIngestStatusVisitor'.format(visitor.__class__.__name__))
64134
+ if self._type == 'success' and self.success is not None:
64135
+ return visitor._success(self.success)
64136
+ if self._type == 'error' and self.error is not None:
64137
+ return visitor._error(self.error)
64138
+ if self._type == 'inProgress' and self.in_progress is not None:
64139
+ return visitor._in_progress(self.in_progress)
64140
+
64141
+
64142
+ scout_video_api_VideoFileIngestStatus.__name__ = "VideoFileIngestStatus"
64143
+ scout_video_api_VideoFileIngestStatus.__qualname__ = "VideoFileIngestStatus"
64144
+ scout_video_api_VideoFileIngestStatus.__module__ = "nominal_api.scout_video_api"
64145
+
64146
+
64147
+ class scout_video_api_VideoFileIngestStatusVisitor:
64148
+
64149
+ @abstractmethod
64150
+ def _success(self, success: "scout_video_api_SuccessIngestStatus") -> Any:
64151
+ pass
64152
+
64153
+ @abstractmethod
64154
+ def _error(self, error: "scout_video_api_IngestError") -> Any:
64155
+ pass
64156
+
64157
+ @abstractmethod
64158
+ def _in_progress(self, in_progress: "api_Empty") -> Any:
64159
+ pass
64160
+
64161
+
64162
+ scout_video_api_VideoFileIngestStatusVisitor.__name__ = "VideoFileIngestStatusVisitor"
64163
+ scout_video_api_VideoFileIngestStatusVisitor.__qualname__ = "VideoFileIngestStatusVisitor"
64164
+ scout_video_api_VideoFileIngestStatusVisitor.__module__ = "nominal_api.scout_video_api"
64165
+
64166
+
64139
64167
  class scout_video_api_VideoFileOriginMetadata(ConjureBeanType):
64140
64168
  """
64141
64169
  Metadata about the origin of the video file. This includes the original source of the video file and
@@ -64179,6 +64207,9 @@ scout_video_api_VideoFileOriginMetadata.__module__ = "nominal_api.scout_video_ap
64179
64207
 
64180
64208
 
64181
64209
  class scout_video_api_VideoFileSegmentsMetadata(ConjureBeanType):
64210
+ """
64211
+ High-level metadata about the segments comprising a video file post-segmentation.
64212
+ """
64182
64213
 
64183
64214
  @builtins.classmethod
64184
64215
  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,
@@ -44,8 +44,7 @@ from .._impl import (
44
44
  scout_compute_resolved_api_IntersectRangesNode as IntersectRangesNode,
45
45
  scout_compute_resolved_api_LatLongBounds as LatLongBounds,
46
46
  scout_compute_resolved_api_LatLongGeoNode as LatLongGeoNode,
47
- scout_compute_resolved_api_LogFilterRangesNode as LogFilterRangesNode,
48
- scout_compute_resolved_api_LogFilterTransformationSeriesNode as LogFilterTransformationSeriesNode,
47
+ scout_compute_resolved_api_LogFilterSeriesNode as LogFilterSeriesNode,
49
48
  scout_compute_resolved_api_LogSeriesNode as LogSeriesNode,
50
49
  scout_compute_resolved_api_LogSeriesNodeVisitor as LogSeriesNodeVisitor,
51
50
  scout_compute_resolved_api_LogTimeShiftSeriesNode as LogTimeShiftSeriesNode,
@@ -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,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nominal-api
3
- Version: 0.561.2
3
+ Version: 0.563.0
4
4
  Requires-Python: >=3.8
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: conjure-python-client<3,>=2.8.0
@@ -1,5 +1,5 @@
1
- nominal_api/__init__.py,sha256=Y_tEygjSEE0VgG_idNX7ApHj_lrYY39Y_oYtwQyFpOs,1791
2
- nominal_api/_impl.py,sha256=QI-fkoSmKNOZd1_tCnnbk9jirTONC6EihQQmnmbVEdI,2750650
1
+ nominal_api/__init__.py,sha256=M7b1Q3JDpVaIH1PrVLwb5Nfij4pjdjUVyQk6vRbk5oY,1791
2
+ nominal_api/_impl.py,sha256=wX4r8S-aD_NkPwKDXcnBjsr9H6BSkgdjldt5pJ-JRlc,2751758
3
3
  nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
4
4
  nominal_api/api/__init__.py,sha256=kJBEE_HLVpKYdLH12KyO-cSAVzwxYpBwaaDutCtT-LM,1236
5
5
  nominal_api/api_rids/__init__.py,sha256=MwCU7tf4EQBdNPY12rgPdr4y11iowEXxYqtNCvw7sdo,380
@@ -27,10 +27,10 @@ nominal_api/scout_checklistexecution_api/__init__.py,sha256=PfMFzie0xO5d5WSpB3bE
27
27
  nominal_api/scout_checks_api/__init__.py,sha256=RJH7HsXjUhItC11V9C-hfv6lkIfiSXyxnB8slUpaT2g,5203
28
28
  nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=8BL5jE9NDxqCj9DyvZWSPhq6zw2J7xp6aLsl3x9rpyw,4530
29
29
  nominal_api/scout_comparisonrun_api/__init__.py,sha256=1LCXQe64tDqqeMQixW8PI-R_edSz7F5X0x2_ufEuC8M,480
30
- nominal_api/scout_compute_api/__init__.py,sha256=JUkoyU-2JCFPa5aBl45rfNvo5DuxuPkWfJiN7TbEyZ4,17044
30
+ nominal_api/scout_compute_api/__init__.py,sha256=DGXb6TQbX4DklA6W6rTqPqkU2W5KdmsO1xZBD2MdFXA,17216
31
31
  nominal_api/scout_compute_api_deprecated/__init__.py,sha256=RggSfc6C1VR1-kNXPWybpfw3hZbkQ1gvxEisFZCHdnM,3732
32
32
  nominal_api/scout_compute_representation_api/__init__.py,sha256=FezODo7sI8m6tDhPPK_gZX1qXImi4O3TUprDoNUuWpk,1672
33
- nominal_api/scout_compute_resolved_api/__init__.py,sha256=7o7MZHyvcHyXlonWkLWpMeO13XPa9F8CD02NP3_5rQo,8801
33
+ nominal_api/scout_compute_resolved_api/__init__.py,sha256=-IZ6eqgHGJsK3Z2URCYUlUgoyghlSMT2Ml7xJjmJePs,8698
34
34
  nominal_api/scout_dataexport_api/__init__.py,sha256=pWRQdQJOObD0jITRYLw3AxeDJSrJQqAdFZACxULqA4o,1487
35
35
  nominal_api/scout_datareview_api/__init__.py,sha256=ETAl7VWaxOk8g9uwfsKo573-3qfDNbGQ1_QBQaDPRxk,8405
36
36
  nominal_api/scout_datasource/__init__.py,sha256=1NWMrEx-JOEb4Pmd2oAqcpSmQB3g3lxgxFenWEtcF2M,101
@@ -52,7 +52,7 @@ nominal_api/scout_template_api/__init__.py,sha256=bsu8qPiZ4gf67G5iFvwsfkqEKJRZ7L
52
52
  nominal_api/scout_units_api/__init__.py,sha256=KxRDScfumX__0ncWJftGvgApn_LBTfnIBAvnaBrcA5A,368
53
53
  nominal_api/scout_versioning_api/__init__.py,sha256=Sf4T4t0rZXNRIZgkqLBN3yh0sAnrxiuzaTfDQVVkyO4,1323
54
54
  nominal_api/scout_video/__init__.py,sha256=zB7mM23yGAgC529rF4gjDmqcLRbsp0kJA3xef8meZko,200
55
- nominal_api/scout_video_api/__init__.py,sha256=u8QBMJLP13HeCieE716zPq_2Yia3b0Uf80teGjEZ7nE,3402
55
+ nominal_api/scout_video_api/__init__.py,sha256=VRcjlc11avwaCLaWHWlqcfDaNmYV0ScyfAsh8Oec47w,3404
56
56
  nominal_api/scout_workbookcommon_api/__init__.py,sha256=6Ai0cYNOOw2A6JOlKzraTbpZwolspM-WTqVGLMN2HdI,413
57
57
  nominal_api/secrets_api/__init__.py,sha256=V5BpnbNzjdMP8kgvR2N6SEVcVyXi6Vyl_lh_5fKjJzw,736
58
58
  nominal_api/storage_datasource_api/__init__.py,sha256=jh_OZE_b4nBNAvnyenBjw8aGZOnvIXR6qvUKd31fXOk,445
@@ -66,7 +66,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=KuHLafDLeHzOTl0B6j7T
66
66
  nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
67
67
  nominal_api/timeseries_seriescache_api/__init__.py,sha256=U9EhlqdF9qzD1O9al0vcvcdgS_C5lq-lN3Kmr0K3g84,1191
68
68
  nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
69
- nominal_api-0.561.2.dist-info/METADATA,sha256=Tk41Wi7hnfmmIRqaTbli6yOgtq07QBe1nS-zh11dNwU,199
70
- nominal_api-0.561.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
71
- nominal_api-0.561.2.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
72
- nominal_api-0.561.2.dist-info/RECORD,,
69
+ nominal_api-0.563.0.dist-info/METADATA,sha256=e9GqnDv4uZ3oyU-hRlHOjGK4swnFli4J0lwxUyarX_Q,199
70
+ nominal_api-0.563.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
71
+ nominal_api-0.563.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
72
+ nominal_api-0.563.0.dist-info/RECORD,,