-
-
Notifications
You must be signed in to change notification settings - Fork 867
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
Allow SFTPStorage to be configured via class variables #852
Allow SFTPStorage to be configured via class variables #852
Conversation
658b1e8
to
efc9046
Compare
Can you please rebase |
It looks good, will merge after |
I think this should hold off until #524 lands, and then use the approach developed there. That way we don't end up with the same issue in the SFTPStorage backend. |
efc9046
to
c3c9060
Compare
@jschneier I rebased, however @jdufresne has a point. After #524 landed, I could alter this PR or drop it and create a new one, that has the same affect but uses "the style" introduced in #524. |
The other PR has landed, this could be rebased and updated if you'd like. |
@DoctorJohn are you interested in updating this? I'm going to make another release imminently. |
8b24816
to
102e813
Compare
102e813
to
4bea4fb
Compare
@jschneier I just updated the SFTPStorage backend to use the settings mechanism introduced in #524 while keeping everything backwards compatible. |
This PR makes the SFTPStorage class configurable via class variables (similar to other backends). That way subclassing is more convenient. (#851).
As far as I can tell, these changes are backwards compatible.