@@ -191,10 +191,10 @@ async def snapshot_get(self, uniqueId):
191191
192192 async def snapshot_add (self , parentNodeId , * , snapshotNode , snapshotData , auth = None ):
193193 # Reusing docstrings from the threaded version
194- method , url , params = self ._prepare_snapshot_add (
194+ method , url , url_params , params = self ._prepare_snapshot_add (
195195 parentNodeId = parentNodeId , snapshotNode = snapshotNode , snapshotData = snapshotData
196196 )
197- return await self .send_request (method , url , params = params , auth = auth )
197+ return await self .send_request (method , url , params = params , url_params = url_params , auth = auth )
198198
199199 async def snapshot_update (self , * , snapshotNode , snapshotData , auth = None ):
200200 # Reusing docstrings from the threaded version
@@ -206,6 +206,49 @@ async def snapshots_get(self):
206206 method , url = self ._prepare_snapshots_get ()
207207 return await self .send_request (method , url )
208208
209+ # =============================================================================================
210+ # COMPOSITE-SNAPSHOT-CONTROLLER API METHODS
211+ # =============================================================================================
212+
213+ async def composite_snapshot_get (self , uniqueId ):
214+ # Reusing docstrings from the threaded version
215+ method , url = self ._prepare_composite_snapshot_get (uniqueId = uniqueId )
216+ return await self .send_request (method , url )
217+
218+ async def composite_snapshot_get_nodes (self , uniqueId ):
219+ # Reusing docstrings from the threaded version
220+ method , url = self ._prepare_composite_snapshot_get_nodes (uniqueId = uniqueId )
221+ return await self .send_request (method , url )
222+
223+ async def composite_snapshot_get_items (self , uniqueId ):
224+ # Reusing docstrings from the threaded version
225+ method , url = self ._prepare_composite_snapshot_get_items (uniqueId = uniqueId )
226+ return await self .send_request (method , url )
227+
228+ async def composite_snapshot_add (
229+ self , parentNodeId , * , compositeSnapshotNode , compositeSnapshotData , auth = None
230+ ):
231+ # Reusing docstrings from the threaded version
232+ method , url , url_params , params = self ._prepare_composite_snapshot_add (
233+ parentNodeId = parentNodeId ,
234+ compositeSnapshotNode = compositeSnapshotNode ,
235+ compositeSnapshotData = compositeSnapshotData ,
236+ )
237+ return await self .send_request (method , url , url_params = url_params , params = params , auth = auth )
238+
239+ async def composite_snapshot_update (self , * , compositeSnapshotNode , compositeSnapshotData , auth = None ):
240+ # Reusing docstrings from the threaded version
241+ method , url , params = self ._prepare_composite_snapshot_update (
242+ compositeSnapshotNode = compositeSnapshotNode ,
243+ compositeSnapshotData = compositeSnapshotData ,
244+ )
245+ return await self .send_request (method , url , params = params , auth = auth )
246+
247+ async def composite_snapshot_consistency_check (self , uniqueNodeIds , * , auth = None ):
248+ # Reusing docstrings from the threaded version
249+ method , url , params = self ._prepare_composite_snapshot_consistency_check (uniqueNodeIds = uniqueNodeIds )
250+ return await self .send_request (method , url , params = params , auth = auth )
251+
209252 # =============================================================================================
210253 # SNAPSHOT-RESTORE-CONTROLLER API METHODS
211254 # =============================================================================================
@@ -302,6 +345,16 @@ async def structure_path_nodes(self, path):
302345SaveRestoreAPI .snapshot_add .__doc__ = _SaveRestoreAPI_Threads .snapshot_add .__doc__
303346SaveRestoreAPI .snapshot_update .__doc__ = _SaveRestoreAPI_Threads .snapshot_update .__doc__
304347SaveRestoreAPI .snapshots_get .__doc__ = _SaveRestoreAPI_Threads .snapshots_get .__doc__
348+
349+ SaveRestoreAPI .composite_snapshot_get .__doc__ = _SaveRestoreAPI_Threads .composite_snapshot_get .__doc__
350+ SaveRestoreAPI .composite_snapshot_get_nodes .__doc__ = _SaveRestoreAPI_Threads .composite_snapshot_get_nodes .__doc__
351+ SaveRestoreAPI .composite_snapshot_get_items .__doc__ = _SaveRestoreAPI_Threads .composite_snapshot_get_items .__doc__
352+ SaveRestoreAPI .composite_snapshot_add .__doc__ = _SaveRestoreAPI_Threads .composite_snapshot_add .__doc__
353+ SaveRestoreAPI .composite_snapshot_update .__doc__ = _SaveRestoreAPI_Threads .composite_snapshot_update .__doc__
354+ SaveRestoreAPI .composite_snapshot_consistency_check .__doc__ = (
355+ _SaveRestoreAPI_Threads .composite_snapshot_consistency_check .__doc__
356+ )
357+
305358SaveRestoreAPI .restore_node .__doc__ = _SaveRestoreAPI_Threads .restore_node .__doc__
306359SaveRestoreAPI .restore_items .__doc__ = _SaveRestoreAPI_Threads .restore_items .__doc__
307360SaveRestoreAPI .compare .__doc__ = _SaveRestoreAPI_Threads .compare .__doc__
0 commit comments