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
{{ message }}
Repository navigation
join_specs is missing from the output of Query.__repr__() #91
In principal, this would be trivial to fix. But there is another problem with __repr__() at the horizon: the output of it should look like a valid Python expression that could be used to recreate an object with the same value. But, #89 will likely change the internal data structures in the conditions attribute to an extent that it will not be practical to reconstruct suitable keyword arguments to Query() from that.
As a result, I'm inclined to wontfix this issue and to deprecate Query.__repr__() in 0.20.0 instead, so it would be dropped in 1.0.0. Not sure if anybody uses it anyway.
Activity
RKrahl commentedon Oct 13, 2021
In principal, this would be trivial to fix. But there is another problem with
__repr__()at the horizon: the output of it should look like a valid Python expression that could be used to recreate an object with the same value. But, #89 will likely change the internal data structures in theconditionsattribute to an extent that it will not be practical to reconstruct suitable keyword arguments toQuery()from that.As a result, I'm inclined to
wontfixthis issue and to deprecateQuery.__repr__()in 0.20.0 instead, so it would be dropped in 1.0.0. Not sure if anybody uses it anyway.RKrahl commentedon Oct 25, 2021
I finally decided to fix this one and to deal with the issues resulting from #89 in a separate issue, see #94.
Fix #91