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
Is there a reason why this bit of code is not moved to the top of the function and the combined_args passed to the pre_event hooks instead of kwargs?
Environment
Python version: 3.6
Eve version: 0.9.1
The text was updated successfully, but these errors were encountered:
albmarin
changed the title
Lookup argument does not get passed to pre_METHOD_resource hook with certain resource urls
Lookup argument does not get passed to pre event hook with certain resource urls
Jun 6, 2019
Expected Behavior
If a resource has a url and item_lookup that matches the following:
The pre_event hook should provide lookup as the following
Actual Behavior
Instead lookup is empty.
I noticed that in the pre_event decorator this issue is solved by combining args with kwargs
Is there a reason why this bit of code is not moved to the top of the function and the combined_args passed to the pre_event hooks instead of kwargs?
Environment
The text was updated successfully, but these errors were encountered: