chore: format code and update linter configuration
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
from src.proxy.router import router as proxy_router
|
||||
|
||||
app = FastAPI(
|
||||
@@ -7,7 +8,7 @@ app = FastAPI(
|
||||
|
||||
app.include_router(proxy_router)
|
||||
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
return {"Hello": "World!"}
|
||||
|
||||
|
||||
+4
-1
@@ -5,14 +5,17 @@ router = APIRouter(
|
||||
tags=["Proxy"]
|
||||
)
|
||||
|
||||
|
||||
@router.get("/")
|
||||
async def list_proxies():
|
||||
return
|
||||
|
||||
|
||||
@router.post("/")
|
||||
async def create_proxy():
|
||||
return
|
||||
|
||||
|
||||
@router.put("/{proxy_port}/")
|
||||
async def edit_proxy():
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user