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
For context: webargs has a similar abort function, and this issue came up in a PR: marshmallow-code/webargs#184 . I think it's a good idea to remove the check. Before I merge that, though, I thought I'd ask about the original rationale.
The text was updated successfully, but these errors were encountered:
flask-restful/flask_restful/__init__.py
Lines 34 to 35 in 8c8c727
Why check
len(kwargs)
here? This requires handling code to check for the existence of thedata
attribute:Can the check be removed?
For context: webargs has a similar
abort
function, and this issue came up in a PR: marshmallow-code/webargs#184 . I think it's a good idea to remove the check. Before I merge that, though, I thought I'd ask about the original rationale.The text was updated successfully, but these errors were encountered: