mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
gdrive: get rid of empty file hack (#4774)
This commit is contained in:
+1
-4
@@ -366,10 +366,7 @@ class GDriveTree(BaseTree):
|
||||
total=total,
|
||||
disable=no_progress_bar,
|
||||
) as wrapped:
|
||||
# PyDrive2 doesn't like content property setting for empty
|
||||
# files https://github.com/iterative/PyDrive2/issues/59
|
||||
if total:
|
||||
item.content = wrapped
|
||||
item.content = wrapped
|
||||
item.Upload()
|
||||
return item
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ install_requires = [
|
||||
# Extra dependencies for remote integrations
|
||||
|
||||
gs = ["google-cloud-storage==1.19.0"]
|
||||
gdrive = ["pydrive2>=1.6.2", "six >= 1.13.0"]
|
||||
gdrive = ["pydrive2>=1.6.3", "six >= 1.13.0"]
|
||||
s3 = ["boto3>=1.9.201"]
|
||||
azure = ["azure-storage-blob>=12.0", "knack"]
|
||||
oss = ["oss2==2.6.1"]
|
||||
|
||||
Reference in New Issue
Block a user