Common: Rename common/events/ -> common/agent_events/
This commit is contained in:
parent
e2fed84985
commit
b5736fdd3e
|
@ -1,7 +1,7 @@
|
|||
from typing import Type, Union
|
||||
|
||||
from common.agent_event_serializers import IAgentEventSerializer
|
||||
from common.events import AbstractAgentEvent
|
||||
from common.agent_events import AbstractAgentEvent
|
||||
|
||||
|
||||
class AgentEventSerializerRegistry:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from abc import ABC, abstractmethod
|
||||
from typing import Dict, List, Union
|
||||
|
||||
from common.events import AbstractAgentEvent
|
||||
from common.agent_events import AbstractAgentEvent
|
||||
|
||||
JSONSerializable = Union[ # type: ignore[misc]
|
||||
Dict[str, "JSONSerializable"], # type: ignore[misc]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import logging
|
||||
from typing import Generic, Type, TypeVar
|
||||
|
||||
from common.events import AbstractAgentEvent
|
||||
from common.agent_events import AbstractAgentEvent
|
||||
from common.utils.code_utils import del_key
|
||||
|
||||
from . import EVENT_TYPE_FIELD, IAgentEventSerializer, JSONSerializable
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from common.events import CredentialsStolenEvent
|
||||
from common.agent_events import CredentialsStolenEvent
|
||||
|
||||
from . import AgentEventSerializerRegistry, PydanticAgentEventSerializer
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from abc import ABC, abstractmethod
|
||||
from typing import Type
|
||||
|
||||
from common.events import AbstractAgentEvent
|
||||
from common.agent_events import AbstractAgentEvent
|
||||
|
||||
from . import AgentEventSubscriber
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@ from typing import Type
|
|||
|
||||
from pubsub.core import Publisher
|
||||
|
||||
from common.agent_events import AbstractAgentEvent
|
||||
from common.event_queue import PyPubSubPublisherWrapper
|
||||
from common.events import AbstractAgentEvent
|
||||
|
||||
from . import AgentEventSubscriber, IAgentEventQueue
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from typing import Callable
|
||||
|
||||
from common.events import AbstractAgentEvent
|
||||
from common.agent_events import AbstractAgentEvent
|
||||
|
||||
AgentEventSubscriber = Callable[[AbstractAgentEvent], None]
|
||||
|
|
Loading…
Reference in New Issue