We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57f2564 commit 0068ebaCopy full SHA for 0068eba
src/ContentProcessorAPI/app/dependencies.py
@@ -6,14 +6,14 @@
6
from fastapi import Header, HTTPException
7
8
9
-### Placeholder for the actual implementation
+# Placeholder for the actual implementation
10
async def get_token_header(x_token: Annotated[str, Header()]):
11
"""it should be registered in the app as a dependency"""
12
pass
13
raise HTTPException(status_code=400, detail="X-Token header invalid")
14
15
16
17
async def get_query_token(token: str):
18
19
0 commit comments