José Antonio Perdiguero

Results 19 issues of José Antonio Perdiguero

Closes #42 Closes #55 Closes #57 Closes #48 Closes #58 Closes #59 Closes #49 Closes #47 Closes #60 Closes #43 Closes #44 Closes #61 Closes #46

Integrate mypy with Flama, fix all typing errors and modify the github actions flow to include it.

good first issue
refactor

Create a BackgroundTask that doesn't run in main process to avoid the issue that emerges from [encode/starlete#919](https://github.com/encode/starlette/issues/919).

enhancement
good first issue

Modify how Routes and Routers are initialized and how are handling the main application to allow declarative routing for all Routes types. An example of the goal syntax: ```python class...

enhancement

It would be desirable to allow creating routes like this: ```python @app.get("/foo/") def foo(): return {"message": "foo"} ``` as a shortcut for: ```python @app.route("/foo/", methods=["GET"]) def foo(): return {"message": "foo"}...

enhancement
good first issue

It could be desirable to integrate SQLAlchemy resources (database connection and metadata) as attributes of Flama applications.

enhancement

Improve the package interface by exporting the basics in main \_\_init\_\_.py

enhancement

Create a modules system that allows to extend Flama's default application.

enhancement