Skip to content

Commit

Permalink
generate_upload_token: Add support for option parameter "create_addit…
Browse files Browse the repository at this point in the history
…ional_revision"

This commit add supporte from parameter introduced in midasplatform/Midas#146
  • Loading branch information
jcfr committed Oct 27, 2015
1 parent 7eb3d7c commit 6a4c9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydas/drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ def generate_upload_token(self, token, item_id, filename, **kwargs):
parameters['token'] = token
parameters['itemid'] = item_id
parameters['filename'] = filename
optional_keys = ['checksum']
optional_keys = ['checksum', 'create_additional_revision']
for key in optional_keys:
if key in kwargs:
parameters[key] = kwargs[key]
Expand Down

0 comments on commit 6a4c9cf

Please sign in to comment.