nominal-api 0.824.0__py3-none-any.whl → 0.825.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
@@ -80,5 +80,5 @@ __all__ = [
80
80
 
81
81
  __conjure_generator_version__ = "4.17.0"
82
82
 
83
- __version__ = "0.824.0"
83
+ __version__ = "0.825.1"
84
84
 
nominal_api/_impl.py CHANGED
@@ -26973,17 +26973,19 @@ class scout_chartdefinition_api_CartesianChartDefinitionV1(ConjureBeanType):
26973
26973
  'events': ConjureFieldDefinition('events', OptionalTypeWrapper[List[scout_chartdefinition_api_Event]]),
26974
26974
  'comparison_run_groups': ConjureFieldDefinition('comparisonRunGroups', List[scout_comparisonrun_api_ComparisonRunGroup]),
26975
26975
  'title': ConjureFieldDefinition('title', OptionalTypeWrapper[str]),
26976
- 'value_axes': ConjureFieldDefinition('valueAxes', List[scout_chartdefinition_api_ValueAxis])
26976
+ 'value_axes': ConjureFieldDefinition('valueAxes', List[scout_chartdefinition_api_ValueAxis]),
26977
+ 'connect_points': ConjureFieldDefinition('connectPoints', OptionalTypeWrapper[bool])
26977
26978
  }
26978
26979
 
26979
- __slots__: List[str] = ['_plots', '_events', '_comparison_run_groups', '_title', '_value_axes']
26980
+ __slots__: List[str] = ['_plots', '_events', '_comparison_run_groups', '_title', '_value_axes', '_connect_points']
26980
26981
 
26981
- def __init__(self, comparison_run_groups: List["scout_comparisonrun_api_ComparisonRunGroup"], plots: List["scout_chartdefinition_api_CartesianPlot"], value_axes: List["scout_chartdefinition_api_ValueAxis"], events: Optional[List["scout_chartdefinition_api_Event"]] = None, title: Optional[str] = None) -> None:
26982
+ def __init__(self, comparison_run_groups: List["scout_comparisonrun_api_ComparisonRunGroup"], plots: List["scout_chartdefinition_api_CartesianPlot"], value_axes: List["scout_chartdefinition_api_ValueAxis"], connect_points: Optional[bool] = None, events: Optional[List["scout_chartdefinition_api_Event"]] = None, title: Optional[str] = None) -> None:
26982
26983
  self._plots = plots
26983
26984
  self._events = events
26984
26985
  self._comparison_run_groups = comparison_run_groups
26985
26986
  self._title = title
26986
26987
  self._value_axes = value_axes
26988
+ self._connect_points = connect_points
26987
26989
 
26988
26990
  @builtins.property
26989
26991
  def plots(self) -> List["scout_chartdefinition_api_CartesianPlot"]:
@@ -27005,6 +27007,12 @@ class scout_chartdefinition_api_CartesianChartDefinitionV1(ConjureBeanType):
27005
27007
  def value_axes(self) -> List["scout_chartdefinition_api_ValueAxis"]:
27006
27008
  return self._value_axes
27007
27009
 
27010
+ @builtins.property
27011
+ def connect_points(self) -> Optional[bool]:
27012
+ """If toggled true, will visually connect the points of the series
27013
+ """
27014
+ return self._connect_points
27015
+
27008
27016
 
27009
27017
  scout_chartdefinition_api_CartesianChartDefinitionV1.__name__ = "CartesianChartDefinitionV1"
27010
27018
  scout_chartdefinition_api_CartesianChartDefinitionV1.__qualname__ = "CartesianChartDefinitionV1"
@@ -71696,6 +71704,7 @@ class scout_internal_search_api_SearchQuery(ConjureUnionType):
71696
71704
  _boolean_field: Optional["scout_internal_search_api_BooleanField"] = None
71697
71705
  _exact_match: Optional[str] = None
71698
71706
  _string_array_exact_match: Optional["scout_internal_search_api_StringArrayField"] = None
71707
+ _string_array_length: Optional["scout_metadata_StringArrayLengthQuery"] = None
71699
71708
  _search_text: Optional[str] = None
71700
71709
  _label: Optional[str] = None
71701
71710
  _property: Optional["api_Property"] = None
@@ -71717,6 +71726,7 @@ class scout_internal_search_api_SearchQuery(ConjureUnionType):
71717
71726
  'boolean_field': ConjureFieldDefinition('booleanField', scout_internal_search_api_BooleanField),
71718
71727
  'exact_match': ConjureFieldDefinition('exactMatch', str),
71719
71728
  'string_array_exact_match': ConjureFieldDefinition('stringArrayExactMatch', scout_internal_search_api_StringArrayField),
71729
+ 'string_array_length': ConjureFieldDefinition('stringArrayLength', scout_metadata_StringArrayLengthQuery),
71720
71730
  'search_text': ConjureFieldDefinition('searchText', str),
71721
71731
  'label': ConjureFieldDefinition('label', api_Label),
71722
71732
  'property': ConjureFieldDefinition('property', api_Property),
@@ -71738,6 +71748,7 @@ class scout_internal_search_api_SearchQuery(ConjureUnionType):
71738
71748
  boolean_field: Optional["scout_internal_search_api_BooleanField"] = None,
71739
71749
  exact_match: Optional[str] = None,
71740
71750
  string_array_exact_match: Optional["scout_internal_search_api_StringArrayField"] = None,
71751
+ string_array_length: Optional["scout_metadata_StringArrayLengthQuery"] = None,
71741
71752
  search_text: Optional[str] = None,
71742
71753
  label: Optional[str] = None,
71743
71754
  property: Optional["api_Property"] = None,
@@ -71751,7 +71762,7 @@ class scout_internal_search_api_SearchQuery(ConjureUnionType):
71751
71762
  type_of_union: Optional[str] = None
71752
71763
  ) -> None:
71753
71764
  if type_of_union is None:
71754
- if (date_time_field is not None) + (string_field is not None) + (timestamp_field is not None) + (long_field is not None) + (boolean_field is not None) + (exact_match is not None) + (string_array_exact_match is not None) + (search_text is not None) + (label is not None) + (property is not None) + (and_ is not None) + (or_ is not None) + (not_ is not None) + (workspace is not None) + (created_at is not None) + (archived_status is not None) + (is_published is not None) != 1:
71765
+ if (date_time_field is not None) + (string_field is not None) + (timestamp_field is not None) + (long_field is not None) + (boolean_field is not None) + (exact_match is not None) + (string_array_exact_match is not None) + (string_array_length is not None) + (search_text is not None) + (label is not None) + (property is not None) + (and_ is not None) + (or_ is not None) + (not_ is not None) + (workspace is not None) + (created_at is not None) + (archived_status is not None) + (is_published is not None) != 1:
71755
71766
  raise ValueError('a union must contain a single member')
71756
71767
 
71757
71768
  if date_time_field is not None:
@@ -71775,6 +71786,9 @@ class scout_internal_search_api_SearchQuery(ConjureUnionType):
71775
71786
  if string_array_exact_match is not None:
71776
71787
  self._string_array_exact_match = string_array_exact_match
71777
71788
  self._type = 'stringArrayExactMatch'
71789
+ if string_array_length is not None:
71790
+ self._string_array_length = string_array_length
71791
+ self._type = 'stringArrayLength'
71778
71792
  if search_text is not None:
71779
71793
  self._search_text = search_text
71780
71794
  self._type = 'searchText'
@@ -71841,6 +71855,11 @@ class scout_internal_search_api_SearchQuery(ConjureUnionType):
71841
71855
  raise ValueError('a union value must not be None')
71842
71856
  self._string_array_exact_match = string_array_exact_match
71843
71857
  self._type = 'stringArrayExactMatch'
71858
+ elif type_of_union == 'stringArrayLength':
71859
+ if string_array_length is None:
71860
+ raise ValueError('a union value must not be None')
71861
+ self._string_array_length = string_array_length
71862
+ self._type = 'stringArrayLength'
71844
71863
  elif type_of_union == 'searchText':
71845
71864
  if search_text is None:
71846
71865
  raise ValueError('a union value must not be None')
@@ -71925,6 +71944,10 @@ To do a partial match, use an "and" on StringField queries.
71925
71944
  """
71926
71945
  return self._string_array_exact_match
71927
71946
 
71947
+ @builtins.property
71948
+ def string_array_length(self) -> Optional["scout_metadata_StringArrayLengthQuery"]:
71949
+ return self._string_array_length
71950
+
71928
71951
  @builtins.property
71929
71952
  def search_text(self) -> Optional[str]:
71930
71953
  return self._search_text
@@ -71984,6 +72007,8 @@ To do a partial match, use an "and" on StringField queries.
71984
72007
  return visitor._exact_match(self.exact_match)
71985
72008
  if self._type == 'stringArrayExactMatch' and self.string_array_exact_match is not None:
71986
72009
  return visitor._string_array_exact_match(self.string_array_exact_match)
72010
+ if self._type == 'stringArrayLength' and self.string_array_length is not None:
72011
+ return visitor._string_array_length(self.string_array_length)
71987
72012
  if self._type == 'searchText' and self.search_text is not None:
71988
72013
  return visitor._search_text(self.search_text)
71989
72014
  if self._type == 'label' and self.label is not None:
@@ -72041,6 +72066,10 @@ class scout_internal_search_api_SearchQueryVisitor:
72041
72066
  def _string_array_exact_match(self, string_array_exact_match: "scout_internal_search_api_StringArrayField") -> Any:
72042
72067
  pass
72043
72068
 
72069
+ @abstractmethod
72070
+ def _string_array_length(self, string_array_length: "scout_metadata_StringArrayLengthQuery") -> Any:
72071
+ pass
72072
+
72044
72073
  @abstractmethod
72045
72074
  def _search_text(self, search_text: str) -> Any:
72046
72075
  pass
@@ -73228,6 +73257,41 @@ scout_metadata_ResourceType.__qualname__ = "ResourceType"
73228
73257
  scout_metadata_ResourceType.__module__ = "nominal_api.scout_metadata"
73229
73258
 
73230
73259
 
73260
+ class scout_metadata_StringArrayLengthQuery(ConjureBeanType):
73261
+
73262
+ @builtins.classmethod
73263
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
73264
+ return {
73265
+ 'name': ConjureFieldDefinition('name', str),
73266
+ 'operator': ConjureFieldDefinition('operator', scout_internal_search_api_Operator),
73267
+ 'value': ConjureFieldDefinition('value', int)
73268
+ }
73269
+
73270
+ __slots__: List[str] = ['_name', '_operator', '_value']
73271
+
73272
+ def __init__(self, name: str, operator: "scout_internal_search_api_Operator", value: int) -> None:
73273
+ self._name = name
73274
+ self._operator = operator
73275
+ self._value = value
73276
+
73277
+ @builtins.property
73278
+ def name(self) -> str:
73279
+ return self._name
73280
+
73281
+ @builtins.property
73282
+ def operator(self) -> "scout_internal_search_api_Operator":
73283
+ return self._operator
73284
+
73285
+ @builtins.property
73286
+ def value(self) -> int:
73287
+ return self._value
73288
+
73289
+
73290
+ scout_metadata_StringArrayLengthQuery.__name__ = "StringArrayLengthQuery"
73291
+ scout_metadata_StringArrayLengthQuery.__qualname__ = "StringArrayLengthQuery"
73292
+ scout_metadata_StringArrayLengthQuery.__module__ = "nominal_api.scout_metadata"
73293
+
73294
+
73231
73295
  class scout_notebook_api_ChartWithOverlays(ConjureBeanType):
73232
73296
 
73233
73297
  @builtins.classmethod
@@ -75782,6 +75846,7 @@ class scout_run_api_SearchQuery(ConjureUnionType):
75782
75846
  _exact_match: Optional[str] = None
75783
75847
  _search_text: Optional[str] = None
75784
75848
  _asset: Optional[str] = None
75849
+ _is_single_asset: Optional[bool] = None
75785
75850
  _label: Optional[str] = None
75786
75851
  _property: Optional["api_Property"] = None
75787
75852
  _data_source_series_tag: Optional["scout_run_api_DataSourceSeriesTag"] = None
@@ -75804,6 +75869,7 @@ class scout_run_api_SearchQuery(ConjureUnionType):
75804
75869
  'exact_match': ConjureFieldDefinition('exactMatch', str),
75805
75870
  'search_text': ConjureFieldDefinition('searchText', str),
75806
75871
  'asset': ConjureFieldDefinition('asset', scout_rids_api_AssetRid),
75872
+ 'is_single_asset': ConjureFieldDefinition('isSingleAsset', bool),
75807
75873
  'label': ConjureFieldDefinition('label', api_Label),
75808
75874
  'property': ConjureFieldDefinition('property', api_Property),
75809
75875
  'data_source_series_tag': ConjureFieldDefinition('dataSourceSeriesTag', scout_run_api_DataSourceSeriesTag),
@@ -75826,6 +75892,7 @@ class scout_run_api_SearchQuery(ConjureUnionType):
75826
75892
  exact_match: Optional[str] = None,
75827
75893
  search_text: Optional[str] = None,
75828
75894
  asset: Optional[str] = None,
75895
+ is_single_asset: Optional[bool] = None,
75829
75896
  label: Optional[str] = None,
75830
75897
  property: Optional["api_Property"] = None,
75831
75898
  data_source_series_tag: Optional["scout_run_api_DataSourceSeriesTag"] = None,
@@ -75841,7 +75908,7 @@ class scout_run_api_SearchQuery(ConjureUnionType):
75841
75908
  type_of_union: Optional[str] = None
75842
75909
  ) -> None:
75843
75910
  if type_of_union is None:
75844
- if (start_time_inclusive is not None) + (end_time_inclusive is not None) + (time_range is not None) + (exact_match is not None) + (search_text is not None) + (asset is not None) + (label is not None) + (property is not None) + (data_source_series_tag is not None) + (data_source_ref_name is not None) + (data_source is not None) + (run_number is not None) + (run_prefix is not None) + (check_alert_states_filter is not None) + (and_ is not None) + (or_ is not None) + (not_ is not None) + (workspace is not None) != 1:
75911
+ if (start_time_inclusive is not None) + (end_time_inclusive is not None) + (time_range is not None) + (exact_match is not None) + (search_text is not None) + (asset is not None) + (is_single_asset is not None) + (label is not None) + (property is not None) + (data_source_series_tag is not None) + (data_source_ref_name is not None) + (data_source is not None) + (run_number is not None) + (run_prefix is not None) + (check_alert_states_filter is not None) + (and_ is not None) + (or_ is not None) + (not_ is not None) + (workspace is not None) != 1:
75845
75912
  raise ValueError('a union must contain a single member')
75846
75913
 
75847
75914
  if start_time_inclusive is not None:
@@ -75862,6 +75929,9 @@ class scout_run_api_SearchQuery(ConjureUnionType):
75862
75929
  if asset is not None:
75863
75930
  self._asset = asset
75864
75931
  self._type = 'asset'
75932
+ if is_single_asset is not None:
75933
+ self._is_single_asset = is_single_asset
75934
+ self._type = 'isSingleAsset'
75865
75935
  if label is not None:
75866
75936
  self._label = label
75867
75937
  self._type = 'label'
@@ -75929,6 +75999,11 @@ class scout_run_api_SearchQuery(ConjureUnionType):
75929
75999
  raise ValueError('a union value must not be None')
75930
76000
  self._asset = asset
75931
76001
  self._type = 'asset'
76002
+ elif type_of_union == 'isSingleAsset':
76003
+ if is_single_asset is None:
76004
+ raise ValueError('a union value must not be None')
76005
+ self._is_single_asset = is_single_asset
76006
+ self._type = 'isSingleAsset'
75932
76007
  elif type_of_union == 'label':
75933
76008
  if label is None:
75934
76009
  raise ValueError('a union value must not be None')
@@ -76016,6 +76091,12 @@ class scout_run_api_SearchQuery(ConjureUnionType):
76016
76091
  def asset(self) -> Optional[str]:
76017
76092
  return self._asset
76018
76093
 
76094
+ @builtins.property
76095
+ def is_single_asset(self) -> Optional[bool]:
76096
+ """Search for either only single-asset runs (true), or only multi-asset runs (false).
76097
+ """
76098
+ return self._is_single_asset
76099
+
76019
76100
  @builtins.property
76020
76101
  def label(self) -> Optional[str]:
76021
76102
  return self._label
@@ -76081,6 +76162,8 @@ class scout_run_api_SearchQuery(ConjureUnionType):
76081
76162
  return visitor._search_text(self.search_text)
76082
76163
  if self._type == 'asset' and self.asset is not None:
76083
76164
  return visitor._asset(self.asset)
76165
+ if self._type == 'isSingleAsset' and self.is_single_asset is not None:
76166
+ return visitor._is_single_asset(self.is_single_asset)
76084
76167
  if self._type == 'label' and self.label is not None:
76085
76168
  return visitor._label(self.label)
76086
76169
  if self._type == 'property' and self.property is not None:
@@ -76138,6 +76221,10 @@ class scout_run_api_SearchQueryVisitor:
76138
76221
  def _asset(self, asset: str) -> Any:
76139
76222
  pass
76140
76223
 
76224
+ @abstractmethod
76225
+ def _is_single_asset(self, is_single_asset: bool) -> Any:
76226
+ pass
76227
+
76141
76228
  @abstractmethod
76142
76229
  def _label(self, label: str) -> Any:
76143
76230
  pass
@@ -5,6 +5,7 @@ from .._impl import (
5
5
  scout_metadata_ListPropertiesAndLabelsResponse as ListPropertiesAndLabelsResponse,
6
6
  scout_metadata_ResourceMetadataService as ResourceMetadataService,
7
7
  scout_metadata_ResourceType as ResourceType,
8
+ scout_metadata_StringArrayLengthQuery as StringArrayLengthQuery,
8
9
  )
9
10
 
10
11
  __all__ = [
@@ -12,6 +13,7 @@ __all__ = [
12
13
  'ListPropertiesAndLabelsRequest',
13
14
  'ListPropertiesAndLabelsResponse',
14
15
  'ResourceType',
16
+ 'StringArrayLengthQuery',
15
17
  'ResourceMetadataService',
16
18
  ]
17
19
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api
3
- Version: 0.824.0
3
+ Version: 0.825.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=P7CXuhZttbEmbAuezdsZ_iDIocupucBKkAMdctQcoMo,2064
2
- nominal_api/_impl.py,sha256=U0wh0xtcrObiLPGbvGdb2LqWMwn8tJz2IHFXeZ7Kwfg,3598954
1
+ nominal_api/__init__.py,sha256=AS1hnAa7EariLYafbwqKihLNiSNDbW9OOzKz6GOimvo,2064
2
+ nominal_api/_impl.py,sha256=8wDte-4n1YClGFV40BykYeo-tJ0nu3-QbkpWRubl-40,3602765
3
3
  nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
4
4
  nominal_api/api/__init__.py,sha256=ZiGjcYwIBCrZR5pPqyqX2ggRJmVcSlOCazMtF2xCZzw,2171
5
5
  nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
@@ -48,7 +48,7 @@ nominal_api/scout_integrations_api/__init__.py,sha256=eMvNmVncITz-eQzvrmlY0G3BX8
48
48
  nominal_api/scout_internal_search_api/__init__.py,sha256=1rHEb-Djc3wVIttJDUU9mlAFvvBG8oqVAgyGuSo437Y,787
49
49
  nominal_api/scout_jobs_api/__init__.py,sha256=pxPUL0pQNZe0aY1HjRRBcAPoX9ut4qyjQUgFFRdhcY4,205
50
50
  nominal_api/scout_layout_api/__init__.py,sha256=sUWO0V8Y0I0pa-nmKAjkeoIgTpP9tSG13335DHWlLx0,1902
51
- nominal_api/scout_metadata/__init__.py,sha256=AqjIQLrEFqUrNPwZkdXt_6yP9uJt3YxIkkjZgDSAEtM,550
51
+ nominal_api/scout_metadata/__init__.py,sha256=tfnzE6dlVBki1ZSy276mkDQQeKehmJLaG9dczHAx3jk,649
52
52
  nominal_api/scout_notebook_api/__init__.py,sha256=b-4ONsrgT2NziNHq8em09YxbZcQcKLWmPYkpxBFHPFA,1820
53
53
  nominal_api/scout_plotting/__init__.py,sha256=RJK9HlPmNW_dxSz7CprwjfNKke86x11rQ7BF5pwrBv4,127
54
54
  nominal_api/scout_rids_api/__init__.py,sha256=tObQlt4-bYGcBEgPDHXaadr159GlkYSDdZME1072m94,2101
@@ -77,7 +77,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
77
77
  nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
78
78
  nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
79
79
  nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
80
- nominal_api-0.824.0.dist-info/METADATA,sha256=xOFh0eJz6hc0xe-NE8CGlCdSI5kfYKrfi_ueglHlWyo,199
81
- nominal_api-0.824.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
82
- nominal_api-0.824.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
83
- nominal_api-0.824.0.dist-info/RECORD,,
80
+ nominal_api-0.825.1.dist-info/METADATA,sha256=1oufg3Hbv9f52ydpLORz_sVz91qBmbJ9gpvyV6nyxD8,199
81
+ nominal_api-0.825.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
82
+ nominal_api-0.825.1.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
83
+ nominal_api-0.825.1.dist-info/RECORD,,