Skip to content

FEAT: app.run() method for running uwsgi #1069

Description

@pydanny

Describe the feature

When the code has this:

if __name__ == '__main__':
    app.run() # or maybe air.run()

Then it should launch the local server with default port of 8000 or something.

Motivation

This is a semi-common pattern supplied by LLMs, even though it is a hallucination. So why not consider it a feature and implement it?

Alternatives considered

No response

Additional context

No response

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