nominal-api 0.740.0__py3-none-any.whl → 0.741.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.
nominal_api/__init__.py CHANGED
@@ -77,5 +77,5 @@ __all__ = [
77
77
 
78
78
  __conjure_generator_version__ = "4.17.0"
79
79
 
80
- __version__ = "0.740.0"
80
+ __version__ = "0.741.0"
81
81
 
nominal_api/_impl.py CHANGED
@@ -4428,46 +4428,49 @@ class datasource_api_SearchFilteredChannelsRequest(ConjureBeanType):
4428
4428
  @builtins.classmethod
4429
4429
  def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
4430
4430
  return {
4431
- 'fuzzy_search_text': ConjureFieldDefinition('fuzzySearchText', str),
4432
- 'exact_match': ConjureFieldDefinition('exactMatch', List[str]),
4431
+ 'substrings': ConjureFieldDefinition('substrings', OptionalTypeWrapper[List[str]]),
4432
+ 'subsequences': ConjureFieldDefinition('subsequences', OptionalTypeWrapper[List[str]]),
4433
4433
  'data_sources': ConjureFieldDefinition('dataSources', List[api_rids_DataSourceRid]),
4434
- 'previously_selected_channels': ConjureFieldDefinition('previouslySelectedChannels', OptionalTypeWrapper[Dict[api_rids_DataSourceRid, List[api_Channel]]]),
4435
4434
  'result_size': ConjureFieldDefinition('resultSize', OptionalTypeWrapper[int]),
4436
4435
  'tags': ConjureFieldDefinition('tags', Dict[api_rids_DataSourceRid, Dict[api_TagName, api_TagValue]]),
4437
4436
  'min_data_updated_time': ConjureFieldDefinition('minDataUpdatedTime', OptionalTypeWrapper[scout_run_api_UtcTimestamp]),
4438
- 'max_data_start_time': ConjureFieldDefinition('maxDataStartTime', OptionalTypeWrapper[scout_run_api_UtcTimestamp])
4437
+ 'max_data_start_time': ConjureFieldDefinition('maxDataStartTime', OptionalTypeWrapper[scout_run_api_UtcTimestamp]),
4438
+ 'previously_selected_channels': ConjureFieldDefinition('previouslySelectedChannels', OptionalTypeWrapper[Dict[api_rids_DataSourceRid, List[api_Channel]]]),
4439
+ 'fuzzy_search_text': ConjureFieldDefinition('fuzzySearchText', OptionalTypeWrapper[str]),
4440
+ 'exact_match': ConjureFieldDefinition('exactMatch', OptionalTypeWrapper[List[str]])
4439
4441
  }
4440
4442
 
4441
- __slots__: List[str] = ['_fuzzy_search_text', '_exact_match', '_data_sources', '_previously_selected_channels', '_result_size', '_tags', '_min_data_updated_time', '_max_data_start_time']
4443
+ __slots__: List[str] = ['_substrings', '_subsequences', '_data_sources', '_result_size', '_tags', '_min_data_updated_time', '_max_data_start_time', '_previously_selected_channels', '_fuzzy_search_text', '_exact_match']
4442
4444
 
4443
- def __init__(self, data_sources: List[str], exact_match: List[str], fuzzy_search_text: str, tags: Dict[str, Dict[str, str]], max_data_start_time: Optional["scout_run_api_UtcTimestamp"] = None, min_data_updated_time: Optional["scout_run_api_UtcTimestamp"] = None, previously_selected_channels: Optional[Dict[str, List[str]]] = None, result_size: Optional[int] = None) -> None:
4444
- self._fuzzy_search_text = fuzzy_search_text
4445
- self._exact_match = exact_match
4445
+ def __init__(self, data_sources: List[str], tags: Dict[str, Dict[str, str]], exact_match: Optional[List[str]] = None, fuzzy_search_text: Optional[str] = None, max_data_start_time: Optional["scout_run_api_UtcTimestamp"] = None, min_data_updated_time: Optional["scout_run_api_UtcTimestamp"] = None, previously_selected_channels: Optional[Dict[str, List[str]]] = None, result_size: Optional[int] = None, subsequences: Optional[List[str]] = None, substrings: Optional[List[str]] = None) -> None:
4446
+ self._substrings = substrings
4447
+ self._subsequences = subsequences
4446
4448
  self._data_sources = data_sources
4447
- self._previously_selected_channels = previously_selected_channels
4448
4449
  self._result_size = result_size
4449
4450
  self._tags = tags
4450
4451
  self._min_data_updated_time = min_data_updated_time
4451
4452
  self._max_data_start_time = max_data_start_time
4453
+ self._previously_selected_channels = previously_selected_channels
4454
+ self._fuzzy_search_text = fuzzy_search_text
4455
+ self._exact_match = exact_match
4452
4456
 
4453
4457
  @builtins.property
4454
- def fuzzy_search_text(self) -> str:
4455
- return self._fuzzy_search_text
4458
+ def substrings(self) -> Optional[List[str]]:
4459
+ """All of the strings in the set must appear exactly as substrings within the channel name.
4460
+ """
4461
+ return self._substrings
4456
4462
 
4457
4463
  @builtins.property
4458
- def exact_match(self) -> List[str]:
4459
- """Will return only channels that contain all strings specified as exact matches (case insensitive).
4464
+ def subsequences(self) -> Optional[List[str]]:
4465
+ """All of the characters in the string will appear in the same order (not necessarily adjacently)
4466
+ within the channel name. Only supports one subsequence to match at this time.
4460
4467
  """
4461
- return self._exact_match
4468
+ return self._subsequences
4462
4469
 
4463
4470
  @builtins.property
4464
4471
  def data_sources(self) -> List[str]:
4465
4472
  return self._data_sources
4466
4473
 
4467
- @builtins.property
4468
- def previously_selected_channels(self) -> Optional[Dict[str, List[str]]]:
4469
- return self._previously_selected_channels
4470
-
4471
4474
  @builtins.property
4472
4475
  def result_size(self) -> Optional[int]:
4473
4476
  """Defaults to 200. Will throw if larger than 200.
@@ -4494,6 +4497,20 @@ in this map, or if a data source points to an empty map of tags, it will be sear
4494
4497
  """
4495
4498
  return self._max_data_start_time
4496
4499
 
4500
+ @builtins.property
4501
+ def previously_selected_channels(self) -> Optional[Dict[str, List[str]]]:
4502
+ return self._previously_selected_channels
4503
+
4504
+ @builtins.property
4505
+ def fuzzy_search_text(self) -> Optional[str]:
4506
+ return self._fuzzy_search_text
4507
+
4508
+ @builtins.property
4509
+ def exact_match(self) -> Optional[List[str]]:
4510
+ """Will return only channels that contain all strings specified as exact matches (case insensitive).
4511
+ """
4512
+ return self._exact_match
4513
+
4497
4514
 
4498
4515
  datasource_api_SearchFilteredChannelsRequest.__name__ = "SearchFilteredChannelsRequest"
4499
4516
  datasource_api_SearchFilteredChannelsRequest.__qualname__ = "SearchFilteredChannelsRequest"
@@ -69100,6 +69117,8 @@ class scout_metadata_ResourceType(ConjureEnumType):
69100
69117
  '''ASSET'''
69101
69118
  EVENT = 'EVENT'
69102
69119
  '''EVENT'''
69120
+ DATASET = 'DATASET'
69121
+ '''DATASET'''
69103
69122
  UNKNOWN = 'UNKNOWN'
69104
69123
  '''UNKNOWN'''
69105
69124
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api
3
- Version: 0.740.0
3
+ Version: 0.741.0
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=VYbubMIB9hMG6XehwtlEWxwgbzuglIFITD_-b9orGoQ,1990
2
- nominal_api/_impl.py,sha256=KI_EE2AZZy7H5A8vnoyMUCVmPCPBu-8rBmY93zPthfA,3364126
1
+ nominal_api/__init__.py,sha256=Lsai4mSZb85EHOxnyoWMpextCVsy-Qrmz9dAUSmzf30,1990
2
+ nominal_api/_impl.py,sha256=P4SsoqQquQs7b17HbyYqJbbtjesKLalnccZLb4Ba3Sg,3365176
3
3
  nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
4
4
  nominal_api/api/__init__.py,sha256=PMREKP7UhxJ1_gHkrlJET46qlDHksKMm6-woR1p6WnU,1970
5
5
  nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
@@ -74,7 +74,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
74
74
  nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
75
75
  nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
76
76
  nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
77
- nominal_api-0.740.0.dist-info/METADATA,sha256=-WTN57qVxn8wzCj4HJb3nhkuMM02OYBaPagJ1NSpIGI,199
78
- nominal_api-0.740.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
- nominal_api-0.740.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
80
- nominal_api-0.740.0.dist-info/RECORD,,
77
+ nominal_api-0.741.0.dist-info/METADATA,sha256=2jTN7wQylNCBqWnvHzdI7DU8LUdjAI6Tuig2mINui_4,199
78
+ nominal_api-0.741.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
+ nominal_api-0.741.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
80
+ nominal_api-0.741.0.dist-info/RECORD,,