Common: Export IEventQueue from common.event_queue

This commit is contained in:
Mike Salvatore 2022-08-10 12:45:37 -04:00
parent 2bbe56035d
commit 4243f9f3ea
4 changed files with 4 additions and 5 deletions

View File

@ -1 +1,2 @@
from .types import EventSubscriber from .types import EventSubscriber
from .i_event_queue import IEventQueue

View File

@ -4,8 +4,7 @@ from pubsub.core import Publisher
from common.events import AbstractEvent from common.events import AbstractEvent
from . import EventSubscriber from . import EventSubscriber, IEventQueue
from .i_event_queue import IEventQueue
_ALL_EVENTS_TOPIC = "all_events_topic" _ALL_EVENTS_TOPIC = "all_events_topic"

View File

@ -14,7 +14,7 @@ from common.agent_configuration import (
) )
from common.aws import AWSInstance from common.aws import AWSInstance
from common.common_consts.telem_categories import TelemCategoryEnum from common.common_consts.telem_categories import TelemCategoryEnum
from common.event_queue.i_event_queue import IEventQueue from common.event_queue import IEventQueue
from common.event_queue.pypubsub_event_queue import PyPubSubEventQueue from common.event_queue.pypubsub_event_queue import PyPubSubEventQueue
from common.utils.file_utils import get_binary_io_sha256_hash from common.utils.file_utils import get_binary_io_sha256_hash
from common.version import get_version from common.version import get_version

View File

@ -6,8 +6,7 @@ from uuid import UUID
import pytest import pytest
from pubsub.core import Publisher from pubsub.core import Publisher
from common.event_queue import EventSubscriber from common.event_queue import EventSubscriber, IEventQueue
from common.event_queue.i_event_queue import IEventQueue
from common.event_queue.pypubsub_event_queue import PyPubSubEventQueue from common.event_queue.pypubsub_event_queue import PyPubSubEventQueue
from common.events import AbstractEvent from common.events import AbstractEvent