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
#143 should ideally add functionality for relations between units of input arguments, in the same way that pint.ureg.wraps does. This seems quite complicated though, so I think we should leave it to a separate PR. I wonder if the neatest way to fix it would involve some upstream changes in pint?
The text was updated successfully, but these errors were encountered:
If we use Signature.bind and BoundArguments.arguments, getting the names of the arguments shouldn't be too difficult. expects is a bit more complicated than wraps since we use dicts to represent xarray objects (and thus the syntax of the relationship needs to allow for something like arg.attribute), but that shouldn't be too much trouble either.
I definitely agree with you that we shouldn't hold back #143 even more than we already have, so this should be done in a different PR.
#143 should ideally add functionality for relations between units of input arguments, in the same way that
pint.ureg.wraps
does. This seems quite complicated though, so I think we should leave it to a separate PR. I wonder if the neatest way to fix it would involve some upstream changes in pint?The text was updated successfully, but these errors were encountered: