From 150b468e820dc11455872341c23c4b9fd2c4eee8 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 8 Mar 2023 19:18:45 +0200 Subject: [PATCH] isort --- moonworm/crawler/networks.py | 4 ++-- moonworm/crawler/state/moonstream_event_state.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/moonworm/crawler/networks.py b/moonworm/crawler/networks.py index cf1d69c..0c85ebd 100644 --- a/moonworm/crawler/networks.py +++ b/moonworm/crawler/networks.py @@ -2,10 +2,10 @@ from typing import Dict try: from moonstreamdb.db import yield_db_session_ctx - from moonstreamdb.models import ( + from moonstreamdb.models import ( # state/moonstream_event_state dependency maybe removed in the future EthereumBlock, EthereumLabel, - ) # state/moonstream_event_state dependency maybe removed in the future + ) from moonstreamdb.networks import MODELS, Network, tx_raw_types except ImportError: diff --git a/moonworm/crawler/state/moonstream_event_state.py b/moonworm/crawler/state/moonstream_event_state.py index a20d504..4577f58 100644 --- a/moonworm/crawler/state/moonstream_event_state.py +++ b/moonworm/crawler/state/moonstream_event_state.py @@ -1,7 +1,7 @@ -from ..networks import EthereumBlock, EthereumLabel from sqlalchemy.orm import Query, Session from web3 import Web3 +from ..networks import EthereumBlock, EthereumLabel from .event_scanner_state import EventScannerState BLOCK_TIMESTAMP_CACHE = {}