lnbits-legend/lnbits/extensions/lndhub/__init__.py

19 lines
427 B
Python
Raw Normal View History

2021-10-18 10:58:09 +01:00
from fastapi import APIRouter
2021-10-13 16:47:24 +01:00
from lnbits.db import Database
from lnbits.helpers import template_renderer
db = Database("ext_lndhub")
lndhub_ext: APIRouter = APIRouter(prefix="/lndhub", tags=["lndhub"])
def lndhub_renderer():
2021-10-17 18:33:29 +01:00
return template_renderer(["lnbits/extensions/lndhub/templates"])
2021-10-13 16:47:24 +01:00
from .decorators import * # noqa
2021-10-18 10:58:09 +01:00
from .utils import * # noqa
from .views import * # noqa
from .views_api import * # noqa