Instantly share code, notes, and snippets.

Embed
What would you like to do?
>>> find_resource(Root, '2')
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/home/jcigar/code/venvs/amnesia/lib/python3.5/site-packages/pyramid/traversal.py", line 98, in find_resource
D = traverse(resource, path)
File "/usr/home/jcigar/code/venvs/amnesia/lib/python3.5/site-packages/pyramid/traversal.py", line 327, in traverse
return traverser(request)
File "/usr/home/jcigar/code/venvs/amnesia/lib/python3.5/site-packages/pyramid/traversal.py", line 700, in __call__
next = getitem(segment)
TypeError: __getitem__() missing 1 required positional argument: 'path'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment