mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-07-13 03:38:59 +00:00
11 lines
299 B
Python
11 lines
299 B
Python
from importlib import import_module
|
|
from django.conf import settings
|
|
from .command.serializers import SessionCommandSerializer
|
|
|
|
|
|
def get_command_store():
|
|
command_engine = import_module(settings.COMMAND_STORAGE_BACKEND)
|
|
command_store = command_engine.CommandStore()
|
|
return command_store
|
|
|