From 7a7e4f617500b16043fb59e6b339163060b8f35c Mon Sep 17 00:00:00 2001 From: Yosuke Otosu Date: Fri, 8 Dec 2023 16:18:06 +0900 Subject: [PATCH] Fix export/import base schema --- app/model/schema/base/__init__.py | 1 + app/model/schema/token.py | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/model/schema/base/__init__.py b/app/model/schema/base/__init__.py index ff9ffe29..54ddc486 100644 --- a/app/model/schema/base/__init__.py +++ b/app/model/schema/base/__init__.py @@ -17,6 +17,7 @@ SPDX-License-Identifier: Apache-2.0 """ from .base import ( + CURRENCY_str, EMPTY_str, IbetShareContractVersion, IbetStraightBondContractVersion, diff --git a/app/model/schema/token.py b/app/model/schema/token.py index 25fdceff..a8f5bc23 100644 --- a/app/model/schema/token.py +++ b/app/model/schema/token.py @@ -28,6 +28,7 @@ from web3 import Web3 from app.model.schema.base import ( + CURRENCY_str, EMPTY_str, IbetShareContractVersion, IbetStraightBondContractVersion, @@ -36,10 +37,7 @@ SortOrder, YYYYMMDD_constr, ) - -from . import LockEventCategory -from .base.base import CURRENCY_str -from .position import LockEvent +from app.model.schema.position import LockEvent, LockEventCategory ############################