pyflwor
pyflwor copied to clipboard
A Query Langauge and System for Python Objects
Is there some way to do dictionary access other than iteration over `KeyValuePair` objects? It is a little verbose: ``` foo[self.key == "bar"]/value/baz ``` I recently forked the project and...
``` Traceback (most recent call last): File "test.py", line 13, in print(pyflwor.execute(query, locals())) File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/pyflwor.py", line 37, in execute return compile(query)(namespace) File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/symbols.py", line 354, in query return OrderedSet(select(objs, attrs))...