Skip to content

Commit

Permalink
* Add the archive and retrieve document functions to the platform man…
Browse files Browse the repository at this point in the history
…agers.
  • Loading branch information
bgroff committed Feb 1, 2018
1 parent e3e586a commit 8eba398
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions django_kala/django_kala/platforms/aws/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ def upload_export(self, export_path):
)

return {'Key': key}

def archive_document(self, document):
raise NotImplementedError()

def retrieve_document(self, document):
raise NotImplementedError()
6 changes: 6 additions & 0 deletions django_kala/django_kala/platforms/local/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ def upload_export(self, export_path):
)

return {}

def archive_document(self, document):
pass

def retrieve_document(self, document):
pass

0 comments on commit 8eba398

Please sign in to comment.