Skip to content

Commit

Permalink
Fix: isort issue
Browse files Browse the repository at this point in the history
  • Loading branch information
1yam committed Jan 13, 2025
1 parent 0089382 commit 62cd939
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/aleph/handlers/message_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
InvalidMessageFormat,
InvalidSignature,
MessageContentUnavailable,
MessageStatus,
MessageOrigin,
MessageStatus,
)

LOGGER = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion src/aleph/jobs/process_pending_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down
2 changes: 1 addition & 1 deletion src/aleph/jobs/process_pending_txs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down
4 changes: 2 additions & 2 deletions src/aleph/types/message_processing_result.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down

0 comments on commit 62cd939

Please sign in to comment.