nominal-api 0.684.2__py3-none-any.whl → 0.686.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.
Potentially problematic release.
This version of nominal-api might be problematic. Click here for more details.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +215 -25
- nominal_api/comments_api/__init__.py +0 -1
- nominal_api/scout_compute_api/__init__.py +4 -0
- nominal_api/scout_rids_api/__init__.py +1 -0
- {nominal_api-0.684.2.dist-info → nominal_api-0.686.0.dist-info}/METADATA +1 -1
- {nominal_api-0.684.2.dist-info → nominal_api-0.686.0.dist-info}/RECORD +9 -9
- {nominal_api-0.684.2.dist-info → nominal_api-0.686.0.dist-info}/WHEEL +1 -1
- {nominal_api-0.684.2.dist-info → nominal_api-0.686.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -3096,7 +3096,7 @@ class comments_api_CommentParentResource(ConjureBeanType):
|
|
|
3096
3096
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
3097
3097
|
return {
|
|
3098
3098
|
'resource_type': ConjureFieldDefinition('resourceType', comments_api_ResourceType),
|
|
3099
|
-
'resource_rid': ConjureFieldDefinition('resourceRid',
|
|
3099
|
+
'resource_rid': ConjureFieldDefinition('resourceRid', str)
|
|
3100
3100
|
}
|
|
3101
3101
|
|
|
3102
3102
|
__slots__: List[str] = ['_resource_type', '_resource_rid']
|
|
@@ -3468,7 +3468,7 @@ class comments_api_Conversation(ConjureBeanType):
|
|
|
3468
3468
|
@builtins.classmethod
|
|
3469
3469
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
3470
3470
|
return {
|
|
3471
|
-
'resource_rid': ConjureFieldDefinition('resourceRid',
|
|
3471
|
+
'resource_rid': ConjureFieldDefinition('resourceRid', str),
|
|
3472
3472
|
'resource_type': ConjureFieldDefinition('resourceType', comments_api_ResourceType),
|
|
3473
3473
|
'comments': ConjureFieldDefinition('comments', List[comments_api_ConversationNode])
|
|
3474
3474
|
}
|
|
@@ -16633,15 +16633,17 @@ class scout_api_ChannelLocator(ConjureBeanType):
|
|
|
16633
16633
|
return {
|
|
16634
16634
|
'data_source_ref': ConjureFieldDefinition('dataSourceRef', scout_api_DataSourceRefName),
|
|
16635
16635
|
'channel': ConjureFieldDefinition('channel', api_Channel),
|
|
16636
|
-
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue])
|
|
16636
|
+
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue]),
|
|
16637
|
+
'asset': ConjureFieldDefinition('asset', OptionalTypeWrapper[scout_rids_api_AssetRefName])
|
|
16637
16638
|
}
|
|
16638
16639
|
|
|
16639
|
-
__slots__: List[str] = ['_data_source_ref', '_channel', '_tags']
|
|
16640
|
+
__slots__: List[str] = ['_data_source_ref', '_channel', '_tags', '_asset']
|
|
16640
16641
|
|
|
16641
|
-
def __init__(self, channel: str, data_source_ref: str, tags: Dict[str, str]) -> None:
|
|
16642
|
+
def __init__(self, channel: str, data_source_ref: str, tags: Dict[str, str], asset: Optional[str] = None) -> None:
|
|
16642
16643
|
self._data_source_ref = data_source_ref
|
|
16643
16644
|
self._channel = channel
|
|
16644
16645
|
self._tags = tags
|
|
16646
|
+
self._asset = asset
|
|
16645
16647
|
|
|
16646
16648
|
@builtins.property
|
|
16647
16649
|
def data_source_ref(self) -> str:
|
|
@@ -16655,6 +16657,10 @@ class scout_api_ChannelLocator(ConjureBeanType):
|
|
|
16655
16657
|
def tags(self) -> Dict[str, str]:
|
|
16656
16658
|
return self._tags
|
|
16657
16659
|
|
|
16660
|
+
@builtins.property
|
|
16661
|
+
def asset(self) -> Optional[str]:
|
|
16662
|
+
return self._asset
|
|
16663
|
+
|
|
16658
16664
|
|
|
16659
16665
|
scout_api_ChannelLocator.__name__ = "ChannelLocator"
|
|
16660
16666
|
scout_api_ChannelLocator.__qualname__ = "ChannelLocator"
|
|
@@ -34390,16 +34396,18 @@ class scout_compute_api_AssetChannel(ConjureBeanType):
|
|
|
34390
34396
|
'asset_rid': ConjureFieldDefinition('assetRid', scout_compute_api_StringConstant),
|
|
34391
34397
|
'data_scope_name': ConjureFieldDefinition('dataScopeName', scout_compute_api_StringConstant),
|
|
34392
34398
|
'channel': ConjureFieldDefinition('channel', scout_compute_api_StringConstant),
|
|
34393
|
-
'additional_tags': ConjureFieldDefinition('additionalTags', Dict[str, scout_compute_api_StringConstant])
|
|
34399
|
+
'additional_tags': ConjureFieldDefinition('additionalTags', Dict[str, scout_compute_api_StringConstant]),
|
|
34400
|
+
'tags_to_group_by': ConjureFieldDefinition('tagsToGroupBy', List[str])
|
|
34394
34401
|
}
|
|
34395
34402
|
|
|
34396
|
-
__slots__: List[str] = ['_asset_rid', '_data_scope_name', '_channel', '_additional_tags']
|
|
34403
|
+
__slots__: List[str] = ['_asset_rid', '_data_scope_name', '_channel', '_additional_tags', '_tags_to_group_by']
|
|
34397
34404
|
|
|
34398
|
-
def __init__(self, additional_tags: Dict[str, "scout_compute_api_StringConstant"], asset_rid: "scout_compute_api_StringConstant", channel: "scout_compute_api_StringConstant", data_scope_name: "scout_compute_api_StringConstant") -> None:
|
|
34405
|
+
def __init__(self, additional_tags: Dict[str, "scout_compute_api_StringConstant"], asset_rid: "scout_compute_api_StringConstant", channel: "scout_compute_api_StringConstant", data_scope_name: "scout_compute_api_StringConstant", tags_to_group_by: List[str]) -> None:
|
|
34399
34406
|
self._asset_rid = asset_rid
|
|
34400
34407
|
self._data_scope_name = data_scope_name
|
|
34401
34408
|
self._channel = channel
|
|
34402
34409
|
self._additional_tags = additional_tags
|
|
34410
|
+
self._tags_to_group_by = tags_to_group_by
|
|
34403
34411
|
|
|
34404
34412
|
@builtins.property
|
|
34405
34413
|
def asset_rid(self) -> "scout_compute_api_StringConstant":
|
|
@@ -34425,6 +34433,14 @@ both sets of tag filters. For log series, include arg filters here in addition t
|
|
|
34425
34433
|
"""
|
|
34426
34434
|
return self._additional_tags
|
|
34427
34435
|
|
|
34436
|
+
@builtins.property
|
|
34437
|
+
def tags_to_group_by(self) -> List[str]:
|
|
34438
|
+
"""
|
|
34439
|
+
Tags that the channel should be grouped by. If this is non-empty a grouped result will be returned
|
|
34440
|
+
with an entry for each grouping.
|
|
34441
|
+
"""
|
|
34442
|
+
return self._tags_to_group_by
|
|
34443
|
+
|
|
34428
34444
|
|
|
34429
34445
|
scout_compute_api_AssetChannel.__name__ = "AssetChannel"
|
|
34430
34446
|
scout_compute_api_AssetChannel.__qualname__ = "AssetChannel"
|
|
@@ -36190,6 +36206,7 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
36190
36206
|
_numeric_histogram: Optional["scout_compute_api_NumericHistogramPlot"] = None
|
|
36191
36207
|
_enum_histogram: Optional["scout_compute_api_EnumHistogramPlot"] = None
|
|
36192
36208
|
_curve_fit: Optional["scout_compute_api_CurveFitResult"] = None
|
|
36209
|
+
_grouped: Optional["scout_compute_api_GroupedComputeNodeResponses"] = None
|
|
36193
36210
|
|
|
36194
36211
|
@builtins.classmethod
|
|
36195
36212
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -36212,7 +36229,8 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
36212
36229
|
'frequency_domain': ConjureFieldDefinition('frequencyDomain', scout_compute_api_FrequencyDomainPlot),
|
|
36213
36230
|
'numeric_histogram': ConjureFieldDefinition('numericHistogram', scout_compute_api_NumericHistogramPlot),
|
|
36214
36231
|
'enum_histogram': ConjureFieldDefinition('enumHistogram', scout_compute_api_EnumHistogramPlot),
|
|
36215
|
-
'curve_fit': ConjureFieldDefinition('curveFit', scout_compute_api_CurveFitResult)
|
|
36232
|
+
'curve_fit': ConjureFieldDefinition('curveFit', scout_compute_api_CurveFitResult),
|
|
36233
|
+
'grouped': ConjureFieldDefinition('grouped', scout_compute_api_GroupedComputeNodeResponses)
|
|
36216
36234
|
}
|
|
36217
36235
|
|
|
36218
36236
|
def __init__(
|
|
@@ -36236,10 +36254,11 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
36236
36254
|
numeric_histogram: Optional["scout_compute_api_NumericHistogramPlot"] = None,
|
|
36237
36255
|
enum_histogram: Optional["scout_compute_api_EnumHistogramPlot"] = None,
|
|
36238
36256
|
curve_fit: Optional["scout_compute_api_CurveFitResult"] = None,
|
|
36257
|
+
grouped: Optional["scout_compute_api_GroupedComputeNodeResponses"] = None,
|
|
36239
36258
|
type_of_union: Optional[str] = None
|
|
36240
36259
|
) -> None:
|
|
36241
36260
|
if type_of_union is None:
|
|
36242
|
-
if (range is not None) + (ranges_summary is not None) + (range_value is not None) + (numeric is not None) + (bucketed_numeric is not None) + (numeric_point is not None) + (enum is not None) + (enum_point is not None) + (bucketed_enum is not None) + (paged_log is not None) + (log_point is not None) + (cartesian is not None) + (bucketed_cartesian is not None) + (bucketed_cartesian3d is not None) + (bucketed_geo is not None) + (frequency_domain is not None) + (numeric_histogram is not None) + (enum_histogram is not None) + (curve_fit is not None) != 1:
|
|
36261
|
+
if (range is not None) + (ranges_summary is not None) + (range_value is not None) + (numeric is not None) + (bucketed_numeric is not None) + (numeric_point is not None) + (enum is not None) + (enum_point is not None) + (bucketed_enum is not None) + (paged_log is not None) + (log_point is not None) + (cartesian is not None) + (bucketed_cartesian is not None) + (bucketed_cartesian3d is not None) + (bucketed_geo is not None) + (frequency_domain is not None) + (numeric_histogram is not None) + (enum_histogram is not None) + (curve_fit is not None) + (grouped is not None) != 1:
|
|
36243
36262
|
raise ValueError('a union must contain a single member')
|
|
36244
36263
|
|
|
36245
36264
|
if range is not None:
|
|
@@ -36299,6 +36318,9 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
36299
36318
|
if curve_fit is not None:
|
|
36300
36319
|
self._curve_fit = curve_fit
|
|
36301
36320
|
self._type = 'curveFit'
|
|
36321
|
+
if grouped is not None:
|
|
36322
|
+
self._grouped = grouped
|
|
36323
|
+
self._type = 'grouped'
|
|
36302
36324
|
|
|
36303
36325
|
elif type_of_union == 'range':
|
|
36304
36326
|
if range is None:
|
|
@@ -36395,6 +36417,11 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
36395
36417
|
raise ValueError('a union value must not be None')
|
|
36396
36418
|
self._curve_fit = curve_fit
|
|
36397
36419
|
self._type = 'curveFit'
|
|
36420
|
+
elif type_of_union == 'grouped':
|
|
36421
|
+
if grouped is None:
|
|
36422
|
+
raise ValueError('a union value must not be None')
|
|
36423
|
+
self._grouped = grouped
|
|
36424
|
+
self._type = 'grouped'
|
|
36398
36425
|
|
|
36399
36426
|
@builtins.property
|
|
36400
36427
|
def range(self) -> Optional[List["scout_compute_api_Range"]]:
|
|
@@ -36472,6 +36499,10 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
36472
36499
|
def curve_fit(self) -> Optional["scout_compute_api_CurveFitResult"]:
|
|
36473
36500
|
return self._curve_fit
|
|
36474
36501
|
|
|
36502
|
+
@builtins.property
|
|
36503
|
+
def grouped(self) -> Optional["scout_compute_api_GroupedComputeNodeResponses"]:
|
|
36504
|
+
return self._grouped
|
|
36505
|
+
|
|
36475
36506
|
def accept(self, visitor) -> Any:
|
|
36476
36507
|
if not isinstance(visitor, scout_compute_api_ComputeNodeResponseVisitor):
|
|
36477
36508
|
raise ValueError('{} is not an instance of scout_compute_api_ComputeNodeResponseVisitor'.format(visitor.__class__.__name__))
|
|
@@ -36513,6 +36544,8 @@ class scout_compute_api_ComputeNodeResponse(ConjureUnionType):
|
|
|
36513
36544
|
return visitor._enum_histogram(self.enum_histogram)
|
|
36514
36545
|
if self._type == 'curveFit' and self.curve_fit is not None:
|
|
36515
36546
|
return visitor._curve_fit(self.curve_fit)
|
|
36547
|
+
if self._type == 'grouped' and self.grouped is not None:
|
|
36548
|
+
return visitor._grouped(self.grouped)
|
|
36516
36549
|
|
|
36517
36550
|
|
|
36518
36551
|
scout_compute_api_ComputeNodeResponse.__name__ = "ComputeNodeResponse"
|
|
@@ -36598,6 +36631,10 @@ class scout_compute_api_ComputeNodeResponseVisitor:
|
|
|
36598
36631
|
def _curve_fit(self, curve_fit: "scout_compute_api_CurveFitResult") -> Any:
|
|
36599
36632
|
pass
|
|
36600
36633
|
|
|
36634
|
+
@abstractmethod
|
|
36635
|
+
def _grouped(self, grouped: "scout_compute_api_GroupedComputeNodeResponses") -> Any:
|
|
36636
|
+
pass
|
|
36637
|
+
|
|
36601
36638
|
|
|
36602
36639
|
scout_compute_api_ComputeNodeResponseVisitor.__name__ = "ComputeNodeResponseVisitor"
|
|
36603
36640
|
scout_compute_api_ComputeNodeResponseVisitor.__qualname__ = "ComputeNodeResponseVisitor"
|
|
@@ -37618,15 +37655,17 @@ class scout_compute_api_DataSourceChannel(ConjureBeanType):
|
|
|
37618
37655
|
return {
|
|
37619
37656
|
'data_source_rid': ConjureFieldDefinition('dataSourceRid', scout_compute_api_StringConstant),
|
|
37620
37657
|
'channel': ConjureFieldDefinition('channel', scout_compute_api_StringConstant),
|
|
37621
|
-
'tags': ConjureFieldDefinition('tags', Dict[str, scout_compute_api_StringConstant])
|
|
37658
|
+
'tags': ConjureFieldDefinition('tags', Dict[str, scout_compute_api_StringConstant]),
|
|
37659
|
+
'tags_to_group_by': ConjureFieldDefinition('tagsToGroupBy', List[str])
|
|
37622
37660
|
}
|
|
37623
37661
|
|
|
37624
|
-
__slots__: List[str] = ['_data_source_rid', '_channel', '_tags']
|
|
37662
|
+
__slots__: List[str] = ['_data_source_rid', '_channel', '_tags', '_tags_to_group_by']
|
|
37625
37663
|
|
|
37626
|
-
def __init__(self, channel: "scout_compute_api_StringConstant", data_source_rid: "scout_compute_api_StringConstant", tags: Dict[str, "scout_compute_api_StringConstant"]) -> None:
|
|
37664
|
+
def __init__(self, channel: "scout_compute_api_StringConstant", data_source_rid: "scout_compute_api_StringConstant", tags: Dict[str, "scout_compute_api_StringConstant"], tags_to_group_by: List[str]) -> None:
|
|
37627
37665
|
self._data_source_rid = data_source_rid
|
|
37628
37666
|
self._channel = channel
|
|
37629
37667
|
self._tags = tags
|
|
37668
|
+
self._tags_to_group_by = tags_to_group_by
|
|
37630
37669
|
|
|
37631
37670
|
@builtins.property
|
|
37632
37671
|
def data_source_rid(self) -> "scout_compute_api_StringConstant":
|
|
@@ -37644,6 +37683,14 @@ provided tag keys. For log series, include arg filters here in addition to tag f
|
|
|
37644
37683
|
"""
|
|
37645
37684
|
return self._tags
|
|
37646
37685
|
|
|
37686
|
+
@builtins.property
|
|
37687
|
+
def tags_to_group_by(self) -> List[str]:
|
|
37688
|
+
"""
|
|
37689
|
+
Tags that the channel should be grouped by. If this is non-empty a grouped result will be returned
|
|
37690
|
+
with an entry for each grouping.
|
|
37691
|
+
"""
|
|
37692
|
+
return self._tags_to_group_by
|
|
37693
|
+
|
|
37647
37694
|
|
|
37648
37695
|
scout_compute_api_DataSourceChannel.__name__ = "DataSourceChannel"
|
|
37649
37696
|
scout_compute_api_DataSourceChannel.__qualname__ = "DataSourceChannel"
|
|
@@ -39466,6 +39513,121 @@ scout_compute_api_GeoTimeBucket.__qualname__ = "GeoTimeBucket"
|
|
|
39466
39513
|
scout_compute_api_GeoTimeBucket.__module__ = "nominal_api.scout_compute_api"
|
|
39467
39514
|
|
|
39468
39515
|
|
|
39516
|
+
class scout_compute_api_GroupedComputeNodeResponse(ConjureBeanType):
|
|
39517
|
+
|
|
39518
|
+
@builtins.classmethod
|
|
39519
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
39520
|
+
return {
|
|
39521
|
+
'grouping': ConjureFieldDefinition('grouping', scout_compute_api_Grouping),
|
|
39522
|
+
'response': ConjureFieldDefinition('response', scout_compute_api_ComputeNodeResponse)
|
|
39523
|
+
}
|
|
39524
|
+
|
|
39525
|
+
__slots__: List[str] = ['_grouping', '_response']
|
|
39526
|
+
|
|
39527
|
+
def __init__(self, grouping: "scout_compute_api_Grouping", response: "scout_compute_api_ComputeNodeResponse") -> None:
|
|
39528
|
+
self._grouping = grouping
|
|
39529
|
+
self._response = response
|
|
39530
|
+
|
|
39531
|
+
@builtins.property
|
|
39532
|
+
def grouping(self) -> "scout_compute_api_Grouping":
|
|
39533
|
+
return self._grouping
|
|
39534
|
+
|
|
39535
|
+
@builtins.property
|
|
39536
|
+
def response(self) -> "scout_compute_api_ComputeNodeResponse":
|
|
39537
|
+
return self._response
|
|
39538
|
+
|
|
39539
|
+
|
|
39540
|
+
scout_compute_api_GroupedComputeNodeResponse.__name__ = "GroupedComputeNodeResponse"
|
|
39541
|
+
scout_compute_api_GroupedComputeNodeResponse.__qualname__ = "GroupedComputeNodeResponse"
|
|
39542
|
+
scout_compute_api_GroupedComputeNodeResponse.__module__ = "nominal_api.scout_compute_api"
|
|
39543
|
+
|
|
39544
|
+
|
|
39545
|
+
class scout_compute_api_GroupedComputeNodeResponses(ConjureBeanType):
|
|
39546
|
+
"""
|
|
39547
|
+
Contains a `ComputeNodeResponse` for each applicable grouping along with metadata describing the grouping.
|
|
39548
|
+
All the contained `ComputeNodeResponse`s are guaranteed to be of the same type.
|
|
39549
|
+
"""
|
|
39550
|
+
|
|
39551
|
+
@builtins.classmethod
|
|
39552
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
39553
|
+
return {
|
|
39554
|
+
'responses': ConjureFieldDefinition('responses', List[scout_compute_api_GroupedComputeNodeResponse])
|
|
39555
|
+
}
|
|
39556
|
+
|
|
39557
|
+
__slots__: List[str] = ['_responses']
|
|
39558
|
+
|
|
39559
|
+
def __init__(self, responses: List["scout_compute_api_GroupedComputeNodeResponse"]) -> None:
|
|
39560
|
+
self._responses = responses
|
|
39561
|
+
|
|
39562
|
+
@builtins.property
|
|
39563
|
+
def responses(self) -> List["scout_compute_api_GroupedComputeNodeResponse"]:
|
|
39564
|
+
return self._responses
|
|
39565
|
+
|
|
39566
|
+
|
|
39567
|
+
scout_compute_api_GroupedComputeNodeResponses.__name__ = "GroupedComputeNodeResponses"
|
|
39568
|
+
scout_compute_api_GroupedComputeNodeResponses.__qualname__ = "GroupedComputeNodeResponses"
|
|
39569
|
+
scout_compute_api_GroupedComputeNodeResponses.__module__ = "nominal_api.scout_compute_api"
|
|
39570
|
+
|
|
39571
|
+
|
|
39572
|
+
class scout_compute_api_Grouping(ConjureUnionType):
|
|
39573
|
+
_tags_with_values: Optional[Dict[str, str]] = None
|
|
39574
|
+
|
|
39575
|
+
@builtins.classmethod
|
|
39576
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
39577
|
+
return {
|
|
39578
|
+
'tags_with_values': ConjureFieldDefinition('tagsWithValues', Dict[str, str])
|
|
39579
|
+
}
|
|
39580
|
+
|
|
39581
|
+
def __init__(
|
|
39582
|
+
self,
|
|
39583
|
+
tags_with_values: Optional[Dict[str, str]] = None,
|
|
39584
|
+
type_of_union: Optional[str] = None
|
|
39585
|
+
) -> None:
|
|
39586
|
+
if type_of_union is None:
|
|
39587
|
+
if (tags_with_values is not None) != 1:
|
|
39588
|
+
raise ValueError('a union must contain a single member')
|
|
39589
|
+
|
|
39590
|
+
if tags_with_values is not None:
|
|
39591
|
+
self._tags_with_values = tags_with_values
|
|
39592
|
+
self._type = 'tagsWithValues'
|
|
39593
|
+
|
|
39594
|
+
elif type_of_union == 'tagsWithValues':
|
|
39595
|
+
if tags_with_values is None:
|
|
39596
|
+
raise ValueError('a union value must not be None')
|
|
39597
|
+
self._tags_with_values = tags_with_values
|
|
39598
|
+
self._type = 'tagsWithValues'
|
|
39599
|
+
|
|
39600
|
+
@builtins.property
|
|
39601
|
+
def tags_with_values(self) -> Optional[Dict[str, str]]:
|
|
39602
|
+
"""
|
|
39603
|
+
A grouping identified by a specific instantiation of tag keys and values.
|
|
39604
|
+
"""
|
|
39605
|
+
return self._tags_with_values
|
|
39606
|
+
|
|
39607
|
+
def accept(self, visitor) -> Any:
|
|
39608
|
+
if not isinstance(visitor, scout_compute_api_GroupingVisitor):
|
|
39609
|
+
raise ValueError('{} is not an instance of scout_compute_api_GroupingVisitor'.format(visitor.__class__.__name__))
|
|
39610
|
+
if self._type == 'tagsWithValues' and self.tags_with_values is not None:
|
|
39611
|
+
return visitor._tags_with_values(self.tags_with_values)
|
|
39612
|
+
|
|
39613
|
+
|
|
39614
|
+
scout_compute_api_Grouping.__name__ = "Grouping"
|
|
39615
|
+
scout_compute_api_Grouping.__qualname__ = "Grouping"
|
|
39616
|
+
scout_compute_api_Grouping.__module__ = "nominal_api.scout_compute_api"
|
|
39617
|
+
|
|
39618
|
+
|
|
39619
|
+
class scout_compute_api_GroupingVisitor:
|
|
39620
|
+
|
|
39621
|
+
@abstractmethod
|
|
39622
|
+
def _tags_with_values(self, tags_with_values: Dict[str, str]) -> Any:
|
|
39623
|
+
pass
|
|
39624
|
+
|
|
39625
|
+
|
|
39626
|
+
scout_compute_api_GroupingVisitor.__name__ = "GroupingVisitor"
|
|
39627
|
+
scout_compute_api_GroupingVisitor.__qualname__ = "GroupingVisitor"
|
|
39628
|
+
scout_compute_api_GroupingVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
39629
|
+
|
|
39630
|
+
|
|
39469
39631
|
class scout_compute_api_HighPassConfiguration(ConjureBeanType):
|
|
39470
39632
|
|
|
39471
39633
|
@builtins.classmethod
|
|
@@ -44296,16 +44458,18 @@ class scout_compute_api_RunChannel(ConjureBeanType):
|
|
|
44296
44458
|
'run_rid': ConjureFieldDefinition('runRid', scout_compute_api_StringConstant),
|
|
44297
44459
|
'data_scope_name': ConjureFieldDefinition('dataScopeName', scout_compute_api_StringConstant),
|
|
44298
44460
|
'channel': ConjureFieldDefinition('channel', scout_compute_api_StringConstant),
|
|
44299
|
-
'additional_tags': ConjureFieldDefinition('additionalTags', Dict[str, scout_compute_api_StringConstant])
|
|
44461
|
+
'additional_tags': ConjureFieldDefinition('additionalTags', Dict[str, scout_compute_api_StringConstant]),
|
|
44462
|
+
'tags_to_group_by': ConjureFieldDefinition('tagsToGroupBy', List[str])
|
|
44300
44463
|
}
|
|
44301
44464
|
|
|
44302
|
-
__slots__: List[str] = ['_run_rid', '_data_scope_name', '_channel', '_additional_tags']
|
|
44465
|
+
__slots__: List[str] = ['_run_rid', '_data_scope_name', '_channel', '_additional_tags', '_tags_to_group_by']
|
|
44303
44466
|
|
|
44304
|
-
def __init__(self, additional_tags: Dict[str, "scout_compute_api_StringConstant"], channel: "scout_compute_api_StringConstant", data_scope_name: "scout_compute_api_StringConstant", run_rid: "scout_compute_api_StringConstant") -> None:
|
|
44467
|
+
def __init__(self, additional_tags: Dict[str, "scout_compute_api_StringConstant"], channel: "scout_compute_api_StringConstant", data_scope_name: "scout_compute_api_StringConstant", run_rid: "scout_compute_api_StringConstant", tags_to_group_by: List[str]) -> None:
|
|
44305
44468
|
self._run_rid = run_rid
|
|
44306
44469
|
self._data_scope_name = data_scope_name
|
|
44307
44470
|
self._channel = channel
|
|
44308
44471
|
self._additional_tags = additional_tags
|
|
44472
|
+
self._tags_to_group_by = tags_to_group_by
|
|
44309
44473
|
|
|
44310
44474
|
@builtins.property
|
|
44311
44475
|
def run_rid(self) -> "scout_compute_api_StringConstant":
|
|
@@ -44331,6 +44495,14 @@ both sets of tag filters. For log series, include arg filters here in addition t
|
|
|
44331
44495
|
"""
|
|
44332
44496
|
return self._additional_tags
|
|
44333
44497
|
|
|
44498
|
+
@builtins.property
|
|
44499
|
+
def tags_to_group_by(self) -> List[str]:
|
|
44500
|
+
"""
|
|
44501
|
+
Tags that the channel should be grouped by. If this is non-empty a grouped result will be returned
|
|
44502
|
+
with an entry for each grouping.
|
|
44503
|
+
"""
|
|
44504
|
+
return self._tags_to_group_by
|
|
44505
|
+
|
|
44334
44506
|
|
|
44335
44507
|
scout_compute_api_RunChannel.__name__ = "RunChannel"
|
|
44336
44508
|
scout_compute_api_RunChannel.__qualname__ = "RunChannel"
|
|
@@ -49504,14 +49676,16 @@ class scout_compute_resolved_api_ClickHouseSeriesResolutionDetails(ConjureBeanTy
|
|
|
49504
49676
|
return {
|
|
49505
49677
|
'channel': ConjureFieldDefinition('channel', api_Channel),
|
|
49506
49678
|
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue]),
|
|
49679
|
+
'tags_to_group_by': ConjureFieldDefinition('tagsToGroupBy', List[api_TagName]),
|
|
49507
49680
|
'org_rid': ConjureFieldDefinition('orgRid', authentication_api_OrgRid)
|
|
49508
49681
|
}
|
|
49509
49682
|
|
|
49510
|
-
__slots__: List[str] = ['_channel', '_tags', '_org_rid']
|
|
49683
|
+
__slots__: List[str] = ['_channel', '_tags', '_tags_to_group_by', '_org_rid']
|
|
49511
49684
|
|
|
49512
|
-
def __init__(self, channel: str, org_rid: str, tags: Dict[str, str]) -> None:
|
|
49685
|
+
def __init__(self, channel: str, org_rid: str, tags: Dict[str, str], tags_to_group_by: List[str]) -> None:
|
|
49513
49686
|
self._channel = channel
|
|
49514
49687
|
self._tags = tags
|
|
49688
|
+
self._tags_to_group_by = tags_to_group_by
|
|
49515
49689
|
self._org_rid = org_rid
|
|
49516
49690
|
|
|
49517
49691
|
@builtins.property
|
|
@@ -49522,6 +49696,10 @@ class scout_compute_resolved_api_ClickHouseSeriesResolutionDetails(ConjureBeanTy
|
|
|
49522
49696
|
def tags(self) -> Dict[str, str]:
|
|
49523
49697
|
return self._tags
|
|
49524
49698
|
|
|
49699
|
+
@builtins.property
|
|
49700
|
+
def tags_to_group_by(self) -> List[str]:
|
|
49701
|
+
return self._tags_to_group_by
|
|
49702
|
+
|
|
49525
49703
|
@builtins.property
|
|
49526
49704
|
def org_rid(self) -> str:
|
|
49527
49705
|
return self._org_rid
|
|
@@ -80037,14 +80215,16 @@ class timeseries_logicalseries_api_NominalLocator(ConjureBeanType):
|
|
|
80037
80215
|
return {
|
|
80038
80216
|
'channel': ConjureFieldDefinition('channel', api_Channel),
|
|
80039
80217
|
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue]),
|
|
80218
|
+
'tags_to_group_by': ConjureFieldDefinition('tagsToGroupBy', List[api_TagName]),
|
|
80040
80219
|
'type': ConjureFieldDefinition('type', storage_series_api_NominalDataType)
|
|
80041
80220
|
}
|
|
80042
80221
|
|
|
80043
|
-
__slots__: List[str] = ['_channel', '_tags', '_type']
|
|
80222
|
+
__slots__: List[str] = ['_channel', '_tags', '_tags_to_group_by', '_type']
|
|
80044
80223
|
|
|
80045
|
-
def __init__(self, channel: str, tags: Dict[str, str], type: "storage_series_api_NominalDataType") -> None:
|
|
80224
|
+
def __init__(self, channel: str, tags: Dict[str, str], tags_to_group_by: List[str], type: "storage_series_api_NominalDataType") -> None:
|
|
80046
80225
|
self._channel = channel
|
|
80047
80226
|
self._tags = tags
|
|
80227
|
+
self._tags_to_group_by = tags_to_group_by
|
|
80048
80228
|
self._type = type
|
|
80049
80229
|
|
|
80050
80230
|
@builtins.property
|
|
@@ -80055,6 +80235,10 @@ class timeseries_logicalseries_api_NominalLocator(ConjureBeanType):
|
|
|
80055
80235
|
def tags(self) -> Dict[str, str]:
|
|
80056
80236
|
return self._tags
|
|
80057
80237
|
|
|
80238
|
+
@builtins.property
|
|
80239
|
+
def tags_to_group_by(self) -> List[str]:
|
|
80240
|
+
return self._tags_to_group_by
|
|
80241
|
+
|
|
80058
80242
|
@builtins.property
|
|
80059
80243
|
def type(self) -> "storage_series_api_NominalDataType":
|
|
80060
80244
|
return self._type
|
|
@@ -80101,15 +80285,17 @@ class timeseries_logicalseries_api_ResolveSeriesRequest(ConjureBeanType):
|
|
|
80101
80285
|
return {
|
|
80102
80286
|
'name': ConjureFieldDefinition('name', api_Channel),
|
|
80103
80287
|
'datasource': ConjureFieldDefinition('datasource', api_rids_DataSourceRid),
|
|
80104
|
-
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue])
|
|
80288
|
+
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue]),
|
|
80289
|
+
'tags_to_group_by': ConjureFieldDefinition('tagsToGroupBy', List[api_TagName])
|
|
80105
80290
|
}
|
|
80106
80291
|
|
|
80107
|
-
__slots__: List[str] = ['_name', '_datasource', '_tags']
|
|
80292
|
+
__slots__: List[str] = ['_name', '_datasource', '_tags', '_tags_to_group_by']
|
|
80108
80293
|
|
|
80109
|
-
def __init__(self, datasource: str, name: str, tags: Dict[str, str]) -> None:
|
|
80294
|
+
def __init__(self, datasource: str, name: str, tags: Dict[str, str], tags_to_group_by: List[str]) -> None:
|
|
80110
80295
|
self._name = name
|
|
80111
80296
|
self._datasource = datasource
|
|
80112
80297
|
self._tags = tags
|
|
80298
|
+
self._tags_to_group_by = tags_to_group_by
|
|
80113
80299
|
|
|
80114
80300
|
@builtins.property
|
|
80115
80301
|
def name(self) -> str:
|
|
@@ -80123,6 +80309,10 @@ class timeseries_logicalseries_api_ResolveSeriesRequest(ConjureBeanType):
|
|
|
80123
80309
|
def tags(self) -> Dict[str, str]:
|
|
80124
80310
|
return self._tags
|
|
80125
80311
|
|
|
80312
|
+
@builtins.property
|
|
80313
|
+
def tags_to_group_by(self) -> List[str]:
|
|
80314
|
+
return self._tags_to_group_by
|
|
80315
|
+
|
|
80126
80316
|
|
|
80127
80317
|
timeseries_logicalseries_api_ResolveSeriesRequest.__name__ = "ResolveSeriesRequest"
|
|
80128
80318
|
timeseries_logicalseries_api_ResolveSeriesRequest.__qualname__ = "ResolveSeriesRequest"
|
|
@@ -81676,8 +81866,6 @@ persistent_compute_api_Milliseconds = int
|
|
|
81676
81866
|
|
|
81677
81867
|
scout_compute_api_ErrorType = str
|
|
81678
81868
|
|
|
81679
|
-
comments_api_ResourceRid = str
|
|
81680
|
-
|
|
81681
81869
|
scout_rids_api_FunctionLineageRid = str
|
|
81682
81870
|
|
|
81683
81871
|
timeseries_logicalseries_api_DatabaseName = str
|
|
@@ -81738,6 +81926,8 @@ api_McapChannelId = int
|
|
|
81738
81926
|
|
|
81739
81927
|
scout_rids_api_CheckRid = str
|
|
81740
81928
|
|
|
81929
|
+
scout_rids_api_AssetRefName = str
|
|
81930
|
+
|
|
81741
81931
|
api_Token = str
|
|
81742
81932
|
|
|
81743
81933
|
timeseries_logicalseries_api_ProjectName = str
|
|
@@ -133,6 +133,10 @@ from .._impl import (
|
|
|
133
133
|
scout_compute_api_GeoSummaryStrategyVisitor as GeoSummaryStrategyVisitor,
|
|
134
134
|
scout_compute_api_GeoTemporalSummary as GeoTemporalSummary,
|
|
135
135
|
scout_compute_api_GeoTimeBucket as GeoTimeBucket,
|
|
136
|
+
scout_compute_api_GroupedComputeNodeResponse as GroupedComputeNodeResponse,
|
|
137
|
+
scout_compute_api_GroupedComputeNodeResponses as GroupedComputeNodeResponses,
|
|
138
|
+
scout_compute_api_Grouping as Grouping,
|
|
139
|
+
scout_compute_api_GroupingVisitor as GroupingVisitor,
|
|
136
140
|
scout_compute_api_HighPassConfiguration as HighPassConfiguration,
|
|
137
141
|
scout_compute_api_Histogram as Histogram,
|
|
138
142
|
scout_compute_api_HistogramChannelCount as HistogramChannelCount,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=OLwyf36G4wjHZvMsaiRUJSxHRx9exMts7-bPkinq6to,1955
|
|
2
|
+
nominal_api/_impl.py,sha256=uvwozx2U6xc_gIDPYenyyx1MZVNlsOWgigMJxWLDQRQ,3173049
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=1oJPOuAMfV2uClPUW8Ie1nj2Y6j81TDpedcc3yUFTe0,1294
|
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=CAtt44XgNZEEUDv-BbEbYtuxQ8y1wqSZU-STjBYdZv8,80
|
|
@@ -7,7 +7,7 @@ nominal_api/api_rids/__init__.py,sha256=8A7KLHxUyUzrx9Gss8zB2i08qf2QjtJgaMvcLfk-
|
|
|
7
7
|
nominal_api/attachments_api/__init__.py,sha256=eQBE8xVTFDaTItCZv-WJSZqSStpgdai192n23pmVeeQ,634
|
|
8
8
|
nominal_api/authentication_api/__init__.py,sha256=HBQrldagoqcvYES_kjB1Eh8oZTZ8SJdX85UZySJB9z0,986
|
|
9
9
|
nominal_api/authorization/__init__.py,sha256=WeUTCL9MLsd78_ZWvY-8j5RI3lyhbPI3eC6gyTfLIS4,1068
|
|
10
|
-
nominal_api/comments_api/__init__.py,sha256=
|
|
10
|
+
nominal_api/comments_api/__init__.py,sha256=tidEBYoVAZXfKGd4Au3aMjUKErewt2uNm0in77LpqLQ,815
|
|
11
11
|
nominal_api/connect_download/__init__.py,sha256=kYpjIjuFHA3uix70bJ5gV9-7BmDcJZAcm_e3MeMVSSQ,83
|
|
12
12
|
nominal_api/datasource/__init__.py,sha256=C2lvxiWYnZRjaMKL2sY9_bfgZezBpK39A3VtgSASgRI,134
|
|
13
13
|
nominal_api/datasource_api/__init__.py,sha256=-0v4FGK22kyCALrJ-LRcwJ-QHDUnFCBqj_LkpEt_rgs,2163
|
|
@@ -30,7 +30,7 @@ nominal_api/scout_checklistexecution_api/__init__.py,sha256=1_nOnCSWn7bniSvTfskQ
|
|
|
30
30
|
nominal_api/scout_checks_api/__init__.py,sha256=cNCQHBX38YqQv2qJMXwqUhjpCbayA3R9FqMmtKwzA3U,5160
|
|
31
31
|
nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=8BL5jE9NDxqCj9DyvZWSPhq6zw2J7xp6aLsl3x9rpyw,4530
|
|
32
32
|
nominal_api/scout_comparisonrun_api/__init__.py,sha256=1LCXQe64tDqqeMQixW8PI-R_edSz7F5X0x2_ufEuC8M,480
|
|
33
|
-
nominal_api/scout_compute_api/__init__.py,sha256=
|
|
33
|
+
nominal_api/scout_compute_api/__init__.py,sha256=hqFzmHW1b58r3otIul1aUb_Qr0mL4QzO0Jq-GA9A9qU,19868
|
|
34
34
|
nominal_api/scout_compute_api_deprecated/__init__.py,sha256=RggSfc6C1VR1-kNXPWybpfw3hZbkQ1gvxEisFZCHdnM,3732
|
|
35
35
|
nominal_api/scout_compute_resolved_api/__init__.py,sha256=LJFZQR1u_EQbZLzLGWMQVS8sEsKsFSmsITrlYGI5JsA,10801
|
|
36
36
|
nominal_api/scout_dataexport_api/__init__.py,sha256=pWRQdQJOObD0jITRYLw3AxeDJSrJQqAdFZACxULqA4o,1487
|
|
@@ -48,7 +48,7 @@ nominal_api/scout_layout_api/__init__.py,sha256=mKszV44ni9VODK9jFyY3O9YOV9DYltKJ
|
|
|
48
48
|
nominal_api/scout_metadata/__init__.py,sha256=GIhWKJL2XSMB0iGaKfcGgmPHuvGWWmkK4lXSa1YsB44,332
|
|
49
49
|
nominal_api/scout_notebook_api/__init__.py,sha256=TW4_Y2DbakA13v3q_vmRSN8gaS8g0UYRREVKruujJc0,1299
|
|
50
50
|
nominal_api/scout_plotting/__init__.py,sha256=m6u3y7R70mo3ugaCp_-fwlS8_tDwrsq1l5ElOTY0TBc,91
|
|
51
|
-
nominal_api/scout_rids_api/__init__.py,sha256
|
|
51
|
+
nominal_api/scout_rids_api/__init__.py,sha256=-R3CY5jAqHRIuNHy96D6CpjZo9Jb1Zhr9lacCFTBtHM,1237
|
|
52
52
|
nominal_api/scout_run_api/__init__.py,sha256=WvKLFyNGRx8nXDo4kw5yopEvmRREinIT-jhjo5_pY-w,2734
|
|
53
53
|
nominal_api/scout_template_api/__init__.py,sha256=twrd03oixkoGnRn_xpXywTcdq2tvMD1PLxSrMPdwz9c,1106
|
|
54
54
|
nominal_api/scout_units_api/__init__.py,sha256=KxRDScfumX__0ncWJftGvgApn_LBTfnIBAvnaBrcA5A,368
|
|
@@ -72,7 +72,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=Q9iZHurmyDsJIFbUg-Eb
|
|
|
72
72
|
nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
|
|
73
73
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=U9EhlqdF9qzD1O9al0vcvcdgS_C5lq-lN3Kmr0K3g84,1191
|
|
74
74
|
nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
|
|
75
|
-
nominal_api-0.
|
|
76
|
-
nominal_api-0.
|
|
77
|
-
nominal_api-0.
|
|
78
|
-
nominal_api-0.
|
|
75
|
+
nominal_api-0.686.0.dist-info/METADATA,sha256=mfGDyL7Nv9xpjQNEDzTYMM9ZpdDMP257fhGuJJP--DA,199
|
|
76
|
+
nominal_api-0.686.0.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
|
77
|
+
nominal_api-0.686.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
78
|
+
nominal_api-0.686.0.dist-info/RECORD,,
|
|
File without changes
|