mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-01-05 01:44:25 +01:00
remove unused imports
This commit is contained in:
@@ -1,21 +1,15 @@
|
||||
import asyncio
|
||||
import logging
|
||||
import sys
|
||||
|
||||
from fastapi import FastAPI, Request
|
||||
from fastapi import FastAPI
|
||||
from loguru import logger
|
||||
|
||||
from cashu.core.settings import DEBUG, VERSION
|
||||
from cashu.lightning import WALLET
|
||||
from cashu.mint.migrations import m001_initial
|
||||
|
||||
from starlette_context.middleware import RawContextMiddleware
|
||||
from starlette_context import context
|
||||
from starlette.middleware import Middleware
|
||||
from starlette.requests import Request as StarletteRequest
|
||||
|
||||
|
||||
from . import ledger
|
||||
from .router import router
|
||||
from .startup import load_ledger
|
||||
|
||||
@@ -59,9 +53,6 @@ def create_app(config_object="core.settings") -> FastAPI:
|
||||
Middleware(
|
||||
RawContextMiddleware,
|
||||
),
|
||||
Middleware(
|
||||
RawContextMiddleware,
|
||||
),
|
||||
]
|
||||
|
||||
app = FastAPI(
|
||||
|
||||
Reference in New Issue
Block a user