forked from p15670423/monkey
Island: Fix import common.event_serializers -> common.agent_event_serializers
This commit is contained in:
parent
922db9c583
commit
91b973cfe3
|
@ -2,7 +2,7 @@ from typing import Any, Dict, MutableMapping, Sequence, Type
|
|||
|
||||
from pymongo import MongoClient
|
||||
|
||||
from common.event_serializers import EVENT_TYPE_FIELD, AgentEventSerializerRegistry
|
||||
from common.agent_event_serializers import EVENT_TYPE_FIELD, AgentEventSerializerRegistry
|
||||
from common.events import AbstractAgentEvent
|
||||
from common.types import AgentID
|
||||
from monkey_island.cc.repository import IEventRepository
|
||||
|
|
|
@ -3,8 +3,8 @@ from http import HTTPStatus
|
|||
|
||||
from flask import request
|
||||
|
||||
from common.agent_event_serializers import EVENT_TYPE_FIELD, AgentEventSerializerRegistry
|
||||
from common.event_queue import IAgentEventQueue
|
||||
from common.event_serializers import EVENT_TYPE_FIELD, AgentEventSerializerRegistry
|
||||
from monkey_island.cc.resources.AbstractResource import AbstractResource
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
|
@ -23,7 +23,7 @@ if str(MONKEY_ISLAND_DIR_BASE_PATH) not in sys.path:
|
|||
sys.path.insert(0, MONKEY_ISLAND_DIR_BASE_PATH)
|
||||
|
||||
from common import DIContainer # noqa: E402
|
||||
from common.event_serializers import ( # noqa: E402
|
||||
from common.agent_event_serializers import ( # noqa: E402
|
||||
AgentEventSerializerRegistry,
|
||||
register_common_agent_event_serializers,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue