kopia lustrzana https://github.com/bugout-dev/moonworm
isort fix
rodzic
bcb6270273
commit
cc6032fad0
|
@ -7,11 +7,7 @@ from sqlalchemy.orm import Session
|
||||||
from web3 import Web3
|
from web3 import Web3
|
||||||
|
|
||||||
from .ethereum_state_provider import EthereumStateProvider
|
from .ethereum_state_provider import EthereumStateProvider
|
||||||
from .networks import (
|
from .networks import MODELS, Network, tx_raw_types
|
||||||
MODELS,
|
|
||||||
Network,
|
|
||||||
tx_raw_types,
|
|
||||||
)
|
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
|
@ -20,7 +20,7 @@ try:
|
||||||
XDaiLabel,
|
XDaiLabel,
|
||||||
XDaiTransaction,
|
XDaiTransaction,
|
||||||
)
|
)
|
||||||
from moonstreamdb.moonworm import Network, MODELS, tx_raw_types
|
from moonstreamdb.moonworm import MODELS, Network, tx_raw_types
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("this feature requires moonstreamdb which is not installed")
|
print("this feature requires moonstreamdb which is not installed")
|
||||||
print("to enable, run: `pip install moonworm[moonstream]`")
|
print("to enable, run: `pip install moonworm[moonstream]`")
|
||||||
|
|
Ładowanie…
Reference in New Issue