black formating
This commit is contained in:
@@ -5,10 +5,7 @@ from lnbits.helpers import template_renderer
|
||||
|
||||
db = Database("ext_example")
|
||||
|
||||
example_ext: APIRouter = APIRouter(
|
||||
prefix="/example",
|
||||
tags=["example"]
|
||||
)
|
||||
example_ext: APIRouter = APIRouter(prefix="/example", tags=["example"])
|
||||
|
||||
|
||||
def example_renderer():
|
||||
|
||||
@@ -3,4 +3,3 @@
|
||||
# class Example(BaseModel):
|
||||
# id: str
|
||||
# wallet: str
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ from . import example_ext
|
||||
|
||||
# add your endpoints here
|
||||
|
||||
|
||||
@example_ext.get("/api/v1/tools")
|
||||
async def api_example():
|
||||
"""Try to add descriptions for others."""
|
||||
|
||||
Reference in New Issue
Block a user