We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I add type hints to get or post etc like,
get
post
class API(FlaskView): def get(self) -> str: return "OK"
it gives the following error.
ValueError: Function has keyword-only arguments or annotations, use getfullargspec() API which can support them
Looks like you getfullargspec is needed insted of getargspec.
getfullargspec
getargspec
The text was updated successfully, but these errors were encountered:
@lucidfrontier45 type hints are supported by our fork project here, you can check this out http://flask-classful.teracy.org/#type-hints-support-for-python-3
Sorry, something went wrong.
No branches or pull requests
If I add type hints to
get
orpost
etc like,it gives the following error.
Looks like you
getfullargspec
is needed insted ofgetargspec
.The text was updated successfully, but these errors were encountered: