jumpserver/apps/assets/task_handlers/endpoint.py

11 lines
249 B
Python

from .backup.manager import AccountBackupExecutionManager
class ExecutionManager:
manager_type = {
'backup': AccountBackupExecutionManager
}
def __new__(cls, execution):
return AccountBackupExecutionManager(execution)