eu_generate_upload_creds.py¶
Generates upload credentials for one or more File records on the ENCODE Portal. The upload credentials store AWS authorization tokens to allow a user to upload a file to a presigned S3 URL.
The Exception requests.exceptions.HTTPError will be raised if the response from the server a not a successful status code for any File object when attempting to generate the upload credentials, and will utlimately halt the program with an error message.
usage: eu_generate_upload_creds.py [-h] [-m DCC_MODE]
(-f FILE_IDS [FILE_IDS ...] | -i INFILE)
Named Arguments¶
-m, --dcc-mode |
|
-f, --file-ids |
Default: [] |
-i, --infile |
|