python-dotenv,idna,httptools,h11,exceptiongroup,click,annotated-types,uvicorn,pydantic-core,anyio,watchfiles,starlette,pydantic,fastapiSuccessfullyinstalledannotated-types-0.6.0anyio-4.2.0click-8.1.7exceptiongroup-1.2.0fastapi-0.109.0h11-0.14.0httptools-0.6.1idna-3.6pydantic-2.5.3pydantic-core-2.14.6py...
With this method, I don't need to initialize the DB engine and Redis client every time, and all the pre-initialized DB engine can be used in the app views(i just treat them as handlers or routers) I'm wondering is there an equivalent method in fastAPI? Or, I need to create them ...