Island: Fix import common.event_serializers -> common.agent_event_serializers

This commit is contained in:
Shreya Malviya 2022-09-16 12:54:37 +05:30 committed by Mike Salvatore
parent 922db9c583
commit 91b973cfe3
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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__)

View File

@ -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,
)