Skip to content

Tyang ck sprint7 task2#681

Closed
weidesh wants to merge 3 commits intoapiflask:mainfrom
weidesh:tyang-CK-SPRINT7-TASK2
Closed

Tyang ck sprint7 task2#681
weidesh wants to merge 3 commits intoapiflask:mainfrom
weidesh:tyang-CK-SPRINT7-TASK2

Conversation

@weidesh
Copy link
Copy Markdown
Contributor

@weidesh weidesh commented Oct 2, 2025

Thinking of the compatibility to the whole framework and the tests, I used the auth_required return type form, which passed all the tests.

fixes #666

Checklist:

  • [ X ] 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.
  • Add *Version changed* or *Version added* note in any relevant docs and docstring.
  • [ x ] Run pytest and tox, no tests failed.

…nding methonds, with the help of AI, which has a CS grammatical beauty -- which is just in my opionion.
…ts, modified the type definition in the form of auth_required, which passed all the tests, problem solved!
@greyli
Copy link
Copy Markdown
Member

greyli commented Oct 4, 2025

I‘d go with #678, thanks!

@greyli greyli closed this Oct 4, 2025
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.

Add return type information from APIFlask route method helpers (get(), post(), etc)

2 participants