-
Notifications
You must be signed in to change notification settings - Fork 570
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
1055 deprecate private and repo type in repository class #1057
1055 deprecate private and repo type in repository class #1057
Conversation
The documentation is not available anymore as the PR was closed or merged. |
Codecov Report
@@ Coverage Diff @@
## main #1057 +/- ##
==========================================
+ Coverage 83.97% 84.01% +0.03%
==========================================
Files 38 38
Lines 4099 4109 +10
==========================================
+ Hits 3442 3452 +10
Misses 657 657
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very clean! Thanks for handling backwards compatibility with the properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, missclicked.
Thanks for the review :) I changed the wording and merged. |
Fix #1055.
I also start to think that
clone_from
method should be a standalone private helper (e.g.: not meant to be used by end users, just via theclone_from
attribute at init). This would avoid having HF-specific attributes likerepo_type
inRepository
: once initialized the value is not needed anymore.