jumpserver/apps/assets/task_handlers/endpoint.py

11 lines
249 B
Python
Raw Normal View History

2022-01-10 11:02:18 +00:00
from .backup.manager import AccountBackupExecutionManager
class ExecutionManager:
manager_type = {
'backup': AccountBackupExecutionManager
}
def __new__(cls, execution):
return AccountBackupExecutionManager(execution)