You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uses the abort function to specify that is not implemented and it is just an interface. However, this make the resource aware of the request context. This should not be the case.
Maybe using a base error class for this, and just raising the error would do?
The text was updated successfully, but these errors were encountered:
ppanero
changed the title
Resources should be independent of the request context
serializers: resources should be independent of the request context
Jun 11, 2020
The resource class
flask-resources/flask_resources/resources.py
Line 20 in 0587e7e
abort
function to specify that is not implemented and it is just an interface. However, this make the resource aware of the request context. This should not be the case.Maybe using a base error class for this, and just raising the error would do?
The text was updated successfully, but these errors were encountered: