nominal-api 0.739.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 +1 -1
- nominal_api/_impl.py +76 -28
- {nominal_api-0.739.0.dist-info → nominal_api-0.741.0.dist-info}/METADATA +1 -1
- {nominal_api-0.739.0.dist-info → nominal_api-0.741.0.dist-info}/RECORD +6 -6
- {nominal_api-0.739.0.dist-info → nominal_api-0.741.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.739.0.dist-info → nominal_api-0.741.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
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
|
-
'
|
4432
|
-
'
|
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] = ['
|
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],
|
4444
|
-
self.
|
4445
|
-
self.
|
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
|
4455
|
-
|
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
|
4459
|
-
"""
|
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.
|
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"
|
@@ -10103,18 +10120,24 @@ class ingest_api_IngestResponse(ConjureBeanType):
|
|
10103
10120
|
@builtins.classmethod
|
10104
10121
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
10105
10122
|
return {
|
10106
|
-
'details': ConjureFieldDefinition('details', ingest_api_IngestDetails)
|
10123
|
+
'details': ConjureFieldDefinition('details', ingest_api_IngestDetails),
|
10124
|
+
'ingest_job_rid': ConjureFieldDefinition('ingestJobRid', OptionalTypeWrapper[ingest_api_IngestJobRid])
|
10107
10125
|
}
|
10108
10126
|
|
10109
|
-
__slots__: List[str] = ['_details']
|
10127
|
+
__slots__: List[str] = ['_details', '_ingest_job_rid']
|
10110
10128
|
|
10111
|
-
def __init__(self, details: "ingest_api_IngestDetails") -> None:
|
10129
|
+
def __init__(self, details: "ingest_api_IngestDetails", ingest_job_rid: Optional[str] = None) -> None:
|
10112
10130
|
self._details = details
|
10131
|
+
self._ingest_job_rid = ingest_job_rid
|
10113
10132
|
|
10114
10133
|
@builtins.property
|
10115
10134
|
def details(self) -> "ingest_api_IngestDetails":
|
10116
10135
|
return self._details
|
10117
10136
|
|
10137
|
+
@builtins.property
|
10138
|
+
def ingest_job_rid(self) -> Optional[str]:
|
10139
|
+
return self._ingest_job_rid
|
10140
|
+
|
10118
10141
|
|
10119
10142
|
ingest_api_IngestResponse.__name__ = "IngestResponse"
|
10120
10143
|
ingest_api_IngestResponse.__qualname__ = "IngestResponse"
|
@@ -31627,6 +31650,7 @@ class scout_checks_api_CheckJobSpec(ConjureBeanType):
|
|
31627
31650
|
'data_review_rid': ConjureFieldDefinition('dataReviewRid', scout_rids_api_DataReviewRid),
|
31628
31651
|
'check_rid': ConjureFieldDefinition('checkRid', scout_rids_api_CheckRid),
|
31629
31652
|
'run_rid': ConjureFieldDefinition('runRid', OptionalTypeWrapper[scout_run_api_RunRid]),
|
31653
|
+
'asset_rid': ConjureFieldDefinition('assetRid', OptionalTypeWrapper[scout_rids_api_AssetRid]),
|
31630
31654
|
'check_implementation_index': ConjureFieldDefinition('checkImplementationIndex', OptionalTypeWrapper[int]),
|
31631
31655
|
'check_evaluation_rid': ConjureFieldDefinition('checkEvaluationRid', api_rids_AutomaticCheckEvaluationRid),
|
31632
31656
|
'check_condition': ConjureFieldDefinition('checkCondition', scout_checks_api_CheckCondition),
|
@@ -31635,12 +31659,13 @@ class scout_checks_api_CheckJobSpec(ConjureBeanType):
|
|
31635
31659
|
'context': ConjureFieldDefinition('context', scout_compute_api_Context)
|
31636
31660
|
}
|
31637
31661
|
|
31638
|
-
__slots__: List[str] = ['_data_review_rid', '_check_rid', '_run_rid', '_check_implementation_index', '_check_evaluation_rid', '_check_condition', '_start', '_end', '_context']
|
31662
|
+
__slots__: List[str] = ['_data_review_rid', '_check_rid', '_run_rid', '_asset_rid', '_check_implementation_index', '_check_evaluation_rid', '_check_condition', '_start', '_end', '_context']
|
31639
31663
|
|
31640
|
-
def __init__(self, check_condition: "scout_checks_api_CheckCondition", check_evaluation_rid: str, check_rid: str, context: "scout_compute_api_Context", data_review_rid: str, end: "api_Timestamp", start: "api_Timestamp", check_implementation_index: Optional[int] = None, run_rid: Optional[str] = None) -> None:
|
31664
|
+
def __init__(self, check_condition: "scout_checks_api_CheckCondition", check_evaluation_rid: str, check_rid: str, context: "scout_compute_api_Context", data_review_rid: str, end: "api_Timestamp", start: "api_Timestamp", asset_rid: Optional[str] = None, check_implementation_index: Optional[int] = None, run_rid: Optional[str] = None) -> None:
|
31641
31665
|
self._data_review_rid = data_review_rid
|
31642
31666
|
self._check_rid = check_rid
|
31643
31667
|
self._run_rid = run_rid
|
31668
|
+
self._asset_rid = asset_rid
|
31644
31669
|
self._check_implementation_index = check_implementation_index
|
31645
31670
|
self._check_evaluation_rid = check_evaluation_rid
|
31646
31671
|
self._check_condition = check_condition
|
@@ -31660,6 +31685,10 @@ class scout_checks_api_CheckJobSpec(ConjureBeanType):
|
|
31660
31685
|
def run_rid(self) -> Optional[str]:
|
31661
31686
|
return self._run_rid
|
31662
31687
|
|
31688
|
+
@builtins.property
|
31689
|
+
def asset_rid(self) -> Optional[str]:
|
31690
|
+
return self._asset_rid
|
31691
|
+
|
31663
31692
|
@builtins.property
|
31664
31693
|
def check_implementation_index(self) -> Optional[int]:
|
31665
31694
|
"""Checks can define a single range computation which can evaluate over multiple implementations of a context.
|
@@ -60974,20 +61003,23 @@ scout_datareview_api_ClosedWithFurtherActionState.__module__ = "nominal_api.scou
|
|
60974
61003
|
|
60975
61004
|
class scout_datareview_api_CreateDataReviewRequest(ConjureBeanType):
|
60976
61005
|
"""If commit not is provided, the latest commit on main will be used.
|
61006
|
+
Asset RID is required only for multi-asset runs.
|
60977
61007
|
"""
|
60978
61008
|
|
60979
61009
|
@builtins.classmethod
|
60980
61010
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
60981
61011
|
return {
|
60982
61012
|
'run_rid': ConjureFieldDefinition('runRid', scout_run_api_RunRid),
|
61013
|
+
'asset_rid': ConjureFieldDefinition('assetRid', OptionalTypeWrapper[scout_rids_api_AssetRid]),
|
60983
61014
|
'checklist_rid': ConjureFieldDefinition('checklistRid', scout_rids_api_ChecklistRid),
|
60984
61015
|
'commit': ConjureFieldDefinition('commit', OptionalTypeWrapper[scout_versioning_api_CommitId])
|
60985
61016
|
}
|
60986
61017
|
|
60987
|
-
__slots__: List[str] = ['_run_rid', '_checklist_rid', '_commit']
|
61018
|
+
__slots__: List[str] = ['_run_rid', '_asset_rid', '_checklist_rid', '_commit']
|
60988
61019
|
|
60989
|
-
def __init__(self, checklist_rid: str, run_rid: str, commit: Optional[str] = None) -> None:
|
61020
|
+
def __init__(self, checklist_rid: str, run_rid: str, asset_rid: Optional[str] = None, commit: Optional[str] = None) -> None:
|
60990
61021
|
self._run_rid = run_rid
|
61022
|
+
self._asset_rid = asset_rid
|
60991
61023
|
self._checklist_rid = checklist_rid
|
60992
61024
|
self._commit = commit
|
60993
61025
|
|
@@ -60995,6 +61027,12 @@ class scout_datareview_api_CreateDataReviewRequest(ConjureBeanType):
|
|
60995
61027
|
def run_rid(self) -> str:
|
60996
61028
|
return self._run_rid
|
60997
61029
|
|
61030
|
+
@builtins.property
|
61031
|
+
def asset_rid(self) -> Optional[str]:
|
61032
|
+
"""Selects asset to execute data review on. Required for multi-asset runs.
|
61033
|
+
"""
|
61034
|
+
return self._asset_rid
|
61035
|
+
|
60998
61036
|
@builtins.property
|
60999
61037
|
def checklist_rid(self) -> str:
|
61000
61038
|
return self._checklist_rid
|
@@ -69079,6 +69117,8 @@ class scout_metadata_ResourceType(ConjureEnumType):
|
|
69079
69117
|
'''ASSET'''
|
69080
69118
|
EVENT = 'EVENT'
|
69081
69119
|
'''EVENT'''
|
69120
|
+
DATASET = 'DATASET'
|
69121
|
+
'''DATASET'''
|
69082
69122
|
UNKNOWN = 'UNKNOWN'
|
69083
69123
|
'''UNKNOWN'''
|
69084
69124
|
|
@@ -83296,12 +83336,13 @@ class timeseries_logicalseries_api_CreateLogicalSeries(ConjureBeanType):
|
|
83296
83336
|
'description': ConjureFieldDefinition('description', OptionalTypeWrapper[str]),
|
83297
83337
|
'unit': ConjureFieldDefinition('unit', OptionalTypeWrapper[api_Unit]),
|
83298
83338
|
'series_data_type': ConjureFieldDefinition('seriesDataType', OptionalTypeWrapper[api_SeriesDataType]),
|
83299
|
-
'granularity': ConjureFieldDefinition('granularity', OptionalTypeWrapper[api_Granularity])
|
83339
|
+
'granularity': ConjureFieldDefinition('granularity', OptionalTypeWrapper[api_Granularity]),
|
83340
|
+
'series_archetype_rid': ConjureFieldDefinition('seriesArchetypeRid', OptionalTypeWrapper[api_SeriesArchetypeRid])
|
83300
83341
|
}
|
83301
83342
|
|
83302
|
-
__slots__: List[str] = ['_channel', '_locator', '_id_locator', '_data_source_rid', '_description', '_unit', '_series_data_type', '_granularity']
|
83343
|
+
__slots__: List[str] = ['_channel', '_locator', '_id_locator', '_data_source_rid', '_description', '_unit', '_series_data_type', '_granularity', '_series_archetype_rid']
|
83303
83344
|
|
83304
|
-
def __init__(self, channel: str, data_source_rid: str, locator: "timeseries_logicalseries_api_Locator", description: Optional[str] = None, granularity: Optional["api_Granularity"] = None, id_locator: Optional[str] = None, series_data_type: Optional["api_SeriesDataType"] = None, unit: Optional[str] = None) -> None:
|
83345
|
+
def __init__(self, channel: str, data_source_rid: str, locator: "timeseries_logicalseries_api_Locator", description: Optional[str] = None, granularity: Optional["api_Granularity"] = None, id_locator: Optional[str] = None, series_archetype_rid: Optional[str] = None, series_data_type: Optional["api_SeriesDataType"] = None, unit: Optional[str] = None) -> None:
|
83305
83346
|
self._channel = channel
|
83306
83347
|
self._locator = locator
|
83307
83348
|
self._id_locator = id_locator
|
@@ -83310,6 +83351,7 @@ class timeseries_logicalseries_api_CreateLogicalSeries(ConjureBeanType):
|
|
83310
83351
|
self._unit = unit
|
83311
83352
|
self._series_data_type = series_data_type
|
83312
83353
|
self._granularity = granularity
|
83354
|
+
self._series_archetype_rid = series_archetype_rid
|
83313
83355
|
|
83314
83356
|
@builtins.property
|
83315
83357
|
def channel(self) -> str:
|
@@ -83346,6 +83388,12 @@ with this id, will throw a CONFLICT.
|
|
83346
83388
|
def granularity(self) -> Optional["api_Granularity"]:
|
83347
83389
|
return self._granularity
|
83348
83390
|
|
83391
|
+
@builtins.property
|
83392
|
+
def series_archetype_rid(self) -> Optional[str]:
|
83393
|
+
"""Deprecated. Do not use.
|
83394
|
+
"""
|
83395
|
+
return self._series_archetype_rid
|
83396
|
+
|
83349
83397
|
|
83350
83398
|
timeseries_logicalseries_api_CreateLogicalSeries.__name__ = "CreateLogicalSeries"
|
83351
83399
|
timeseries_logicalseries_api_CreateLogicalSeries.__qualname__ = "CreateLogicalSeries"
|
@@ -1,5 +1,5 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
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.
|
78
|
-
nominal_api-0.
|
79
|
-
nominal_api-0.
|
80
|
-
nominal_api-0.
|
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,,
|
File without changes
|
File without changes
|