feldroy / feldroy/air

FEAT: `app.run()` method for running uwsgi

Open
#1,069 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
917
Forks
98
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature

When the code has this:

```python
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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.