Skip to content

Move decorators to APIFlask/APIBlueprint classes#214

Merged
greyli merged 5 commits intomainfrom
refactor-decorators
Feb 28, 2022
Merged

Move decorators to APIFlask/APIBlueprint classes#214
greyli merged 5 commits intomainfrom
refactor-decorators

Conversation

@greyli
Copy link
Copy Markdown
Member

@greyli greyli commented Feb 26, 2022

fixes #187

Checklist:

  • Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
  • Add or update relevant docs, in the docs folder and in code docstring.
  • Add an entry in CHANGES.md summarizing the change and linking to the issue and your username.
  • Add *Version changed* or *Version added* note in any relevant docs and docstring.
  • Run pytest and tox, no tests failed.

@greyli greyli added this to the 0.12.0 milestone Feb 26, 2022
@greyli
Copy link
Copy Markdown
Member Author

greyli commented Feb 27, 2022

Also add a section to docs about the migration
@greyli greyli changed the title Move decorators to APIFlask/APIBlueprint objects Move decorators to APIFlask/APIBlueprint classes Feb 28, 2022
@greyli
Copy link
Copy Markdown
Member Author

greyli commented Feb 28, 2022

Since the docs is stopped building anymore (related to mkdocstring), I will merge this now.

@greyli greyli merged commit 0c5aed6 into main Feb 28, 2022
@greyli greyli deleted the refactor-decorators branch February 28, 2022 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose decorators (e.g. input, output, etc.) as methods of the application instance

1 participant