resource_update use resource_add

This commit is contained in:
Xuwznln
2025-09-18 03:47:26 +08:00
parent 50c7777cea
commit 09549d2839
4 changed files with 119 additions and 148 deletions

View File

@@ -131,6 +131,7 @@ class HTTPClient:
Returns:
Response: API响应对象
"""
return self.resource_add(resources)
response = requests.patch(
f"{self.remote_addr}/lab/resource/batch_update/?edge_format=1",
json=resources,