nominal-api 0.947.0__py3-none-any.whl → 0.948.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
nominal_api/__init__.py CHANGED
@@ -82,5 +82,5 @@ __all__ = [
82
82
 
83
83
  __conjure_generator_version__ = "4.17.0"
84
84
 
85
- __version__ = "0.947.0"
85
+ __version__ = "0.948.1"
86
86
 
nominal_api/_impl.py CHANGED
@@ -13521,7 +13521,7 @@ ingest_api_VideoTimestampManifestVisitor.__module__ = "nominal_api.ingest_api"
13521
13521
 
13522
13522
  class ingest_manifest_ExtractorManifest(ConjureBeanType):
13523
13523
  """Manifest file produced by containerized extractors to describe their outputs.
13524
- This is written as manifest.yaml in the OUTPUT_DIR by the container.
13524
+ This is written as manifest.json in the OUTPUT_DIR by the container.
13525
13525
  """
13526
13526
 
13527
13527
  @builtins.classmethod
@@ -13603,7 +13603,7 @@ ingest_manifest_ManifestIngestType.__module__ = "nominal_api.ingest_manifest"
13603
13603
 
13604
13604
  class ingest_manifest_ManifestOutput(ConjureBeanType):
13605
13605
  """Describes a single output file from a containerized extractor.
13606
- This is written by the container in manifest.yaml.
13606
+ This is written by the container in manifest.json.
13607
13607
  """
13608
13608
 
13609
13609
  @builtins.classmethod
@@ -17912,6 +17912,8 @@ class persistent_compute_api_InvalidComputationType(ConjureEnumType):
17912
17912
  '''CURVE_FITTING'''
17913
17913
  PAGE_SUMMARIZATION_STRATEGY = 'PAGE_SUMMARIZATION_STRATEGY'
17914
17914
  '''PAGE_SUMMARIZATION_STRATEGY'''
17915
+ TRUNCATE_SUMMARIZATION_STRATEGY = 'TRUNCATE_SUMMARIZATION_STRATEGY'
17916
+ '''TRUNCATE_SUMMARIZATION_STRATEGY'''
17915
17917
  LOG_SERIES = 'LOG_SERIES'
17916
17918
  '''LOG_SERIES'''
17917
17919
  LITERAL_RANGES = 'LITERAL_RANGES'
@@ -41028,38 +41030,38 @@ scout_compute_api_ArraySeriesVisitor.__module__ = "nominal_api.scout_compute_api
41028
41030
 
41029
41031
 
41030
41032
  class scout_compute_api_ArrowArrayPlot(ConjureUnionType):
41031
- _paged_numeric: Optional["scout_compute_api_PagedNumericArrayPlot"] = None
41032
- _paged_enum: Optional["scout_compute_api_PagedEnumArrayPlot"] = None
41033
+ _numeric_array_series: Optional["scout_compute_api_NumericArrayPlot"] = None
41034
+ _enum_array_series: Optional["scout_compute_api_EnumArrayPlot"] = None
41033
41035
  _bucketed_numeric: Optional["scout_compute_api_BucketedNumericArrayPlot"] = None
41034
41036
  _bucketed_enum: Optional["scout_compute_api_BucketedEnumArrayPlot"] = None
41035
41037
 
41036
41038
  @builtins.classmethod
41037
41039
  def _options(cls) -> Dict[str, ConjureFieldDefinition]:
41038
41040
  return {
41039
- 'paged_numeric': ConjureFieldDefinition('pagedNumeric', scout_compute_api_PagedNumericArrayPlot),
41040
- 'paged_enum': ConjureFieldDefinition('pagedEnum', scout_compute_api_PagedEnumArrayPlot),
41041
+ 'numeric_array_series': ConjureFieldDefinition('numericArraySeries', scout_compute_api_NumericArrayPlot),
41042
+ 'enum_array_series': ConjureFieldDefinition('enumArraySeries', scout_compute_api_EnumArrayPlot),
41041
41043
  'bucketed_numeric': ConjureFieldDefinition('bucketedNumeric', scout_compute_api_BucketedNumericArrayPlot),
41042
41044
  'bucketed_enum': ConjureFieldDefinition('bucketedEnum', scout_compute_api_BucketedEnumArrayPlot)
41043
41045
  }
41044
41046
 
41045
41047
  def __init__(
41046
41048
  self,
41047
- paged_numeric: Optional["scout_compute_api_PagedNumericArrayPlot"] = None,
41048
- paged_enum: Optional["scout_compute_api_PagedEnumArrayPlot"] = None,
41049
+ numeric_array_series: Optional["scout_compute_api_NumericArrayPlot"] = None,
41050
+ enum_array_series: Optional["scout_compute_api_EnumArrayPlot"] = None,
41049
41051
  bucketed_numeric: Optional["scout_compute_api_BucketedNumericArrayPlot"] = None,
41050
41052
  bucketed_enum: Optional["scout_compute_api_BucketedEnumArrayPlot"] = None,
41051
41053
  type_of_union: Optional[str] = None
41052
41054
  ) -> None:
41053
41055
  if type_of_union is None:
41054
- if (paged_numeric is not None) + (paged_enum is not None) + (bucketed_numeric is not None) + (bucketed_enum is not None) != 1:
41056
+ if (numeric_array_series is not None) + (enum_array_series is not None) + (bucketed_numeric is not None) + (bucketed_enum is not None) != 1:
41055
41057
  raise ValueError('a union must contain a single member')
41056
41058
 
41057
- if paged_numeric is not None:
41058
- self._paged_numeric = paged_numeric
41059
- self._type = 'pagedNumeric'
41060
- if paged_enum is not None:
41061
- self._paged_enum = paged_enum
41062
- self._type = 'pagedEnum'
41059
+ if numeric_array_series is not None:
41060
+ self._numeric_array_series = numeric_array_series
41061
+ self._type = 'numericArraySeries'
41062
+ if enum_array_series is not None:
41063
+ self._enum_array_series = enum_array_series
41064
+ self._type = 'enumArraySeries'
41063
41065
  if bucketed_numeric is not None:
41064
41066
  self._bucketed_numeric = bucketed_numeric
41065
41067
  self._type = 'bucketedNumeric'
@@ -41067,16 +41069,16 @@ class scout_compute_api_ArrowArrayPlot(ConjureUnionType):
41067
41069
  self._bucketed_enum = bucketed_enum
41068
41070
  self._type = 'bucketedEnum'
41069
41071
 
41070
- elif type_of_union == 'pagedNumeric':
41071
- if paged_numeric is None:
41072
+ elif type_of_union == 'numericArraySeries':
41073
+ if numeric_array_series is None:
41072
41074
  raise ValueError('a union value must not be None')
41073
- self._paged_numeric = paged_numeric
41074
- self._type = 'pagedNumeric'
41075
- elif type_of_union == 'pagedEnum':
41076
- if paged_enum is None:
41075
+ self._numeric_array_series = numeric_array_series
41076
+ self._type = 'numericArraySeries'
41077
+ elif type_of_union == 'enumArraySeries':
41078
+ if enum_array_series is None:
41077
41079
  raise ValueError('a union value must not be None')
41078
- self._paged_enum = paged_enum
41079
- self._type = 'pagedEnum'
41080
+ self._enum_array_series = enum_array_series
41081
+ self._type = 'enumArraySeries'
41080
41082
  elif type_of_union == 'bucketedNumeric':
41081
41083
  if bucketed_numeric is None:
41082
41084
  raise ValueError('a union value must not be None')
@@ -41089,12 +41091,12 @@ class scout_compute_api_ArrowArrayPlot(ConjureUnionType):
41089
41091
  self._type = 'bucketedEnum'
41090
41092
 
41091
41093
  @builtins.property
41092
- def paged_numeric(self) -> Optional["scout_compute_api_PagedNumericArrayPlot"]:
41093
- return self._paged_numeric
41094
+ def numeric_array_series(self) -> Optional["scout_compute_api_NumericArrayPlot"]:
41095
+ return self._numeric_array_series
41094
41096
 
41095
41097
  @builtins.property
41096
- def paged_enum(self) -> Optional["scout_compute_api_PagedEnumArrayPlot"]:
41097
- return self._paged_enum
41098
+ def enum_array_series(self) -> Optional["scout_compute_api_EnumArrayPlot"]:
41099
+ return self._enum_array_series
41098
41100
 
41099
41101
  @builtins.property
41100
41102
  def bucketed_numeric(self) -> Optional["scout_compute_api_BucketedNumericArrayPlot"]:
@@ -41107,10 +41109,10 @@ class scout_compute_api_ArrowArrayPlot(ConjureUnionType):
41107
41109
  def accept(self, visitor) -> Any:
41108
41110
  if not isinstance(visitor, scout_compute_api_ArrowArrayPlotVisitor):
41109
41111
  raise ValueError('{} is not an instance of scout_compute_api_ArrowArrayPlotVisitor'.format(visitor.__class__.__name__))
41110
- if self._type == 'pagedNumeric' and self.paged_numeric is not None:
41111
- return visitor._paged_numeric(self.paged_numeric)
41112
- if self._type == 'pagedEnum' and self.paged_enum is not None:
41113
- return visitor._paged_enum(self.paged_enum)
41112
+ if self._type == 'numericArraySeries' and self.numeric_array_series is not None:
41113
+ return visitor._numeric_array_series(self.numeric_array_series)
41114
+ if self._type == 'enumArraySeries' and self.enum_array_series is not None:
41115
+ return visitor._enum_array_series(self.enum_array_series)
41114
41116
  if self._type == 'bucketedNumeric' and self.bucketed_numeric is not None:
41115
41117
  return visitor._bucketed_numeric(self.bucketed_numeric)
41116
41118
  if self._type == 'bucketedEnum' and self.bucketed_enum is not None:
@@ -41125,11 +41127,11 @@ scout_compute_api_ArrowArrayPlot.__module__ = "nominal_api.scout_compute_api"
41125
41127
  class scout_compute_api_ArrowArrayPlotVisitor:
41126
41128
 
41127
41129
  @abstractmethod
41128
- def _paged_numeric(self, paged_numeric: "scout_compute_api_PagedNumericArrayPlot") -> Any:
41130
+ def _numeric_array_series(self, numeric_array_series: "scout_compute_api_NumericArrayPlot") -> Any:
41129
41131
  pass
41130
41132
 
41131
41133
  @abstractmethod
41132
- def _paged_enum(self, paged_enum: "scout_compute_api_PagedEnumArrayPlot") -> Any:
41134
+ def _enum_array_series(self, enum_array_series: "scout_compute_api_EnumArrayPlot") -> Any:
41133
41135
  pass
41134
41136
 
41135
41137
  @abstractmethod
@@ -46042,6 +46044,40 @@ scout_compute_api_EnumAggregationFunction.__qualname__ = "EnumAggregationFunctio
46042
46044
  scout_compute_api_EnumAggregationFunction.__module__ = "nominal_api.scout_compute_api"
46043
46045
 
46044
46046
 
46047
+ class scout_compute_api_EnumArrayPlot(ConjureBeanType):
46048
+
46049
+ @builtins.classmethod
46050
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
46051
+ return {
46052
+ 'arrow_binary': ConjureFieldDefinition('arrowBinary', BinaryType),
46053
+ 'group_by_keys': ConjureFieldDefinition('groupByKeys', OptionalTypeWrapper[List[str]])
46054
+ }
46055
+
46056
+ __slots__: List[str] = ['_arrow_binary', '_group_by_keys']
46057
+
46058
+ def __init__(self, arrow_binary: Any, group_by_keys: Optional[List[str]] = None) -> None:
46059
+ self._arrow_binary = arrow_binary
46060
+ self._group_by_keys = group_by_keys
46061
+
46062
+ @builtins.property
46063
+ def arrow_binary(self) -> Any:
46064
+ """The raw binary containing Arrow IPC stream for the first n rows of an enum array plot sorted by timestamp.
46065
+ """
46066
+ return self._arrow_binary
46067
+
46068
+ @builtins.property
46069
+ def group_by_keys(self) -> Optional[List[str]]:
46070
+ """This field specifies the tags that the final output is grouped by. When you combine multiple channels,
46071
+ this list represents the superset of all group by keys used across every individual channel.
46072
+ """
46073
+ return self._group_by_keys
46074
+
46075
+
46076
+ scout_compute_api_EnumArrayPlot.__name__ = "EnumArrayPlot"
46077
+ scout_compute_api_EnumArrayPlot.__qualname__ = "EnumArrayPlot"
46078
+ scout_compute_api_EnumArrayPlot.__module__ = "nominal_api.scout_compute_api"
46079
+
46080
+
46045
46081
  class scout_compute_api_EnumBucket(ConjureBeanType):
46046
46082
 
46047
46083
  @builtins.classmethod
@@ -49656,6 +49692,40 @@ scout_compute_api_NumericApproximateFilterSeries.__qualname__ = "NumericApproxim
49656
49692
  scout_compute_api_NumericApproximateFilterSeries.__module__ = "nominal_api.scout_compute_api"
49657
49693
 
49658
49694
 
49695
+ class scout_compute_api_NumericArrayPlot(ConjureBeanType):
49696
+
49697
+ @builtins.classmethod
49698
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
49699
+ return {
49700
+ 'arrow_binary': ConjureFieldDefinition('arrowBinary', BinaryType),
49701
+ 'group_by_keys': ConjureFieldDefinition('groupByKeys', OptionalTypeWrapper[List[str]])
49702
+ }
49703
+
49704
+ __slots__: List[str] = ['_arrow_binary', '_group_by_keys']
49705
+
49706
+ def __init__(self, arrow_binary: Any, group_by_keys: Optional[List[str]] = None) -> None:
49707
+ self._arrow_binary = arrow_binary
49708
+ self._group_by_keys = group_by_keys
49709
+
49710
+ @builtins.property
49711
+ def arrow_binary(self) -> Any:
49712
+ """The raw binary containing Arrow IPC stream for the first n rows of a numeric array plot sorted by timestamp.
49713
+ """
49714
+ return self._arrow_binary
49715
+
49716
+ @builtins.property
49717
+ def group_by_keys(self) -> Optional[List[str]]:
49718
+ """This field specifies the tags that the final output is grouped by. When you combine multiple channels,
49719
+ this list represents the superset of all group by keys used across every individual channel.
49720
+ """
49721
+ return self._group_by_keys
49722
+
49723
+
49724
+ scout_compute_api_NumericArrayPlot.__name__ = "NumericArrayPlot"
49725
+ scout_compute_api_NumericArrayPlot.__qualname__ = "NumericArrayPlot"
49726
+ scout_compute_api_NumericArrayPlot.__module__ = "nominal_api.scout_compute_api"
49727
+
49728
+
49659
49729
  class scout_compute_api_NumericBucket(ConjureBeanType):
49660
49730
 
49661
49731
  @builtins.classmethod
@@ -51530,50 +51600,6 @@ scout_compute_api_PageTokenVisitor.__qualname__ = "PageTokenVisitor"
51530
51600
  scout_compute_api_PageTokenVisitor.__module__ = "nominal_api.scout_compute_api"
51531
51601
 
51532
51602
 
51533
- class scout_compute_api_PagedEnumArrayPlot(ConjureBeanType):
51534
-
51535
- @builtins.classmethod
51536
- def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
51537
- return {
51538
- 'arrow_binary': ConjureFieldDefinition('arrowBinary', BinaryType),
51539
- 'group_by_keys': ConjureFieldDefinition('groupByKeys', OptionalTypeWrapper[List[str]]),
51540
- 'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[scout_compute_api_PageToken])
51541
- }
51542
-
51543
- __slots__: List[str] = ['_arrow_binary', '_group_by_keys', '_next_page_token']
51544
-
51545
- def __init__(self, arrow_binary: Any, group_by_keys: Optional[List[str]] = None, next_page_token: Optional["scout_compute_api_PageToken"] = None) -> None:
51546
- self._arrow_binary = arrow_binary
51547
- self._group_by_keys = group_by_keys
51548
- self._next_page_token = next_page_token
51549
-
51550
- @builtins.property
51551
- def arrow_binary(self) -> Any:
51552
- """The raw binary containing Arrow IPC stream for a page of an N-dimensional enum array plot.
51553
- """
51554
- return self._arrow_binary
51555
-
51556
- @builtins.property
51557
- def group_by_keys(self) -> Optional[List[str]]:
51558
- """This field specifies the tags that the final output is grouped by. When you combine multiple channels,
51559
- this list represents the superset of all group by keys used across every individual channel.
51560
- """
51561
- return self._group_by_keys
51562
-
51563
- @builtins.property
51564
- def next_page_token(self) -> Optional["scout_compute_api_PageToken"]:
51565
- """The token to retrieve the next page of arrays in the direction originally requested (exclusive - not
51566
- included in these results). May be empty if there are no further values in the requested time range in the
51567
- direction originally requested.
51568
- """
51569
- return self._next_page_token
51570
-
51571
-
51572
- scout_compute_api_PagedEnumArrayPlot.__name__ = "PagedEnumArrayPlot"
51573
- scout_compute_api_PagedEnumArrayPlot.__qualname__ = "PagedEnumArrayPlot"
51574
- scout_compute_api_PagedEnumArrayPlot.__module__ = "nominal_api.scout_compute_api"
51575
-
51576
-
51577
51603
  class scout_compute_api_PagedLogPlot(ConjureBeanType):
51578
51604
 
51579
51605
  @builtins.classmethod
@@ -51613,50 +51639,6 @@ scout_compute_api_PagedLogPlot.__qualname__ = "PagedLogPlot"
51613
51639
  scout_compute_api_PagedLogPlot.__module__ = "nominal_api.scout_compute_api"
51614
51640
 
51615
51641
 
51616
- class scout_compute_api_PagedNumericArrayPlot(ConjureBeanType):
51617
-
51618
- @builtins.classmethod
51619
- def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
51620
- return {
51621
- 'arrow_binary': ConjureFieldDefinition('arrowBinary', BinaryType),
51622
- 'group_by_keys': ConjureFieldDefinition('groupByKeys', OptionalTypeWrapper[List[str]]),
51623
- 'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[scout_compute_api_PageToken])
51624
- }
51625
-
51626
- __slots__: List[str] = ['_arrow_binary', '_group_by_keys', '_next_page_token']
51627
-
51628
- def __init__(self, arrow_binary: Any, group_by_keys: Optional[List[str]] = None, next_page_token: Optional["scout_compute_api_PageToken"] = None) -> None:
51629
- self._arrow_binary = arrow_binary
51630
- self._group_by_keys = group_by_keys
51631
- self._next_page_token = next_page_token
51632
-
51633
- @builtins.property
51634
- def arrow_binary(self) -> Any:
51635
- """The raw binary containing Arrow IPC stream for a page of an N-dimensional numeric array plot.
51636
- """
51637
- return self._arrow_binary
51638
-
51639
- @builtins.property
51640
- def group_by_keys(self) -> Optional[List[str]]:
51641
- """This field specifies the tags that the final output is grouped by. When you combine multiple channels,
51642
- this list represents the superset of all group by keys used across every individual channel.
51643
- """
51644
- return self._group_by_keys
51645
-
51646
- @builtins.property
51647
- def next_page_token(self) -> Optional["scout_compute_api_PageToken"]:
51648
- """The token to retrieve the next page of arrays in the direction originally requested (exclusive - not
51649
- included in these results). May be empty if there are no further values in the requested time range in the
51650
- direction originally requested.
51651
- """
51652
- return self._next_page_token
51653
-
51654
-
51655
- scout_compute_api_PagedNumericArrayPlot.__name__ = "PagedNumericArrayPlot"
51656
- scout_compute_api_PagedNumericArrayPlot.__qualname__ = "PagedNumericArrayPlot"
51657
- scout_compute_api_PagedNumericArrayPlot.__module__ = "nominal_api.scout_compute_api"
51658
-
51659
-
51660
51642
  class scout_compute_api_ParameterInput(ConjureBeanType):
51661
51643
 
51662
51644
  @builtins.classmethod
@@ -54965,22 +54947,25 @@ scout_compute_api_SumSeries.__module__ = "nominal_api.scout_compute_api"
54965
54947
  class scout_compute_api_SummarizationStrategy(ConjureUnionType):
54966
54948
  _decimate: Optional["scout_compute_api_DecimateStrategy"] = None
54967
54949
  _page: Optional["scout_compute_api_PageStrategy"] = None
54950
+ _truncate: Optional["scout_compute_api_TruncateStrategy"] = None
54968
54951
 
54969
54952
  @builtins.classmethod
54970
54953
  def _options(cls) -> Dict[str, ConjureFieldDefinition]:
54971
54954
  return {
54972
54955
  'decimate': ConjureFieldDefinition('decimate', scout_compute_api_DecimateStrategy),
54973
- 'page': ConjureFieldDefinition('page', scout_compute_api_PageStrategy)
54956
+ 'page': ConjureFieldDefinition('page', scout_compute_api_PageStrategy),
54957
+ 'truncate': ConjureFieldDefinition('truncate', scout_compute_api_TruncateStrategy)
54974
54958
  }
54975
54959
 
54976
54960
  def __init__(
54977
54961
  self,
54978
54962
  decimate: Optional["scout_compute_api_DecimateStrategy"] = None,
54979
54963
  page: Optional["scout_compute_api_PageStrategy"] = None,
54964
+ truncate: Optional["scout_compute_api_TruncateStrategy"] = None,
54980
54965
  type_of_union: Optional[str] = None
54981
54966
  ) -> None:
54982
54967
  if type_of_union is None:
54983
- if (decimate is not None) + (page is not None) != 1:
54968
+ if (decimate is not None) + (page is not None) + (truncate is not None) != 1:
54984
54969
  raise ValueError('a union must contain a single member')
54985
54970
 
54986
54971
  if decimate is not None:
@@ -54989,6 +54974,9 @@ class scout_compute_api_SummarizationStrategy(ConjureUnionType):
54989
54974
  if page is not None:
54990
54975
  self._page = page
54991
54976
  self._type = 'page'
54977
+ if truncate is not None:
54978
+ self._truncate = truncate
54979
+ self._type = 'truncate'
54992
54980
 
54993
54981
  elif type_of_union == 'decimate':
54994
54982
  if decimate is None:
@@ -55000,6 +54988,11 @@ class scout_compute_api_SummarizationStrategy(ConjureUnionType):
55000
54988
  raise ValueError('a union value must not be None')
55001
54989
  self._page = page
55002
54990
  self._type = 'page'
54991
+ elif type_of_union == 'truncate':
54992
+ if truncate is None:
54993
+ raise ValueError('a union value must not be None')
54994
+ self._truncate = truncate
54995
+ self._type = 'truncate'
55003
54996
 
55004
54997
  @builtins.property
55005
54998
  def decimate(self) -> Optional["scout_compute_api_DecimateStrategy"]:
@@ -55011,6 +55004,10 @@ class scout_compute_api_SummarizationStrategy(ConjureUnionType):
55011
55004
  """
55012
55005
  return self._page
55013
55006
 
55007
+ @builtins.property
55008
+ def truncate(self) -> Optional["scout_compute_api_TruncateStrategy"]:
55009
+ return self._truncate
55010
+
55014
55011
  def accept(self, visitor) -> Any:
55015
55012
  if not isinstance(visitor, scout_compute_api_SummarizationStrategyVisitor):
55016
55013
  raise ValueError('{} is not an instance of scout_compute_api_SummarizationStrategyVisitor'.format(visitor.__class__.__name__))
@@ -55018,6 +55015,8 @@ class scout_compute_api_SummarizationStrategy(ConjureUnionType):
55018
55015
  return visitor._decimate(self.decimate)
55019
55016
  if self._type == 'page' and self.page is not None:
55020
55017
  return visitor._page(self.page)
55018
+ if self._type == 'truncate' and self.truncate is not None:
55019
+ return visitor._truncate(self.truncate)
55021
55020
 
55022
55021
 
55023
55022
  scout_compute_api_SummarizationStrategy.__name__ = "SummarizationStrategy"
@@ -55035,6 +55034,10 @@ class scout_compute_api_SummarizationStrategyVisitor:
55035
55034
  def _page(self, page: "scout_compute_api_PageStrategy") -> Any:
55036
55035
  pass
55037
55036
 
55037
+ @abstractmethod
55038
+ def _truncate(self, truncate: "scout_compute_api_TruncateStrategy") -> Any:
55039
+ pass
55040
+
55038
55041
 
55039
55042
  scout_compute_api_SummarizationStrategyVisitor.__name__ = "SummarizationStrategyVisitor"
55040
55043
  scout_compute_api_SummarizationStrategyVisitor.__qualname__ = "SummarizationStrategyVisitor"
@@ -55852,6 +55855,64 @@ scout_compute_api_TimestampConstantVisitor.__qualname__ = "TimestampConstantVisi
55852
55855
  scout_compute_api_TimestampConstantVisitor.__module__ = "nominal_api.scout_compute_api"
55853
55856
 
55854
55857
 
55858
+ class scout_compute_api_TruncateStrategy(ConjureUnionType):
55859
+ _max_points_to_return: Optional[int] = None
55860
+
55861
+ @builtins.classmethod
55862
+ def _options(cls) -> Dict[str, ConjureFieldDefinition]:
55863
+ return {
55864
+ 'max_points_to_return': ConjureFieldDefinition('maxPointsToReturn', int)
55865
+ }
55866
+
55867
+ def __init__(
55868
+ self,
55869
+ max_points_to_return: Optional[int] = None,
55870
+ type_of_union: Optional[str] = None
55871
+ ) -> None:
55872
+ if type_of_union is None:
55873
+ if (max_points_to_return is not None) != 1:
55874
+ raise ValueError('a union must contain a single member')
55875
+
55876
+ if max_points_to_return is not None:
55877
+ self._max_points_to_return = max_points_to_return
55878
+ self._type = 'maxPointsToReturn'
55879
+
55880
+ elif type_of_union == 'maxPointsToReturn':
55881
+ if max_points_to_return is None:
55882
+ raise ValueError('a union value must not be None')
55883
+ self._max_points_to_return = max_points_to_return
55884
+ self._type = 'maxPointsToReturn'
55885
+
55886
+ @builtins.property
55887
+ def max_points_to_return(self) -> Optional[int]:
55888
+ """Maximum number of points to return before truncating, ordered by timestamp. Throws if greater than 10,000
55889
+ """
55890
+ return self._max_points_to_return
55891
+
55892
+ def accept(self, visitor) -> Any:
55893
+ if not isinstance(visitor, scout_compute_api_TruncateStrategyVisitor):
55894
+ raise ValueError('{} is not an instance of scout_compute_api_TruncateStrategyVisitor'.format(visitor.__class__.__name__))
55895
+ if self._type == 'maxPointsToReturn' and self.max_points_to_return is not None:
55896
+ return visitor._max_points_to_return(self.max_points_to_return)
55897
+
55898
+
55899
+ scout_compute_api_TruncateStrategy.__name__ = "TruncateStrategy"
55900
+ scout_compute_api_TruncateStrategy.__qualname__ = "TruncateStrategy"
55901
+ scout_compute_api_TruncateStrategy.__module__ = "nominal_api.scout_compute_api"
55902
+
55903
+
55904
+ class scout_compute_api_TruncateStrategyVisitor:
55905
+
55906
+ @abstractmethod
55907
+ def _max_points_to_return(self, max_points_to_return: int) -> Any:
55908
+ pass
55909
+
55910
+
55911
+ scout_compute_api_TruncateStrategyVisitor.__name__ = "TruncateStrategyVisitor"
55912
+ scout_compute_api_TruncateStrategyVisitor.__qualname__ = "TruncateStrategyVisitor"
55913
+ scout_compute_api_TruncateStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
55914
+
55915
+
55855
55916
  class scout_compute_api_UnaryArithmeticOperation(ConjureEnumType):
55856
55917
 
55857
55918
  COS = 'COS'
@@ -109,6 +109,7 @@ from .._impl import (
109
109
  scout_compute_api_Enum1dArraySeries as Enum1dArraySeries,
110
110
  scout_compute_api_Enum1dArraySeriesVisitor as Enum1dArraySeriesVisitor,
111
111
  scout_compute_api_EnumAggregationFunction as EnumAggregationFunction,
112
+ scout_compute_api_EnumArrayPlot as EnumArrayPlot,
112
113
  scout_compute_api_EnumBucket as EnumBucket,
113
114
  scout_compute_api_EnumConstantResampleInterpolationConfiguration as EnumConstantResampleInterpolationConfiguration,
114
115
  scout_compute_api_EnumCountDuplicateSeries as EnumCountDuplicateSeries,
@@ -220,6 +221,7 @@ from .._impl import (
220
221
  scout_compute_api_Numeric1dArraySeriesVisitor as Numeric1dArraySeriesVisitor,
221
222
  scout_compute_api_NumericAggregationFunction as NumericAggregationFunction,
222
223
  scout_compute_api_NumericApproximateFilterSeries as NumericApproximateFilterSeries,
224
+ scout_compute_api_NumericArrayPlot as NumericArrayPlot,
223
225
  scout_compute_api_NumericBucket as NumericBucket,
224
226
  scout_compute_api_NumericConstantResampleInterpolationConfiguration as NumericConstantResampleInterpolationConfiguration,
225
227
  scout_compute_api_NumericFilterTransformationSeries as NumericFilterTransformationSeries,
@@ -254,9 +256,7 @@ from .._impl import (
254
256
  scout_compute_api_PageStrategyVisitor as PageStrategyVisitor,
255
257
  scout_compute_api_PageToken as PageToken,
256
258
  scout_compute_api_PageTokenVisitor as PageTokenVisitor,
257
- scout_compute_api_PagedEnumArrayPlot as PagedEnumArrayPlot,
258
259
  scout_compute_api_PagedLogPlot as PagedLogPlot,
259
- scout_compute_api_PagedNumericArrayPlot as PagedNumericArrayPlot,
260
260
  scout_compute_api_ParameterInput as ParameterInput,
261
261
  scout_compute_api_ParameterizedComputeNodeRequest as ParameterizedComputeNodeRequest,
262
262
  scout_compute_api_ParameterizedComputeNodeResponse as ParameterizedComputeNodeResponse,
@@ -354,6 +354,8 @@ from .._impl import (
354
354
  scout_compute_api_TimestampAndId as TimestampAndId,
355
355
  scout_compute_api_TimestampConstant as TimestampConstant,
356
356
  scout_compute_api_TimestampConstantVisitor as TimestampConstantVisitor,
357
+ scout_compute_api_TruncateStrategy as TruncateStrategy,
358
+ scout_compute_api_TruncateStrategyVisitor as TruncateStrategyVisitor,
357
359
  scout_compute_api_UnaryArithmeticOperation as UnaryArithmeticOperation,
358
360
  scout_compute_api_UnaryArithmeticSeries as UnaryArithmeticSeries,
359
361
  scout_compute_api_UnboundedBehavior as UnboundedBehavior,
@@ -486,6 +488,7 @@ __all__ = [
486
488
  'Enum1dArraySeries',
487
489
  'Enum1dArraySeriesVisitor',
488
490
  'EnumAggregationFunction',
491
+ 'EnumArrayPlot',
489
492
  'EnumBucket',
490
493
  'EnumConstantResampleInterpolationConfiguration',
491
494
  'EnumCountDuplicateSeries',
@@ -597,6 +600,7 @@ __all__ = [
597
600
  'Numeric1dArraySeriesVisitor',
598
601
  'NumericAggregationFunction',
599
602
  'NumericApproximateFilterSeries',
603
+ 'NumericArrayPlot',
600
604
  'NumericBucket',
601
605
  'NumericConstantResampleInterpolationConfiguration',
602
606
  'NumericFilterTransformationSeries',
@@ -631,9 +635,7 @@ __all__ = [
631
635
  'PageStrategyVisitor',
632
636
  'PageToken',
633
637
  'PageTokenVisitor',
634
- 'PagedEnumArrayPlot',
635
638
  'PagedLogPlot',
636
- 'PagedNumericArrayPlot',
637
639
  'ParameterInput',
638
640
  'ParameterizedComputeNodeRequest',
639
641
  'ParameterizedComputeNodeResponse',
@@ -731,6 +733,8 @@ __all__ = [
731
733
  'TimestampAndId',
732
734
  'TimestampConstant',
733
735
  'TimestampConstantVisitor',
736
+ 'TruncateStrategy',
737
+ 'TruncateStrategyVisitor',
734
738
  'UnaryArithmeticOperation',
735
739
  'UnaryArithmeticSeries',
736
740
  'UnboundedBehavior',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api
3
- Version: 0.947.0
3
+ Version: 0.948.1
4
4
  Requires-Python: >=3.8
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: conjure-python-client<4,>=2.8.0
@@ -1,5 +1,5 @@
1
- nominal_api/__init__.py,sha256=uTxpmn89F9tWh4Sq_wztisB7fJs9dmOeVTqG9m9HDZY,2109
2
- nominal_api/_impl.py,sha256=a0klHvmhZnkMM5cKR-LVRXiH2dWnI5-Xfs3Log86-K4,3815799
1
+ nominal_api/__init__.py,sha256=E6Nz_K74q696uxOmP8dmCL7N7qAIVLPwtlOgZIql6cA,2109
2
+ nominal_api/_impl.py,sha256=e94C22zYFSUXB14YUTTtqrYAk61eIQqDGCuRlJYR6fQ,3818148
3
3
  nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
4
4
  nominal_api/api/__init__.py,sha256=OHAEgaRoUX60742H_U3q_pBoPGpLspsL5XERHQ-rjMs,2299
5
5
  nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
@@ -34,7 +34,7 @@ nominal_api/scout_checklistexecution_api/__init__.py,sha256=iVeUjPTlbpQ3vlQkQjHr
34
34
  nominal_api/scout_checks_api/__init__.py,sha256=uCmiNrVwLDlkg8YnpP-uZr9nFFFN52sM644Qo6YNy3k,6972
35
35
  nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=F5cQo_KqeTpFwqKBDV-iEjrND7xQgkycC1yocpxq1Qk,6277
36
36
  nominal_api/scout_comparisonrun_api/__init__.py,sha256=y5SlDoXvskyTKjg2O8o3cBhGSN-KA7iVlVjyy3vb3Co,652
37
- nominal_api/scout_compute_api/__init__.py,sha256=j2VBWPlPUGikx7uzDBo5vQ_kh7J9UPcS3hAZjCjBrtc,34423
37
+ nominal_api/scout_compute_api/__init__.py,sha256=UenlsHDj-RQjO0XA6Kio8hP848qDpQMrerBgqrJuJIg,34582
38
38
  nominal_api/scout_compute_api_deprecated/__init__.py,sha256=JrZKbt1ulYECTdUSkXn6On22Alu_cPUBjCRWTN3ctxk,5041
39
39
  nominal_api/scout_compute_resolved_api/__init__.py,sha256=CgbeDsEmdKK-wDhKt35qW7gLykjHHs1cM_ODn1AlZmY,17596
40
40
  nominal_api/scout_dataexport_api/__init__.py,sha256=jl409RGy7Mxhjqja8wa-abLnXrhL2FEYZrA1GcaAJh0,2182
@@ -79,7 +79,7 @@ nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrR
79
79
  nominal_api/timeseries_seriescache_api/__init__.py,sha256=i21vITWBn-6ruVuFZg491TDpx6WcIhJBoF3oNw3w338,1186
80
80
  nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
81
81
  nominal_api/usercreation_api/__init__.py,sha256=Q6M70SlKFVfIxZqRohD4XYmBz5t2DP1DB0a0Q6glqGA,171
82
- nominal_api-0.947.0.dist-info/METADATA,sha256=z4EQhw0g0XbrDt9IFCmZ_EGAJrnbW4DlFKBMLfcdx5Q,199
83
- nominal_api-0.947.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
84
- nominal_api-0.947.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
85
- nominal_api-0.947.0.dist-info/RECORD,,
82
+ nominal_api-0.948.1.dist-info/METADATA,sha256=X4LnZ_95sTo-wOwtjQ68PQTHuoAmQMO3ThIrIUbAHoc,199
83
+ nominal_api-0.948.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
84
+ nominal_api-0.948.1.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
85
+ nominal_api-0.948.1.dist-info/RECORD,,