We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eg:
import attr import natsort _natsort_key = natsort.natsort_keygen() class Ham: name = attr.ib(order=_natsort_key) id = attr.ib()
The text was updated successfully, but these errors were encountered:
Is the request here that if you have:
import attr import natsort _natsort_key = natsort.natsort_keygen() @attrs(cmp=True) class Ham: name = attr.ib(order=_natsort_key) id = attr.ib()
then the generated comparison functions should treat that attribute as if _natsort_key had been appplied to it first?
_natsort_key
Sorry, something went wrong.
This seems potentially related to #435
I agree that this seems like something that could be handled as part of #435.
I'm working on it now, and I'll check if the proposed solution can accommodate this use case in a natural/intuitive way.
I believe this is fixed by #787. Please scream/re-open if not!
No branches or pull requests
eg:
The text was updated successfully, but these errors were encountered: