mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 03:54:21 +01:00
Python/relative_import (#186)
* relative import all the things * make format * add __init__.py to cli/ * fix mypy errors * get rid of more mypy * mypy fix crud.py * fix another mypy error
This commit is contained in:
@@ -3,7 +3,7 @@ from typing import Dict, List, Union
|
||||
from fastapi import APIRouter
|
||||
from secp256k1 import PublicKey
|
||||
|
||||
from cashu.core.base import (
|
||||
from ..core.base import (
|
||||
BlindedMessage,
|
||||
BlindedSignature,
|
||||
CheckFeesRequest,
|
||||
@@ -21,9 +21,9 @@ from cashu.core.base import (
|
||||
PostSplitRequest,
|
||||
PostSplitResponse,
|
||||
)
|
||||
from cashu.core.errors import CashuError
|
||||
from cashu.core.settings import settings
|
||||
from cashu.mint.startup import ledger
|
||||
from ..core.errors import CashuError
|
||||
from ..core.settings import settings
|
||||
from ..mint.startup import ledger
|
||||
|
||||
router: APIRouter = APIRouter()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user