nominal-api 0.899.0__py3-none-any.whl → 0.901.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 +334 -124
- nominal_api/api/__init__.py +2 -0
- nominal_api/scout_run_api/__init__.py +16 -8
- {nominal_api-0.899.0.dist-info → nominal_api-0.901.0.dist-info}/METADATA +1 -1
- {nominal_api-0.899.0.dist-info → nominal_api-0.901.0.dist-info}/RECORD +8 -8
- {nominal_api-0.899.0.dist-info → nominal_api-0.901.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.899.0.dist-info → nominal_api-0.901.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
@@ -566,6 +566,24 @@ api_SeriesDataType.__qualname__ = "SeriesDataType"
|
|
566
566
|
api_SeriesDataType.__module__ = "nominal_api.api"
|
567
567
|
|
568
568
|
|
569
|
+
class api_SetOperator(ConjureEnumType):
|
570
|
+
|
571
|
+
AND = 'AND'
|
572
|
+
'''AND'''
|
573
|
+
OR = 'OR'
|
574
|
+
'''OR'''
|
575
|
+
UNKNOWN = 'UNKNOWN'
|
576
|
+
'''UNKNOWN'''
|
577
|
+
|
578
|
+
def __reduce_ex__(self, proto):
|
579
|
+
return self.__class__, (self.name,)
|
580
|
+
|
581
|
+
|
582
|
+
api_SetOperator.__name__ = "SetOperator"
|
583
|
+
api_SetOperator.__qualname__ = "SetOperator"
|
584
|
+
api_SetOperator.__module__ = "nominal_api.api"
|
585
|
+
|
586
|
+
|
569
587
|
class api_SuccessResult(ConjureBeanType):
|
570
588
|
|
571
589
|
@builtins.classmethod
|
@@ -19478,7 +19496,8 @@ including metrics for check and violation review status.
|
|
19478
19496
|
return _decoder.decode(_response.json(), scout_run_api_AllRunsPropertiesAndLabelsResponse, self._return_none_for_unknown_union_types)
|
19479
19497
|
|
19480
19498
|
def search_runs(self, auth_header: str, request: "scout_run_api_SearchRunsRequest") -> "scout_run_api_SearchRunsResponse":
|
19481
|
-
"""Searches for runs that match the given filters.
|
19499
|
+
"""Searches for runs that match the given filters. Defaults to returning un-archived runs, absent an archive
|
19500
|
+
filter.
|
19482
19501
|
"""
|
19483
19502
|
_conjure_encoder = ConjureEncoder()
|
19484
19503
|
|
@@ -19511,7 +19530,8 @@ including metrics for check and violation review status.
|
|
19511
19530
|
|
19512
19531
|
def search_runs_with_data_review_metrics(self, auth_header: str, request: "scout_run_api_SearchRunsRequest") -> "scout_run_api_SearchRunsWithDataReviewMetricsResponse":
|
19513
19532
|
"""Searches for runs that match the given filters and
|
19514
|
-
includes metrics for check and violation review status.
|
19533
|
+
includes metrics for check and violation review status. Defaults to returning un-archived runs, absent an
|
19534
|
+
archive filter.
|
19515
19535
|
"""
|
19516
19536
|
_conjure_encoder = ConjureEncoder()
|
19517
19537
|
|
@@ -19543,7 +19563,8 @@ includes metrics for check and violation review status.
|
|
19543
19563
|
return _decoder.decode(_response.json(), scout_run_api_SearchRunsWithDataReviewMetricsResponse, self._return_none_for_unknown_union_types)
|
19544
19564
|
|
19545
19565
|
def search_runs_with_data_review_summary(self, auth_header: str, request: "scout_run_api_SearchRunsRequest") -> "scout_run_api_SearchRunsWithDataReviewSummaryResponse":
|
19546
|
-
"""Searches for runs that match the given filters and includes a summary of the data review status.
|
19566
|
+
"""Searches for runs that match the given filters and includes a summary of the data review status. Defaults to
|
19567
|
+
returning un-archived runs, absent an archive filter.
|
19547
19568
|
"""
|
19548
19569
|
_conjure_encoder = ConjureEncoder()
|
19549
19570
|
|
@@ -77762,6 +77783,31 @@ scout_run_api_ArchiveRunsRequest.__qualname__ = "ArchiveRunsRequest"
|
|
77762
77783
|
scout_run_api_ArchiveRunsRequest.__module__ = "nominal_api.scout_run_api"
|
77763
77784
|
|
77764
77785
|
|
77786
|
+
class scout_run_api_AssetsFilter(ConjureBeanType):
|
77787
|
+
"""returns runs that match any of the provided assets.
|
77788
|
+
"""
|
77789
|
+
|
77790
|
+
@builtins.classmethod
|
77791
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
77792
|
+
return {
|
77793
|
+
'assets': ConjureFieldDefinition('assets', List[scout_rids_api_AssetRid])
|
77794
|
+
}
|
77795
|
+
|
77796
|
+
__slots__: List[str] = ['_assets']
|
77797
|
+
|
77798
|
+
def __init__(self, assets: List[str]) -> None:
|
77799
|
+
self._assets = assets
|
77800
|
+
|
77801
|
+
@builtins.property
|
77802
|
+
def assets(self) -> List[str]:
|
77803
|
+
return self._assets
|
77804
|
+
|
77805
|
+
|
77806
|
+
scout_run_api_AssetsFilter.__name__ = "AssetsFilter"
|
77807
|
+
scout_run_api_AssetsFilter.__qualname__ = "AssetsFilter"
|
77808
|
+
scout_run_api_AssetsFilter.__module__ = "nominal_api.scout_run_api"
|
77809
|
+
|
77810
|
+
|
77765
77811
|
class scout_run_api_ChannelMetadata(ConjureBeanType):
|
77766
77812
|
|
77767
77813
|
@builtins.classmethod
|
@@ -78027,6 +78073,35 @@ scout_run_api_CreateRunRequest.__qualname__ = "CreateRunRequest"
|
|
78027
78073
|
scout_run_api_CreateRunRequest.__module__ = "nominal_api.scout_run_api"
|
78028
78074
|
|
78029
78075
|
|
78076
|
+
class scout_run_api_CustomTimeframeFilter(ConjureBeanType):
|
78077
|
+
|
78078
|
+
@builtins.classmethod
|
78079
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
78080
|
+
return {
|
78081
|
+
'start_time': ConjureFieldDefinition('startTime', OptionalTypeWrapper[scout_run_api_UtcTimestamp]),
|
78082
|
+
'end_time': ConjureFieldDefinition('endTime', OptionalTypeWrapper[scout_run_api_UtcTimestamp])
|
78083
|
+
}
|
78084
|
+
|
78085
|
+
__slots__: List[str] = ['_start_time', '_end_time']
|
78086
|
+
|
78087
|
+
def __init__(self, end_time: Optional["scout_run_api_UtcTimestamp"] = None, start_time: Optional["scout_run_api_UtcTimestamp"] = None) -> None:
|
78088
|
+
self._start_time = start_time
|
78089
|
+
self._end_time = end_time
|
78090
|
+
|
78091
|
+
@builtins.property
|
78092
|
+
def start_time(self) -> Optional["scout_run_api_UtcTimestamp"]:
|
78093
|
+
return self._start_time
|
78094
|
+
|
78095
|
+
@builtins.property
|
78096
|
+
def end_time(self) -> Optional["scout_run_api_UtcTimestamp"]:
|
78097
|
+
return self._end_time
|
78098
|
+
|
78099
|
+
|
78100
|
+
scout_run_api_CustomTimeframeFilter.__name__ = "CustomTimeframeFilter"
|
78101
|
+
scout_run_api_CustomTimeframeFilter.__qualname__ = "CustomTimeframeFilter"
|
78102
|
+
scout_run_api_CustomTimeframeFilter.__module__ = "nominal_api.scout_run_api"
|
78103
|
+
|
78104
|
+
|
78030
78105
|
class scout_run_api_DataReviewAlertMetrics(ConjureBeanType):
|
78031
78106
|
|
78032
78107
|
@builtins.classmethod
|
@@ -78488,26 +78563,33 @@ scout_run_api_GetRunsByAssetResponse.__qualname__ = "GetRunsByAssetResponse"
|
|
78488
78563
|
scout_run_api_GetRunsByAssetResponse.__module__ = "nominal_api.scout_run_api"
|
78489
78564
|
|
78490
78565
|
|
78491
|
-
class
|
78566
|
+
class scout_run_api_LabelsFilter(ConjureBeanType):
|
78492
78567
|
|
78493
|
-
|
78494
|
-
|
78495
|
-
|
78496
|
-
|
78497
|
-
|
78498
|
-
|
78499
|
-
LTE = 'LTE'
|
78500
|
-
'''LTE'''
|
78501
|
-
UNKNOWN = 'UNKNOWN'
|
78502
|
-
'''UNKNOWN'''
|
78568
|
+
@builtins.classmethod
|
78569
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
78570
|
+
return {
|
78571
|
+
'operator': ConjureFieldDefinition('operator', api_SetOperator),
|
78572
|
+
'labels': ConjureFieldDefinition('labels', List[api_Label])
|
78573
|
+
}
|
78503
78574
|
|
78504
|
-
|
78505
|
-
|
78575
|
+
__slots__: List[str] = ['_operator', '_labels']
|
78576
|
+
|
78577
|
+
def __init__(self, labels: List[str], operator: "api_SetOperator") -> None:
|
78578
|
+
self._operator = operator
|
78579
|
+
self._labels = labels
|
78580
|
+
|
78581
|
+
@builtins.property
|
78582
|
+
def operator(self) -> "api_SetOperator":
|
78583
|
+
return self._operator
|
78506
78584
|
|
78585
|
+
@builtins.property
|
78586
|
+
def labels(self) -> List[str]:
|
78587
|
+
return self._labels
|
78507
78588
|
|
78508
|
-
|
78509
|
-
|
78510
|
-
|
78589
|
+
|
78590
|
+
scout_run_api_LabelsFilter.__name__ = "LabelsFilter"
|
78591
|
+
scout_run_api_LabelsFilter.__qualname__ = "LabelsFilter"
|
78592
|
+
scout_run_api_LabelsFilter.__module__ = "nominal_api.scout_run_api"
|
78511
78593
|
|
78512
78594
|
|
78513
78595
|
class scout_run_api_Link(ConjureBeanType):
|
@@ -78539,117 +78621,113 @@ scout_run_api_Link.__qualname__ = "Link"
|
|
78539
78621
|
scout_run_api_Link.__module__ = "nominal_api.scout_run_api"
|
78540
78622
|
|
78541
78623
|
|
78542
|
-
class
|
78543
|
-
|
78544
|
-
|
78545
|
-
|
78546
|
-
|
78624
|
+
class scout_run_api_PresetTimeframeDuration(ConjureEnumType):
|
78625
|
+
|
78626
|
+
ALL_TIME = 'ALL_TIME'
|
78627
|
+
'''ALL_TIME'''
|
78628
|
+
LAST_DAY = 'LAST_DAY'
|
78629
|
+
'''LAST_DAY'''
|
78630
|
+
LAST_WEEK = 'LAST_WEEK'
|
78631
|
+
'''LAST_WEEK'''
|
78632
|
+
LAST_MONTH = 'LAST_MONTH'
|
78633
|
+
'''LAST_MONTH'''
|
78634
|
+
LAST_YEAR = 'LAST_YEAR'
|
78635
|
+
'''LAST_YEAR'''
|
78636
|
+
UNKNOWN = 'UNKNOWN'
|
78637
|
+
'''UNKNOWN'''
|
78638
|
+
|
78639
|
+
def __reduce_ex__(self, proto):
|
78640
|
+
return self.__class__, (self.name,)
|
78641
|
+
|
78642
|
+
|
78643
|
+
scout_run_api_PresetTimeframeDuration.__name__ = "PresetTimeframeDuration"
|
78644
|
+
scout_run_api_PresetTimeframeDuration.__qualname__ = "PresetTimeframeDuration"
|
78645
|
+
scout_run_api_PresetTimeframeDuration.__module__ = "nominal_api.scout_run_api"
|
78646
|
+
|
78647
|
+
|
78648
|
+
class scout_run_api_PresetTimeframeFilter(ConjureBeanType):
|
78547
78649
|
|
78548
78650
|
@builtins.classmethod
|
78549
78651
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
78550
78652
|
return {
|
78551
|
-
'
|
78552
|
-
'type': ConjureFieldDefinition('type', scout_run_api_DataSourceType)
|
78653
|
+
'duration': ConjureFieldDefinition('duration', scout_run_api_PresetTimeframeDuration)
|
78553
78654
|
}
|
78554
78655
|
|
78555
|
-
__slots__: List[str] = ['
|
78556
|
-
|
78557
|
-
def __init__(self, name: str, type: "scout_run_api_DataSourceType") -> None:
|
78558
|
-
self._name = name
|
78559
|
-
self._type = type
|
78656
|
+
__slots__: List[str] = ['_duration']
|
78560
78657
|
|
78561
|
-
|
78562
|
-
|
78563
|
-
return self._name
|
78658
|
+
def __init__(self, duration: "scout_run_api_PresetTimeframeDuration") -> None:
|
78659
|
+
self._duration = duration
|
78564
78660
|
|
78565
78661
|
@builtins.property
|
78566
|
-
def
|
78567
|
-
return self.
|
78662
|
+
def duration(self) -> "scout_run_api_PresetTimeframeDuration":
|
78663
|
+
return self._duration
|
78568
78664
|
|
78569
78665
|
|
78570
|
-
|
78571
|
-
|
78572
|
-
|
78666
|
+
scout_run_api_PresetTimeframeFilter.__name__ = "PresetTimeframeFilter"
|
78667
|
+
scout_run_api_PresetTimeframeFilter.__qualname__ = "PresetTimeframeFilter"
|
78668
|
+
scout_run_api_PresetTimeframeFilter.__module__ = "nominal_api.scout_run_api"
|
78573
78669
|
|
78574
78670
|
|
78575
|
-
class
|
78576
|
-
_absolute: Optional["api_Timestamp"] = None
|
78577
|
-
_relative: Optional["scout_run_api_Duration"] = None
|
78671
|
+
class scout_run_api_PropertiesFilter(ConjureBeanType):
|
78578
78672
|
|
78579
78673
|
@builtins.classmethod
|
78580
|
-
def
|
78674
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
78581
78675
|
return {
|
78582
|
-
'
|
78583
|
-
'
|
78676
|
+
'name': ConjureFieldDefinition('name', api_PropertyName),
|
78677
|
+
'values': ConjureFieldDefinition('values', List[api_PropertyValue])
|
78584
78678
|
}
|
78585
78679
|
|
78586
|
-
|
78587
|
-
self,
|
78588
|
-
absolute: Optional["api_Timestamp"] = None,
|
78589
|
-
relative: Optional["scout_run_api_Duration"] = None,
|
78590
|
-
type_of_union: Optional[str] = None
|
78591
|
-
) -> None:
|
78592
|
-
if type_of_union is None:
|
78593
|
-
if (absolute is not None) + (relative is not None) != 1:
|
78594
|
-
raise ValueError('a union must contain a single member')
|
78680
|
+
__slots__: List[str] = ['_name', '_values']
|
78595
78681
|
|
78596
|
-
|
78597
|
-
|
78598
|
-
|
78599
|
-
if relative is not None:
|
78600
|
-
self._relative = relative
|
78601
|
-
self._type = 'relative'
|
78602
|
-
|
78603
|
-
elif type_of_union == 'absolute':
|
78604
|
-
if absolute is None:
|
78605
|
-
raise ValueError('a union value must not be None')
|
78606
|
-
self._absolute = absolute
|
78607
|
-
self._type = 'absolute'
|
78608
|
-
elif type_of_union == 'relative':
|
78609
|
-
if relative is None:
|
78610
|
-
raise ValueError('a union value must not be None')
|
78611
|
-
self._relative = relative
|
78612
|
-
self._type = 'relative'
|
78682
|
+
def __init__(self, name: str, values: List[str]) -> None:
|
78683
|
+
self._name = name
|
78684
|
+
self._values = values
|
78613
78685
|
|
78614
78686
|
@builtins.property
|
78615
|
-
def
|
78616
|
-
return self.
|
78687
|
+
def name(self) -> str:
|
78688
|
+
return self._name
|
78617
78689
|
|
78618
78690
|
@builtins.property
|
78619
|
-
def
|
78620
|
-
|
78621
|
-
A relative timestamp of 7 days implies "7 days ago from current time".
|
78622
|
-
"""
|
78623
|
-
return self._relative
|
78691
|
+
def values(self) -> List[str]:
|
78692
|
+
return self._values
|
78624
78693
|
|
78625
|
-
def accept(self, visitor) -> Any:
|
78626
|
-
if not isinstance(visitor, scout_run_api_RelativeOrAbsoluteTimestampVisitor):
|
78627
|
-
raise ValueError('{} is not an instance of scout_run_api_RelativeOrAbsoluteTimestampVisitor'.format(visitor.__class__.__name__))
|
78628
|
-
if self._type == 'absolute' and self.absolute is not None:
|
78629
|
-
return visitor._absolute(self.absolute)
|
78630
|
-
if self._type == 'relative' and self.relative is not None:
|
78631
|
-
return visitor._relative(self.relative)
|
78632
78694
|
|
78695
|
+
scout_run_api_PropertiesFilter.__name__ = "PropertiesFilter"
|
78696
|
+
scout_run_api_PropertiesFilter.__qualname__ = "PropertiesFilter"
|
78697
|
+
scout_run_api_PropertiesFilter.__module__ = "nominal_api.scout_run_api"
|
78633
78698
|
|
78634
|
-
scout_run_api_RelativeOrAbsoluteTimestamp.__name__ = "RelativeOrAbsoluteTimestamp"
|
78635
|
-
scout_run_api_RelativeOrAbsoluteTimestamp.__qualname__ = "RelativeOrAbsoluteTimestamp"
|
78636
|
-
scout_run_api_RelativeOrAbsoluteTimestamp.__module__ = "nominal_api.scout_run_api"
|
78637
78699
|
|
78700
|
+
class scout_run_api_RefNameAndType(ConjureBeanType):
|
78701
|
+
"""Scoped to the org-level, intended to help the frontend
|
78702
|
+
prevent users from submitting invalid ref names, ex.
|
78703
|
+
using a `dataset` ref name for a `connection` data source
|
78704
|
+
"""
|
78638
78705
|
|
78639
|
-
|
78706
|
+
@builtins.classmethod
|
78707
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
78708
|
+
return {
|
78709
|
+
'name': ConjureFieldDefinition('name', scout_api_DataSourceRefName),
|
78710
|
+
'type': ConjureFieldDefinition('type', scout_run_api_DataSourceType)
|
78711
|
+
}
|
78640
78712
|
|
78641
|
-
|
78642
|
-
def _absolute(self, absolute: "api_Timestamp") -> Any:
|
78643
|
-
pass
|
78713
|
+
__slots__: List[str] = ['_name', '_type']
|
78644
78714
|
|
78645
|
-
|
78646
|
-
|
78647
|
-
|
78715
|
+
def __init__(self, name: str, type: "scout_run_api_DataSourceType") -> None:
|
78716
|
+
self._name = name
|
78717
|
+
self._type = type
|
78718
|
+
|
78719
|
+
@builtins.property
|
78720
|
+
def name(self) -> str:
|
78721
|
+
return self._name
|
78722
|
+
|
78723
|
+
@builtins.property
|
78724
|
+
def type(self) -> "scout_run_api_DataSourceType":
|
78725
|
+
return self._type
|
78648
78726
|
|
78649
78727
|
|
78650
|
-
|
78651
|
-
|
78652
|
-
|
78728
|
+
scout_run_api_RefNameAndType.__name__ = "RefNameAndType"
|
78729
|
+
scout_run_api_RefNameAndType.__qualname__ = "RefNameAndType"
|
78730
|
+
scout_run_api_RefNameAndType.__module__ = "nominal_api.scout_run_api"
|
78653
78731
|
|
78654
78732
|
|
78655
78733
|
class scout_run_api_Run(ConjureBeanType):
|
@@ -78986,22 +79064,26 @@ scout_run_api_RunWithDataReviewSummary.__module__ = "nominal_api.scout_run_api"
|
|
78986
79064
|
|
78987
79065
|
class scout_run_api_SearchQuery(ConjureUnionType):
|
78988
79066
|
_start_time_inclusive: Optional["scout_run_api_UtcTimestamp"] = None
|
78989
|
-
_start_time: Optional["
|
79067
|
+
_start_time: Optional["scout_run_api_TimeframeFilter"] = None
|
78990
79068
|
_end_time_inclusive: Optional["scout_run_api_UtcTimestamp"] = None
|
78991
|
-
_end_time: Optional["
|
79069
|
+
_end_time: Optional["scout_run_api_TimeframeFilter"] = None
|
78992
79070
|
_time_range: Optional["scout_run_api_TimeRangeFilter"] = None
|
78993
79071
|
_exact_match: Optional[str] = None
|
78994
79072
|
_search_text: Optional[str] = None
|
78995
79073
|
_asset: Optional[str] = None
|
79074
|
+
_assets: Optional["scout_run_api_AssetsFilter"] = None
|
78996
79075
|
_is_single_asset: Optional[bool] = None
|
78997
79076
|
_label: Optional[str] = None
|
79077
|
+
_labels: Optional["scout_run_api_LabelsFilter"] = None
|
78998
79078
|
_property: Optional["api_Property"] = None
|
79079
|
+
_properties: Optional["scout_run_api_PropertiesFilter"] = None
|
78999
79080
|
_data_source_series_tag: Optional["scout_run_api_DataSourceSeriesTag"] = None
|
79000
79081
|
_data_source_ref_name: Optional[str] = None
|
79001
79082
|
_data_source: Optional["scout_run_api_DataSource"] = None
|
79002
79083
|
_run_number: Optional[int] = None
|
79003
79084
|
_run_prefix: Optional[str] = None
|
79004
79085
|
_check_alert_states_filter: Optional["scout_run_api_CheckAlertStatesFilter"] = None
|
79086
|
+
_archived: Optional[bool] = None
|
79005
79087
|
_and_: Optional[List["scout_run_api_SearchQuery"]] = None
|
79006
79088
|
_or_: Optional[List["scout_run_api_SearchQuery"]] = None
|
79007
79089
|
_not_: Optional["scout_run_api_SearchQuery"] = None
|
@@ -79011,22 +79093,26 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79011
79093
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
79012
79094
|
return {
|
79013
79095
|
'start_time_inclusive': ConjureFieldDefinition('startTimeInclusive', scout_run_api_UtcTimestamp),
|
79014
|
-
'start_time': ConjureFieldDefinition('startTime',
|
79096
|
+
'start_time': ConjureFieldDefinition('startTime', scout_run_api_TimeframeFilter),
|
79015
79097
|
'end_time_inclusive': ConjureFieldDefinition('endTimeInclusive', scout_run_api_UtcTimestamp),
|
79016
|
-
'end_time': ConjureFieldDefinition('endTime',
|
79098
|
+
'end_time': ConjureFieldDefinition('endTime', scout_run_api_TimeframeFilter),
|
79017
79099
|
'time_range': ConjureFieldDefinition('timeRange', scout_run_api_TimeRangeFilter),
|
79018
79100
|
'exact_match': ConjureFieldDefinition('exactMatch', str),
|
79019
79101
|
'search_text': ConjureFieldDefinition('searchText', str),
|
79020
79102
|
'asset': ConjureFieldDefinition('asset', scout_rids_api_AssetRid),
|
79103
|
+
'assets': ConjureFieldDefinition('assets', scout_run_api_AssetsFilter),
|
79021
79104
|
'is_single_asset': ConjureFieldDefinition('isSingleAsset', bool),
|
79022
79105
|
'label': ConjureFieldDefinition('label', api_Label),
|
79106
|
+
'labels': ConjureFieldDefinition('labels', scout_run_api_LabelsFilter),
|
79023
79107
|
'property': ConjureFieldDefinition('property', api_Property),
|
79108
|
+
'properties': ConjureFieldDefinition('properties', scout_run_api_PropertiesFilter),
|
79024
79109
|
'data_source_series_tag': ConjureFieldDefinition('dataSourceSeriesTag', scout_run_api_DataSourceSeriesTag),
|
79025
79110
|
'data_source_ref_name': ConjureFieldDefinition('dataSourceRefName', scout_api_DataSourceRefName),
|
79026
79111
|
'data_source': ConjureFieldDefinition('dataSource', scout_run_api_DataSource),
|
79027
79112
|
'run_number': ConjureFieldDefinition('runNumber', int),
|
79028
79113
|
'run_prefix': ConjureFieldDefinition('runPrefix', str),
|
79029
79114
|
'check_alert_states_filter': ConjureFieldDefinition('checkAlertStatesFilter', scout_run_api_CheckAlertStatesFilter),
|
79115
|
+
'archived': ConjureFieldDefinition('archived', bool),
|
79030
79116
|
'and_': ConjureFieldDefinition('and', List[scout_run_api_SearchQuery]),
|
79031
79117
|
'or_': ConjureFieldDefinition('or', List[scout_run_api_SearchQuery]),
|
79032
79118
|
'not_': ConjureFieldDefinition('not', scout_run_api_SearchQuery),
|
@@ -79036,22 +79122,26 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79036
79122
|
def __init__(
|
79037
79123
|
self,
|
79038
79124
|
start_time_inclusive: Optional["scout_run_api_UtcTimestamp"] = None,
|
79039
|
-
start_time: Optional["
|
79125
|
+
start_time: Optional["scout_run_api_TimeframeFilter"] = None,
|
79040
79126
|
end_time_inclusive: Optional["scout_run_api_UtcTimestamp"] = None,
|
79041
|
-
end_time: Optional["
|
79127
|
+
end_time: Optional["scout_run_api_TimeframeFilter"] = None,
|
79042
79128
|
time_range: Optional["scout_run_api_TimeRangeFilter"] = None,
|
79043
79129
|
exact_match: Optional[str] = None,
|
79044
79130
|
search_text: Optional[str] = None,
|
79045
79131
|
asset: Optional[str] = None,
|
79132
|
+
assets: Optional["scout_run_api_AssetsFilter"] = None,
|
79046
79133
|
is_single_asset: Optional[bool] = None,
|
79047
79134
|
label: Optional[str] = None,
|
79135
|
+
labels: Optional["scout_run_api_LabelsFilter"] = None,
|
79048
79136
|
property: Optional["api_Property"] = None,
|
79137
|
+
properties: Optional["scout_run_api_PropertiesFilter"] = None,
|
79049
79138
|
data_source_series_tag: Optional["scout_run_api_DataSourceSeriesTag"] = None,
|
79050
79139
|
data_source_ref_name: Optional[str] = None,
|
79051
79140
|
data_source: Optional["scout_run_api_DataSource"] = None,
|
79052
79141
|
run_number: Optional[int] = None,
|
79053
79142
|
run_prefix: Optional[str] = None,
|
79054
79143
|
check_alert_states_filter: Optional["scout_run_api_CheckAlertStatesFilter"] = None,
|
79144
|
+
archived: Optional[bool] = None,
|
79055
79145
|
and_: Optional[List["scout_run_api_SearchQuery"]] = None,
|
79056
79146
|
or_: Optional[List["scout_run_api_SearchQuery"]] = None,
|
79057
79147
|
not_: Optional["scout_run_api_SearchQuery"] = None,
|
@@ -79059,7 +79149,7 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79059
79149
|
type_of_union: Optional[str] = None
|
79060
79150
|
) -> None:
|
79061
79151
|
if type_of_union is None:
|
79062
|
-
if (start_time_inclusive is not None) + (start_time is not None) + (end_time_inclusive is not None) + (end_time 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:
|
79152
|
+
if (start_time_inclusive is not None) + (start_time is not None) + (end_time_inclusive is not None) + (end_time is not None) + (time_range is not None) + (exact_match is not None) + (search_text is not None) + (asset is not None) + (assets is not None) + (is_single_asset is not None) + (label is not None) + (labels is not None) + (property is not None) + (properties 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) + (archived is not None) + (and_ is not None) + (or_ is not None) + (not_ is not None) + (workspace is not None) != 1:
|
79063
79153
|
raise ValueError('a union must contain a single member')
|
79064
79154
|
|
79065
79155
|
if start_time_inclusive is not None:
|
@@ -79086,15 +79176,24 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79086
79176
|
if asset is not None:
|
79087
79177
|
self._asset = asset
|
79088
79178
|
self._type = 'asset'
|
79179
|
+
if assets is not None:
|
79180
|
+
self._assets = assets
|
79181
|
+
self._type = 'assets'
|
79089
79182
|
if is_single_asset is not None:
|
79090
79183
|
self._is_single_asset = is_single_asset
|
79091
79184
|
self._type = 'isSingleAsset'
|
79092
79185
|
if label is not None:
|
79093
79186
|
self._label = label
|
79094
79187
|
self._type = 'label'
|
79188
|
+
if labels is not None:
|
79189
|
+
self._labels = labels
|
79190
|
+
self._type = 'labels'
|
79095
79191
|
if property is not None:
|
79096
79192
|
self._property = property
|
79097
79193
|
self._type = 'property'
|
79194
|
+
if properties is not None:
|
79195
|
+
self._properties = properties
|
79196
|
+
self._type = 'properties'
|
79098
79197
|
if data_source_series_tag is not None:
|
79099
79198
|
self._data_source_series_tag = data_source_series_tag
|
79100
79199
|
self._type = 'dataSourceSeriesTag'
|
@@ -79113,6 +79212,9 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79113
79212
|
if check_alert_states_filter is not None:
|
79114
79213
|
self._check_alert_states_filter = check_alert_states_filter
|
79115
79214
|
self._type = 'checkAlertStatesFilter'
|
79215
|
+
if archived is not None:
|
79216
|
+
self._archived = archived
|
79217
|
+
self._type = 'archived'
|
79116
79218
|
if and_ is not None:
|
79117
79219
|
self._and_ = and_
|
79118
79220
|
self._type = 'and'
|
@@ -79166,6 +79268,11 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79166
79268
|
raise ValueError('a union value must not be None')
|
79167
79269
|
self._asset = asset
|
79168
79270
|
self._type = 'asset'
|
79271
|
+
elif type_of_union == 'assets':
|
79272
|
+
if assets is None:
|
79273
|
+
raise ValueError('a union value must not be None')
|
79274
|
+
self._assets = assets
|
79275
|
+
self._type = 'assets'
|
79169
79276
|
elif type_of_union == 'isSingleAsset':
|
79170
79277
|
if is_single_asset is None:
|
79171
79278
|
raise ValueError('a union value must not be None')
|
@@ -79176,11 +79283,21 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79176
79283
|
raise ValueError('a union value must not be None')
|
79177
79284
|
self._label = label
|
79178
79285
|
self._type = 'label'
|
79286
|
+
elif type_of_union == 'labels':
|
79287
|
+
if labels is None:
|
79288
|
+
raise ValueError('a union value must not be None')
|
79289
|
+
self._labels = labels
|
79290
|
+
self._type = 'labels'
|
79179
79291
|
elif type_of_union == 'property':
|
79180
79292
|
if property is None:
|
79181
79293
|
raise ValueError('a union value must not be None')
|
79182
79294
|
self._property = property
|
79183
79295
|
self._type = 'property'
|
79296
|
+
elif type_of_union == 'properties':
|
79297
|
+
if properties is None:
|
79298
|
+
raise ValueError('a union value must not be None')
|
79299
|
+
self._properties = properties
|
79300
|
+
self._type = 'properties'
|
79184
79301
|
elif type_of_union == 'dataSourceSeriesTag':
|
79185
79302
|
if data_source_series_tag is None:
|
79186
79303
|
raise ValueError('a union value must not be None')
|
@@ -79211,6 +79328,11 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79211
79328
|
raise ValueError('a union value must not be None')
|
79212
79329
|
self._check_alert_states_filter = check_alert_states_filter
|
79213
79330
|
self._type = 'checkAlertStatesFilter'
|
79331
|
+
elif type_of_union == 'archived':
|
79332
|
+
if archived is None:
|
79333
|
+
raise ValueError('a union value must not be None')
|
79334
|
+
self._archived = archived
|
79335
|
+
self._type = 'archived'
|
79214
79336
|
elif type_of_union == 'and':
|
79215
79337
|
if and_ is None:
|
79216
79338
|
raise ValueError('a union value must not be None')
|
@@ -79237,7 +79359,7 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79237
79359
|
return self._start_time_inclusive
|
79238
79360
|
|
79239
79361
|
@builtins.property
|
79240
|
-
def start_time(self) -> Optional["
|
79362
|
+
def start_time(self) -> Optional["scout_run_api_TimeframeFilter"]:
|
79241
79363
|
return self._start_time
|
79242
79364
|
|
79243
79365
|
@builtins.property
|
@@ -79245,7 +79367,7 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79245
79367
|
return self._end_time_inclusive
|
79246
79368
|
|
79247
79369
|
@builtins.property
|
79248
|
-
def end_time(self) -> Optional["
|
79370
|
+
def end_time(self) -> Optional["scout_run_api_TimeframeFilter"]:
|
79249
79371
|
return self._end_time
|
79250
79372
|
|
79251
79373
|
@builtins.property
|
@@ -79266,6 +79388,10 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79266
79388
|
def asset(self) -> Optional[str]:
|
79267
79389
|
return self._asset
|
79268
79390
|
|
79391
|
+
@builtins.property
|
79392
|
+
def assets(self) -> Optional["scout_run_api_AssetsFilter"]:
|
79393
|
+
return self._assets
|
79394
|
+
|
79269
79395
|
@builtins.property
|
79270
79396
|
def is_single_asset(self) -> Optional[bool]:
|
79271
79397
|
"""Search for either only single-asset runs (true), or only multi-asset runs (false).
|
@@ -79276,10 +79402,18 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79276
79402
|
def label(self) -> Optional[str]:
|
79277
79403
|
return self._label
|
79278
79404
|
|
79405
|
+
@builtins.property
|
79406
|
+
def labels(self) -> Optional["scout_run_api_LabelsFilter"]:
|
79407
|
+
return self._labels
|
79408
|
+
|
79279
79409
|
@builtins.property
|
79280
79410
|
def property(self) -> Optional["api_Property"]:
|
79281
79411
|
return self._property
|
79282
79412
|
|
79413
|
+
@builtins.property
|
79414
|
+
def properties(self) -> Optional["scout_run_api_PropertiesFilter"]:
|
79415
|
+
return self._properties
|
79416
|
+
|
79283
79417
|
@builtins.property
|
79284
79418
|
def data_source_series_tag(self) -> Optional["scout_run_api_DataSourceSeriesTag"]:
|
79285
79419
|
return self._data_source_series_tag
|
@@ -79306,6 +79440,10 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79306
79440
|
"""
|
79307
79441
|
return self._check_alert_states_filter
|
79308
79442
|
|
79443
|
+
@builtins.property
|
79444
|
+
def archived(self) -> Optional[bool]:
|
79445
|
+
return self._archived
|
79446
|
+
|
79309
79447
|
@builtins.property
|
79310
79448
|
def and_(self) -> Optional[List["scout_run_api_SearchQuery"]]:
|
79311
79449
|
return self._and_
|
@@ -79341,12 +79479,18 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79341
79479
|
return visitor._search_text(self.search_text)
|
79342
79480
|
if self._type == 'asset' and self.asset is not None:
|
79343
79481
|
return visitor._asset(self.asset)
|
79482
|
+
if self._type == 'assets' and self.assets is not None:
|
79483
|
+
return visitor._assets(self.assets)
|
79344
79484
|
if self._type == 'isSingleAsset' and self.is_single_asset is not None:
|
79345
79485
|
return visitor._is_single_asset(self.is_single_asset)
|
79346
79486
|
if self._type == 'label' and self.label is not None:
|
79347
79487
|
return visitor._label(self.label)
|
79488
|
+
if self._type == 'labels' and self.labels is not None:
|
79489
|
+
return visitor._labels(self.labels)
|
79348
79490
|
if self._type == 'property' and self.property is not None:
|
79349
79491
|
return visitor._property(self.property)
|
79492
|
+
if self._type == 'properties' and self.properties is not None:
|
79493
|
+
return visitor._properties(self.properties)
|
79350
79494
|
if self._type == 'dataSourceSeriesTag' and self.data_source_series_tag is not None:
|
79351
79495
|
return visitor._data_source_series_tag(self.data_source_series_tag)
|
79352
79496
|
if self._type == 'dataSourceRefName' and self.data_source_ref_name is not None:
|
@@ -79359,6 +79503,8 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
79359
79503
|
return visitor._run_prefix(self.run_prefix)
|
79360
79504
|
if self._type == 'checkAlertStatesFilter' and self.check_alert_states_filter is not None:
|
79361
79505
|
return visitor._check_alert_states_filter(self.check_alert_states_filter)
|
79506
|
+
if self._type == 'archived' and self.archived is not None:
|
79507
|
+
return visitor._archived(self.archived)
|
79362
79508
|
if self._type == 'and' and self.and_ is not None:
|
79363
79509
|
return visitor._and(self.and_)
|
79364
79510
|
if self._type == 'or' and self.or_ is not None:
|
@@ -79381,7 +79527,7 @@ class scout_run_api_SearchQueryVisitor:
|
|
79381
79527
|
pass
|
79382
79528
|
|
79383
79529
|
@abstractmethod
|
79384
|
-
def _start_time(self, start_time: "
|
79530
|
+
def _start_time(self, start_time: "scout_run_api_TimeframeFilter") -> Any:
|
79385
79531
|
pass
|
79386
79532
|
|
79387
79533
|
@abstractmethod
|
@@ -79389,7 +79535,7 @@ class scout_run_api_SearchQueryVisitor:
|
|
79389
79535
|
pass
|
79390
79536
|
|
79391
79537
|
@abstractmethod
|
79392
|
-
def _end_time(self, end_time: "
|
79538
|
+
def _end_time(self, end_time: "scout_run_api_TimeframeFilter") -> Any:
|
79393
79539
|
pass
|
79394
79540
|
|
79395
79541
|
@abstractmethod
|
@@ -79408,6 +79554,10 @@ class scout_run_api_SearchQueryVisitor:
|
|
79408
79554
|
def _asset(self, asset: str) -> Any:
|
79409
79555
|
pass
|
79410
79556
|
|
79557
|
+
@abstractmethod
|
79558
|
+
def _assets(self, assets: "scout_run_api_AssetsFilter") -> Any:
|
79559
|
+
pass
|
79560
|
+
|
79411
79561
|
@abstractmethod
|
79412
79562
|
def _is_single_asset(self, is_single_asset: bool) -> Any:
|
79413
79563
|
pass
|
@@ -79416,10 +79566,18 @@ class scout_run_api_SearchQueryVisitor:
|
|
79416
79566
|
def _label(self, label: str) -> Any:
|
79417
79567
|
pass
|
79418
79568
|
|
79569
|
+
@abstractmethod
|
79570
|
+
def _labels(self, labels: "scout_run_api_LabelsFilter") -> Any:
|
79571
|
+
pass
|
79572
|
+
|
79419
79573
|
@abstractmethod
|
79420
79574
|
def _property(self, property: "api_Property") -> Any:
|
79421
79575
|
pass
|
79422
79576
|
|
79577
|
+
@abstractmethod
|
79578
|
+
def _properties(self, properties: "scout_run_api_PropertiesFilter") -> Any:
|
79579
|
+
pass
|
79580
|
+
|
79423
79581
|
@abstractmethod
|
79424
79582
|
def _data_source_series_tag(self, data_source_series_tag: "scout_run_api_DataSourceSeriesTag") -> Any:
|
79425
79583
|
pass
|
@@ -79444,6 +79602,10 @@ class scout_run_api_SearchQueryVisitor:
|
|
79444
79602
|
def _check_alert_states_filter(self, check_alert_states_filter: "scout_run_api_CheckAlertStatesFilter") -> Any:
|
79445
79603
|
pass
|
79446
79604
|
|
79605
|
+
@abstractmethod
|
79606
|
+
def _archived(self, archived: bool) -> Any:
|
79607
|
+
pass
|
79608
|
+
|
79447
79609
|
@abstractmethod
|
79448
79610
|
def _and(self, and_: List["scout_run_api_SearchQuery"]) -> Any:
|
79449
79611
|
pass
|
@@ -79880,33 +80042,81 @@ scout_run_api_TimeRangeFilter.__qualname__ = "TimeRangeFilter"
|
|
79880
80042
|
scout_run_api_TimeRangeFilter.__module__ = "nominal_api.scout_run_api"
|
79881
80043
|
|
79882
80044
|
|
79883
|
-
class
|
80045
|
+
class scout_run_api_TimeframeFilter(ConjureUnionType):
|
80046
|
+
_custom: Optional["scout_run_api_CustomTimeframeFilter"] = None
|
80047
|
+
_preset: Optional["scout_run_api_PresetTimeframeFilter"] = None
|
79884
80048
|
|
79885
80049
|
@builtins.classmethod
|
79886
|
-
def
|
80050
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
79887
80051
|
return {
|
79888
|
-
'
|
79889
|
-
'
|
80052
|
+
'custom': ConjureFieldDefinition('custom', scout_run_api_CustomTimeframeFilter),
|
80053
|
+
'preset': ConjureFieldDefinition('preset', scout_run_api_PresetTimeframeFilter)
|
79890
80054
|
}
|
79891
80055
|
|
79892
|
-
|
80056
|
+
def __init__(
|
80057
|
+
self,
|
80058
|
+
custom: Optional["scout_run_api_CustomTimeframeFilter"] = None,
|
80059
|
+
preset: Optional["scout_run_api_PresetTimeframeFilter"] = None,
|
80060
|
+
type_of_union: Optional[str] = None
|
80061
|
+
) -> None:
|
80062
|
+
if type_of_union is None:
|
80063
|
+
if (custom is not None) + (preset is not None) != 1:
|
80064
|
+
raise ValueError('a union must contain a single member')
|
79893
80065
|
|
79894
|
-
|
79895
|
-
|
79896
|
-
|
80066
|
+
if custom is not None:
|
80067
|
+
self._custom = custom
|
80068
|
+
self._type = 'custom'
|
80069
|
+
if preset is not None:
|
80070
|
+
self._preset = preset
|
80071
|
+
self._type = 'preset'
|
80072
|
+
|
80073
|
+
elif type_of_union == 'custom':
|
80074
|
+
if custom is None:
|
80075
|
+
raise ValueError('a union value must not be None')
|
80076
|
+
self._custom = custom
|
80077
|
+
self._type = 'custom'
|
80078
|
+
elif type_of_union == 'preset':
|
80079
|
+
if preset is None:
|
80080
|
+
raise ValueError('a union value must not be None')
|
80081
|
+
self._preset = preset
|
80082
|
+
self._type = 'preset'
|
79897
80083
|
|
79898
80084
|
@builtins.property
|
79899
|
-
def
|
79900
|
-
return self.
|
80085
|
+
def custom(self) -> Optional["scout_run_api_CustomTimeframeFilter"]:
|
80086
|
+
return self._custom
|
79901
80087
|
|
79902
80088
|
@builtins.property
|
79903
|
-
def
|
79904
|
-
return self.
|
80089
|
+
def preset(self) -> Optional["scout_run_api_PresetTimeframeFilter"]:
|
80090
|
+
return self._preset
|
80091
|
+
|
80092
|
+
def accept(self, visitor) -> Any:
|
80093
|
+
if not isinstance(visitor, scout_run_api_TimeframeFilterVisitor):
|
80094
|
+
raise ValueError('{} is not an instance of scout_run_api_TimeframeFilterVisitor'.format(visitor.__class__.__name__))
|
80095
|
+
if self._type == 'custom' and self.custom is not None:
|
80096
|
+
return visitor._custom(self.custom)
|
80097
|
+
if self._type == 'preset' and self.preset is not None:
|
80098
|
+
return visitor._preset(self.preset)
|
80099
|
+
|
80100
|
+
|
80101
|
+
scout_run_api_TimeframeFilter.__name__ = "TimeframeFilter"
|
80102
|
+
scout_run_api_TimeframeFilter.__qualname__ = "TimeframeFilter"
|
80103
|
+
scout_run_api_TimeframeFilter.__module__ = "nominal_api.scout_run_api"
|
80104
|
+
|
80105
|
+
|
80106
|
+
class scout_run_api_TimeframeFilterVisitor:
|
80107
|
+
|
80108
|
+
@abstractmethod
|
80109
|
+
def _custom(self, custom: "scout_run_api_CustomTimeframeFilter") -> Any:
|
80110
|
+
pass
|
80111
|
+
|
80112
|
+
@abstractmethod
|
80113
|
+
def _preset(self, preset: "scout_run_api_PresetTimeframeFilter") -> Any:
|
80114
|
+
pass
|
79905
80115
|
|
79906
80116
|
|
79907
|
-
|
79908
|
-
|
79909
|
-
|
80117
|
+
scout_run_api_TimeframeFilterVisitor.__name__ = "TimeframeFilterVisitor"
|
80118
|
+
scout_run_api_TimeframeFilterVisitor.__qualname__ = "TimeframeFilterVisitor"
|
80119
|
+
scout_run_api_TimeframeFilterVisitor.__module__ = "nominal_api.scout_run_api"
|
79910
80120
|
|
79911
80121
|
|
79912
80122
|
class scout_run_api_UnarchiveRunsRequest(ConjureBeanType):
|
nominal_api/api/__init__.py
CHANGED
@@ -30,6 +30,7 @@ from .._impl import (
|
|
30
30
|
api_SerializableError as SerializableError,
|
31
31
|
api_SeriesArchetypeRid as SeriesArchetypeRid,
|
32
32
|
api_SeriesDataType as SeriesDataType,
|
33
|
+
api_SetOperator as SetOperator,
|
33
34
|
api_SuccessResult as SuccessResult,
|
34
35
|
api_TagName as TagName,
|
35
36
|
api_TagValue as TagValue,
|
@@ -70,6 +71,7 @@ __all__ = [
|
|
70
71
|
'SerializableError',
|
71
72
|
'SeriesArchetypeRid',
|
72
73
|
'SeriesDataType',
|
74
|
+
'SetOperator',
|
73
75
|
'SuccessResult',
|
74
76
|
'TagName',
|
75
77
|
'TagValue',
|
@@ -2,12 +2,14 @@
|
|
2
2
|
from .._impl import (
|
3
3
|
scout_run_api_AllRunsPropertiesAndLabelsResponse as AllRunsPropertiesAndLabelsResponse,
|
4
4
|
scout_run_api_ArchiveRunsRequest as ArchiveRunsRequest,
|
5
|
+
scout_run_api_AssetsFilter as AssetsFilter,
|
5
6
|
scout_run_api_ChannelMetadata as ChannelMetadata,
|
6
7
|
scout_run_api_CheckAlertStatesFilter as CheckAlertStatesFilter,
|
7
8
|
scout_run_api_ConnectionRid as ConnectionRid,
|
8
9
|
scout_run_api_CreateOrUpdateRunRequest as CreateOrUpdateRunRequest,
|
9
10
|
scout_run_api_CreateRunDataSource as CreateRunDataSource,
|
10
11
|
scout_run_api_CreateRunRequest as CreateRunRequest,
|
12
|
+
scout_run_api_CustomTimeframeFilter as CustomTimeframeFilter,
|
11
13
|
scout_run_api_DataReviewAlertMetrics as DataReviewAlertMetrics,
|
12
14
|
scout_run_api_DataReviewCheckMetrics as DataReviewCheckMetrics,
|
13
15
|
scout_run_api_DataReviewMetrics as DataReviewMetrics,
|
@@ -20,12 +22,13 @@ from .._impl import (
|
|
20
22
|
scout_run_api_GetRunByIdRequest as GetRunByIdRequest,
|
21
23
|
scout_run_api_GetRunsByAssetRequest as GetRunsByAssetRequest,
|
22
24
|
scout_run_api_GetRunsByAssetResponse as GetRunsByAssetResponse,
|
23
|
-
|
25
|
+
scout_run_api_LabelsFilter as LabelsFilter,
|
24
26
|
scout_run_api_Link as Link,
|
25
27
|
scout_run_api_LogSetRid as LogSetRid,
|
28
|
+
scout_run_api_PresetTimeframeDuration as PresetTimeframeDuration,
|
29
|
+
scout_run_api_PresetTimeframeFilter as PresetTimeframeFilter,
|
30
|
+
scout_run_api_PropertiesFilter as PropertiesFilter,
|
26
31
|
scout_run_api_RefNameAndType as RefNameAndType,
|
27
|
-
scout_run_api_RelativeOrAbsoluteTimestamp as RelativeOrAbsoluteTimestamp,
|
28
|
-
scout_run_api_RelativeOrAbsoluteTimestampVisitor as RelativeOrAbsoluteTimestampVisitor,
|
29
32
|
scout_run_api_Run as Run,
|
30
33
|
scout_run_api_RunDataReviewEvaluationStatus as RunDataReviewEvaluationStatus,
|
31
34
|
scout_run_api_RunDataReviewSummary as RunDataReviewSummary,
|
@@ -47,7 +50,8 @@ from .._impl import (
|
|
47
50
|
scout_run_api_SortOptions as SortOptions,
|
48
51
|
scout_run_api_SortProperty as SortProperty,
|
49
52
|
scout_run_api_TimeRangeFilter as TimeRangeFilter,
|
50
|
-
|
53
|
+
scout_run_api_TimeframeFilter as TimeframeFilter,
|
54
|
+
scout_run_api_TimeframeFilterVisitor as TimeframeFilterVisitor,
|
51
55
|
scout_run_api_UnarchiveRunsRequest as UnarchiveRunsRequest,
|
52
56
|
scout_run_api_Unit as Unit,
|
53
57
|
scout_run_api_UpdateAttachmentsRequest as UpdateAttachmentsRequest,
|
@@ -59,12 +63,14 @@ from .._impl import (
|
|
59
63
|
__all__ = [
|
60
64
|
'AllRunsPropertiesAndLabelsResponse',
|
61
65
|
'ArchiveRunsRequest',
|
66
|
+
'AssetsFilter',
|
62
67
|
'ChannelMetadata',
|
63
68
|
'CheckAlertStatesFilter',
|
64
69
|
'ConnectionRid',
|
65
70
|
'CreateOrUpdateRunRequest',
|
66
71
|
'CreateRunDataSource',
|
67
72
|
'CreateRunRequest',
|
73
|
+
'CustomTimeframeFilter',
|
68
74
|
'DataReviewAlertMetrics',
|
69
75
|
'DataReviewCheckMetrics',
|
70
76
|
'DataReviewMetrics',
|
@@ -77,12 +83,13 @@ __all__ = [
|
|
77
83
|
'GetRunByIdRequest',
|
78
84
|
'GetRunsByAssetRequest',
|
79
85
|
'GetRunsByAssetResponse',
|
80
|
-
'
|
86
|
+
'LabelsFilter',
|
81
87
|
'Link',
|
82
88
|
'LogSetRid',
|
89
|
+
'PresetTimeframeDuration',
|
90
|
+
'PresetTimeframeFilter',
|
91
|
+
'PropertiesFilter',
|
83
92
|
'RefNameAndType',
|
84
|
-
'RelativeOrAbsoluteTimestamp',
|
85
|
-
'RelativeOrAbsoluteTimestampVisitor',
|
86
93
|
'Run',
|
87
94
|
'RunDataReviewEvaluationStatus',
|
88
95
|
'RunDataReviewSummary',
|
@@ -104,7 +111,8 @@ __all__ = [
|
|
104
111
|
'SortOptions',
|
105
112
|
'SortProperty',
|
106
113
|
'TimeRangeFilter',
|
107
|
-
'
|
114
|
+
'TimeframeFilter',
|
115
|
+
'TimeframeFilterVisitor',
|
108
116
|
'UnarchiveRunsRequest',
|
109
117
|
'Unit',
|
110
118
|
'UpdateAttachmentsRequest',
|
@@ -1,7 +1,7 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
1
|
+
nominal_api/__init__.py,sha256=h03eC63QFNZuSIzyTXkqHbp0Eeqn0g5hSoyTAt0cRi4,2088
|
2
|
+
nominal_api/_impl.py,sha256=RvD7GwQd3MR9ATxlU0GaO0HDhdXM8AgbbvF0lJ_DOnM,3778665
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
4
|
-
nominal_api/api/__init__.py,sha256=
|
4
|
+
nominal_api/api/__init__.py,sha256=GqRLE9wwPPQgALVHFJViG8E4JJ2t3yfHedeXRLu1L70,2226
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
6
6
|
nominal_api/api_rids/__init__.py,sha256=aSOwY2GcEN7dvhnHUcTwpMRA7QGkySIkdBvG-R7VZ5M,1357
|
7
7
|
nominal_api/attachments_api/__init__.py,sha256=OYiF9nptXlr47pkina5cOCIJbD4RKSOeAyCNj3kZmbk,901
|
@@ -52,7 +52,7 @@ nominal_api/scout_metadata/__init__.py,sha256=tfnzE6dlVBki1ZSy276mkDQQeKehmJLaG9
|
|
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
|
55
|
-
nominal_api/scout_run_api/__init__.py,sha256=
|
55
|
+
nominal_api/scout_run_api/__init__.py,sha256=gFB-Q8NMMpkWkaogn2FXWvI6CV83N1bHDBgkIec0Dx8,4911
|
56
56
|
nominal_api/scout_savedviews/__init__.py,sha256=yky0iF6IK8U5xnDjfzvUuXOb-Tl5RF6dic6abhuX-V8,138
|
57
57
|
nominal_api/scout_savedviews_api/__init__.py,sha256=qGCgh8Pv9N-uekuDwDCHlBu9DCflIT6MiDhtFSmtKQ4,3148
|
58
58
|
nominal_api/scout_template_api/__init__.py,sha256=Yu7FHTypJv09dBKqnWS_dDeXdwI1hgGGZNDbMOHZKr8,1550
|
@@ -78,7 +78,7 @@ nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrR
|
|
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
80
|
nominal_api/usercreation_api/__init__.py,sha256=Q6M70SlKFVfIxZqRohD4XYmBz5t2DP1DB0a0Q6glqGA,171
|
81
|
-
nominal_api-0.
|
82
|
-
nominal_api-0.
|
83
|
-
nominal_api-0.
|
84
|
-
nominal_api-0.
|
81
|
+
nominal_api-0.901.0.dist-info/METADATA,sha256=YmCXdKPqrSrGt08oKNl0thmo5WCTMtsjfJ5QqvdYdBs,199
|
82
|
+
nominal_api-0.901.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
83
|
+
nominal_api-0.901.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
84
|
+
nominal_api-0.901.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|