feat: transType API

- 针对查询可用整理方式的API
This commit is contained in:
Aqr-K
2024-09-26 20:56:33 +08:00
parent ddfcdf9ce2
commit 35c68fe30d
4 changed files with 38 additions and 0 deletions

View File

@@ -85,3 +85,9 @@ class StorageChain(ChainBase):
存储使用情况
"""
return self.run_module("storage_usage", storage=storage)
def support_transtype(self, storage: str) -> Optional[str]:
"""
获取支持的整理方式
"""
return self.run_module("support_transtype", storage=storage)