iris-hep / func_adl_xAOD

Client interface to send a hierarchical SQL-like query to an xAOD backend
0 stars 5 forks source link

get_rep should always call visit, visit should cut off the descent #163

Closed gordonwatts closed 3 years ago

gordonwatts commented 3 years ago

Currently, both get_rep and visit check to see if the representation is stale. This should happen in just one place - the visit. That will make the get_rep a lot simpler.

What is in there now works, but it isn't ideal because the check on rep being stale is now done in two places.