21 lines
300 B
Python
21 lines
300 B
Python
from typing import List
|
|
|
|
import fastapi
|
|
from fastapi import Query
|
|
|
|
|
|
def okay(db=fastapi.Depends(get_db)):
|
|
...
|
|
|
|
|
|
def okay(data: List[str] = fastapi.Query(None)):
|
|
...
|
|
|
|
|
|
def okay(data: List[str] = Query(None)):
|
|
...
|
|
|
|
|
|
def error_due_to_missing_import(data: List[str] = Depends(None)):
|
|
...
|