Skip to content

Have app.py launch uvicorn within it #21

@ejfine

Description

@ejfine

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

there's probably going to be a bunch of things we need to pass to the app via CLI anyway, and it's annoying to not be able to use if __name__=='__main__'. So rather than launching the app via uvicorn directly, have the docker container run the python script, which then launches uvicorn.

The exclusion of app.py in .coveragerc file can then also be removed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions