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
To allow writing more understandable checks like:
ret = resp.can_prepare(request) ret.allowed ret.protocol
allowed field is subject for discussion.
allowed
Also it would be good to implement __bool__ method for the class for easy checking: if resp.can_prepare(request): ...
__bool__
if resp.can_prepare(request): ...
The text was updated successfully, but these errors were encountered:
Fixed by #1020
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
If you feel like there's important points made in this discussion, please include those exceprts into that new issue.
No branches or pull requests
To allow writing more understandable checks like:
allowed
field is subject for discussion.Also it would be good to implement
__bool__
method for the class for easy checking:if resp.can_prepare(request): ...
The text was updated successfully, but these errors were encountered: