basic task order pdf downloads

This commit is contained in:
dandds
2018-09-05 17:45:12 -04:00
parent e8aa905a99
commit 0391348b5d
6 changed files with 81 additions and 5 deletions

View File

@@ -37,8 +37,9 @@ class Uploader:
)
return (fyle.filename, object_name)
def download(self, path):
pass
def download_stream(self, object_name):
obj = self.container.get_object(object_name=object_name)
return obj.as_stream()
def _get_container(self, provider, container, key, secret):
if provider == "LOCAL":