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
For someone playing around with the library in an interactive environment, running some_path.find(some_obj) will return a list of DatumInContexts each of which will be formatted on screen, including the recursive context for every element. Hiding the context avoids large outputs and user confusion. I would rather see one of the following:
DatumInContext('value')
DatumInContext('value', path='path')
DatumInContext('value', path='path', context=...) or DatumInContext('value', path='path', context=None)
DatumInContext('value', path='path', context=DatumInContext(...)) or DatumInContext('value', path='path', context=None)
than the fully expanded context repr.
The text was updated successfully, but these errors were encountered:
kaapstorm
pushed a commit
to kaapstorm/python-jsonpath-rw
that referenced
this issue
Feb 4, 2021
For someone playing around with the library in an interactive environment, running
some_path.find(some_obj)
will return a list ofDatumInContext
s each of which will be formatted on screen, including the recursive context for every element. Hiding the context avoids large outputs and user confusion. I would rather see one of the following:DatumInContext('value')
DatumInContext('value', path='path')
DatumInContext('value', path='path', context=...)
orDatumInContext('value', path='path', context=None)
DatumInContext('value', path='path', context=DatumInContext(...))
orDatumInContext('value', path='path', context=None)
than the fully expanded context repr.
The text was updated successfully, but these errors were encountered: