In FastAPI when a standard function is used as a dependency it could be used declared as regular def function or an asynchronous async def function
def
async def