소스 검색

ble-ai api route protected by oauth2

errorlogbug
Lorenzo Pollutri 1 개월 전
부모
커밋
973e087489
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      app.py

+ 1
- 1
app.py 파일 보기

@@ -192,7 +192,7 @@ async def get_documentation():
return get_swagger_ui_html(openapi_url="/openapi.json", title="docs")


@app.get("/ble-ai/infer", tags=["BLE-AI"])
@app.get("/ble-ai/infer", tags=["BLE-AI"], dependencies=[Depends(get_current_user)])
async def get_ble_ai_infer(mac: Optional[List[str]] = Query(default=None)):
path = config_env.BLE_AI_INFER_CSV
if not os.path.isfile(path):


불러오는 중...
취소
저장