FastAPI - Dependency Injection
What is wrong with this FastAPI app code that attempts to add a global dependency?
from fastapi import FastAPI, Depends
def check_auth():
pass
app = FastAPI(dependencies=Depends(check_auth))