From 874413ccc59ebe0ab7346de74ea3ff06c82b513c Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 1 Mar 2023 11:16:56 +0000 Subject: [PATCH] Fix some style violations --- freqtrade/persistence/base.py | 1 + freqtrade/persistence/models.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/persistence/base.py b/freqtrade/persistence/base.py index 98e483c90..fc2dac75e 100644 --- a/freqtrade/persistence/base.py +++ b/freqtrade/persistence/base.py @@ -4,5 +4,6 @@ from sqlalchemy.orm import DeclarativeBase, Session, scoped_session SessionType = scoped_session[Session] + class ModelBase(DeclarativeBase): pass diff --git a/freqtrade/persistence/models.py b/freqtrade/persistence/models.py index 98d1d7a8a..f4058b4eb 100644 --- a/freqtrade/persistence/models.py +++ b/freqtrade/persistence/models.py @@ -10,7 +10,7 @@ from sqlalchemy.orm import scoped_session, sessionmaker from sqlalchemy.pool import StaticPool from freqtrade.exceptions import OperationalException -from freqtrade.persistence.base import ModelBase, SessionType +from freqtrade.persistence.base import ModelBase from freqtrade.persistence.migrations import check_migrate from freqtrade.persistence.pairlock import PairLock from freqtrade.persistence.trade_model import Order, Trade