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
add_url_rule should accept an optional view function. Currently you need to do two steps to associate a rule, endpoint and view_function.
This issue is suggesting that it should only take one step. Replace add_url_rule(self, rule, endpoint, *_options) with add_url_rule(self, rule, endpoint, view_func=None, *_options)
The text was updated successfully, but these errors were encountered:
add_url_rule should accept an optional view function. Currently you need to do two steps to associate a rule, endpoint and view_function.
This issue is suggesting that it should only take one step. Replace add_url_rule(self, rule, endpoint, *_options) with add_url_rule(self, rule, endpoint, view_func=None, *_options)
The text was updated successfully, but these errors were encountered: