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
When registering routes in files in the controllers folder, an unhandled exception is thrown.
Traceback (most recent call last):
File "app.py", line 6, in<module>
app.init_routes(prefix_routes=True)
File "/home/daniel/Projects/Personal/pyterrier/pyterrier/pyterrier.py", line 115, in init_routes
self._route_discovery.register_actions(prefix_routes)
File "/home/daniel/Projects/Personal/pyterrier/pyterrier/core/route_discovery.py", line 62, in register_actions
actions = self._prefix_routes(controller, actions)
File "/home/daniel/Projects/Personal/pyterrier/pyterrier/core/route_discovery.py", line 83, in _prefix_routes
forroute, verb, funcin actions:
ValueError: too many values to unpack (expected 3)
The issue is related to the addition of an extra parameter additional_methods in the decorators get, post, put, delete and patch
The text was updated successfully, but these errors were encountered:
When registering routes in files in the
controllers
folder, an unhandled exception is thrown.The issue is related to the addition of an extra parameter
additional_methods
in the decoratorsget
,post
,put
,delete
andpatch
The text was updated successfully, but these errors were encountered: