Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions qds_sdk/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def get_jobs_id(cls, id):
return r.text


def get_results(self, fp=sys.stdout, inline=True, delim=None, fetch=True, qlog=None, arguments=[]):
def get_results(self, fp=sys.stdout, inline=True, delim=None, fetch=True, qlog=None, arguments=[], boto_args={}):
"""
Fetches the result for the command represented by this object

Expand Down Expand Up @@ -307,7 +307,8 @@ def get_results(self, fp=sys.stdout, inline=True, delim=None, fetch=True, qlog=N
boto_conn = boto.connect_s3(aws_access_key_id=storage_credentials['storage_access_key'],
aws_secret_access_key=storage_credentials['storage_secret_key'],
security_token=storage_credentials['session_token'],
host=host)
host=host,
**boto_args)
log.info("Starting download from result locations: [%s]" % ",".join(r['result_location']))
# fetch latest value of num_result_dir
num_result_dir = Command.find(self.id).num_result_dir
Expand Down