From 62cd939e7b83fa0500d1b6bc51b9e4f48809e057 Mon Sep 17 00:00:00 2001 From: 1yam Date: Mon, 13 Jan 2025 17:51:51 +0100 Subject: [PATCH] Fix: isort issue --- src/aleph/handlers/message_handler.py | 2 +- src/aleph/jobs/process_pending_messages.py | 2 +- src/aleph/jobs/process_pending_txs.py | 2 +- src/aleph/types/message_processing_result.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/aleph/handlers/message_handler.py b/src/aleph/handlers/message_handler.py index 8fa54f79..f03e95b0 100644 --- a/src/aleph/handlers/message_handler.py +++ b/src/aleph/handlers/message_handler.py @@ -43,8 +43,8 @@ InvalidMessageFormat, InvalidSignature, MessageContentUnavailable, - MessageStatus, MessageOrigin, + MessageStatus, ) LOGGER = logging.getLogger(__name__) diff --git a/src/aleph/jobs/process_pending_messages.py b/src/aleph/jobs/process_pending_messages.py index 418469ec..08bb9939 100644 --- a/src/aleph/jobs/process_pending_messages.py +++ b/src/aleph/jobs/process_pending_messages.py @@ -25,8 +25,8 @@ from aleph.types.db_session import DbSessionFactory from aleph.types.message_processing_result import MessageProcessingResult -from .job_utils import MessageJob, prepare_loop from ..types.message_status import MessageOrigin +from .job_utils import MessageJob, prepare_loop LOGGER = getLogger(__name__) diff --git a/src/aleph/jobs/process_pending_txs.py b/src/aleph/jobs/process_pending_txs.py index 6d6df578..3c4d3e77 100644 --- a/src/aleph/jobs/process_pending_txs.py +++ b/src/aleph/jobs/process_pending_txs.py @@ -26,8 +26,8 @@ from aleph.types.chain_sync import ChainSyncProtocol from aleph.types.db_session import DbSessionFactory -from .job_utils import MqWatcher, make_pending_tx_queue, prepare_loop from ..types.message_status import MessageOrigin +from .job_utils import MqWatcher, make_pending_tx_queue, prepare_loop LOGGER = logging.getLogger(__name__) diff --git a/src/aleph/types/message_processing_result.py b/src/aleph/types/message_processing_result.py index e654b784..ff437b76 100644 --- a/src/aleph/types/message_processing_result.py +++ b/src/aleph/types/message_processing_result.py @@ -1,8 +1,8 @@ -from typing import Any, Dict, Protocol, Optional +from typing import Any, Dict, Optional, Protocol from aleph.db.models import MessageDb, PendingMessageDb from aleph.schemas.api.messages import format_message -from aleph.types.message_status import ErrorCode, MessageProcessingStatus, MessageOrigin +from aleph.types.message_status import ErrorCode, MessageOrigin, MessageProcessingStatus class MessageProcessingResult(Protocol):