storage_mgr/wwwroot/api/storage_umount_exec.dspy

6 lines
388 B
Plaintext

ns = params_kw.copy()
if not ns.get('id'):
return {'widgettype':'Error','options':{'title':'Error','message':'Missing parameter','cwidth':16,'cheight':9,'timeout':3}}
async with DBPools().sqlorContext(get_module_dbname('storage_mgr')) as sor:
return {'widgettype':'Message','options':{'cwidth':16,'cheight':9,'title':'Info','timeout':3,'message':'Operation not yet implemented'}}