nominal-api 0.905.0__py3-none-any.whl → 0.906.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 +13 -4
- {nominal_api-0.905.0.dist-info → nominal_api-0.906.0.dist-info}/METADATA +1 -1
- {nominal_api-0.905.0.dist-info → nominal_api-0.906.0.dist-info}/RECORD +6 -6
- {nominal_api-0.905.0.dist-info → nominal_api-0.906.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.905.0.dist-info → nominal_api-0.906.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
@@ -89126,15 +89126,17 @@ class storage_deletion_api_DeleteDataRequest(ConjureBeanType):
|
|
89126
89126
|
return {
|
89127
89127
|
'data_source_rid': ConjureFieldDefinition('dataSourceRid', api_rids_NominalDataSourceOrDatasetRid),
|
89128
89128
|
'time_range': ConjureFieldDefinition('timeRange', OptionalTypeWrapper[storage_deletion_api_TimeRange]),
|
89129
|
-
'tags': ConjureFieldDefinition('tags', OptionalTypeWrapper[Dict[api_TagName, api_TagValue]])
|
89129
|
+
'tags': ConjureFieldDefinition('tags', OptionalTypeWrapper[Dict[api_TagName, api_TagValue]]),
|
89130
|
+
'channel_names': ConjureFieldDefinition('channelNames', OptionalTypeWrapper[List[str]])
|
89130
89131
|
}
|
89131
89132
|
|
89132
|
-
__slots__: List[str] = ['_data_source_rid', '_time_range', '_tags']
|
89133
|
+
__slots__: List[str] = ['_data_source_rid', '_time_range', '_tags', '_channel_names']
|
89133
89134
|
|
89134
|
-
def __init__(self, data_source_rid: str, tags: Optional[Dict[str, str]] = None, time_range: Optional["storage_deletion_api_TimeRange"] = None) -> None:
|
89135
|
+
def __init__(self, data_source_rid: str, channel_names: Optional[List[str]] = None, tags: Optional[Dict[str, str]] = None, time_range: Optional["storage_deletion_api_TimeRange"] = None) -> None:
|
89135
89136
|
self._data_source_rid = data_source_rid
|
89136
89137
|
self._time_range = time_range
|
89137
89138
|
self._tags = tags
|
89139
|
+
self._channel_names = channel_names
|
89138
89140
|
|
89139
89141
|
@builtins.property
|
89140
89142
|
def data_source_rid(self) -> str:
|
@@ -89154,6 +89156,13 @@ If not specified, will delete data across all tags.
|
|
89154
89156
|
"""
|
89155
89157
|
return self._tags
|
89156
89158
|
|
89159
|
+
@builtins.property
|
89160
|
+
def channel_names(self) -> Optional[List[str]]:
|
89161
|
+
"""If specified, will only delete data that has an exact channel name match with the given names.
|
89162
|
+
If not specified, will delete data across all channels.
|
89163
|
+
"""
|
89164
|
+
return self._channel_names
|
89165
|
+
|
89157
89166
|
|
89158
89167
|
storage_deletion_api_DeleteDataRequest.__name__ = "DeleteDataRequest"
|
89159
89168
|
storage_deletion_api_DeleteDataRequest.__qualname__ = "DeleteDataRequest"
|
@@ -89166,7 +89175,7 @@ class storage_deletion_api_InternalNominalStorageDataDeletionService(Service):
|
|
89166
89175
|
|
89167
89176
|
def delete(self, auth_header: str, request: "storage_deletion_api_DeleteDataRequest") -> None:
|
89168
89177
|
"""Deletes stored data. This is an irreversible operation so be careful about specified
|
89169
|
-
time range and tag scope.
|
89178
|
+
time range, channel names, and tag scope.
|
89170
89179
|
"""
|
89171
89180
|
_conjure_encoder = ConjureEncoder()
|
89172
89181
|
|
@@ -1,5 +1,5 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
1
|
+
nominal_api/__init__.py,sha256=UK1c1nMPu5VKTuDkSWHIIgB0vNIqTTEGS3mooZnfrt0,2088
|
2
|
+
nominal_api/_impl.py,sha256=UptL0vtHrQWGuPaJxMN9MXKBnTt0qIETIddqXanaMPs,3779172
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
4
4
|
nominal_api/api/__init__.py,sha256=GqRLE9wwPPQgALVHFJViG8E4JJ2t3yfHedeXRLu1L70,2226
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
@@ -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.906.0.dist-info/METADATA,sha256=YdDsiUZR893vaOnURzEVPrFVLWJtqeSqfTa4K0lIB4I,199
|
82
|
+
nominal_api-0.906.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
83
|
+
nominal_api-0.906.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
84
|
+
nominal_api-0.906.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|