The current ASGI documentation was helpful in successfully creating a Fast API web app. Unfortunately, I tried utilizing a directory NOT named "my_fastapi", and I received the following uvicorn error:
Error: Got unexpected extra argument (main:app)
Is this expected? I figured I could change the directory location in bold to any desired naming.
/home/YOURUSERNAME/.virtualenvs/my_venv/bin/uvicorn --app-dir /home/YOURUSERNAME/my_fastapi --uds ${DOMAIN_SOCKET} main:app