Skip to content
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

Dropbox: large file support and a regression fix #379

Merged
merged 3 commits into from
Aug 14, 2017

Conversation

maxmalysh
Copy link
Contributor

This PR:

I've tested uploading a 1.5 GB file and it works fine.

@@ -21,6 +21,7 @@
from django.utils.deconstruct import deconstructible
from dropbox import Dropbox
from dropbox.exceptions import ApiError
from dropbox.files import UploadSessionCursor, CommitInfo
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only failing build is lint. Change import order to make it happy:

from dropbox.files import CommitInfo, UploadSessionCursor

@codecov-io
Copy link

codecov-io commented Aug 14, 2017

Codecov Report

Merging #379 into master will increase coverage by 0.23%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #379      +/-   ##
==========================================
+ Coverage   75.82%   76.05%   +0.23%     
==========================================
  Files          11       11              
  Lines        1551     1566      +15     
==========================================
+ Hits         1176     1191      +15     
  Misses        375      375
Impacted Files Coverage Δ
storages/backends/dropbox.py 97.8% <100%> (+0.43%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc3902d...1a0dd4d. Read the comment docs.

@jschneier jschneier merged commit adefe32 into jschneier:master Aug 14, 2017
jschneier pushed a commit that referenced this pull request Aug 14, 2017
* Fix .save method of the Dropbox backend (#378)

* Dropbox large file support (#301)

* Make linter happy
jschneier pushed a commit that referenced this pull request Aug 14, 2017
* Fix .save method of the Dropbox backend (#378)

* Dropbox large file support (#301)

* Make linter happy
nitely pushed a commit to satellogic/django-storages that referenced this pull request Jul 30, 2018
* Fix .save method of the Dropbox backend (jschneier#378)

* Dropbox large file support (jschneier#301)

* Make linter happy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants