-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
Support decorating instance methods of classes with path attributes #58
Comments
answering question to #44 (comment) (which is now closed) here
I am thinking about something along the lines of abstracting away "fingerprinters" so we could generalize to not only
edit 1: or make it more explicit by separate two options: |
|
|
How? The instance needs to be passed to the instance method, and if we tell joblib to ignore "self", then all non-path attributes will be ignored by joblib as well. |
Ah, good point. Let me think about it. |
Aha, I think it is manageable although fragile: we can also add argument to list attributes to be added to the fingerprint (if needed). Sure we wouldn't capture full state but I expect it to be applied cautiously ;-) |
Prompted by dandi/dandi-cli#852 (comment)
The text was updated successfully, but these errors were encountered: