Skip to content

Commit

Permalink
Make async Job.save_results() obey verbose
Browse files Browse the repository at this point in the history
The `astroquery/utils/tap/model/job.Job.save_results()` method no longer
ignores the `verbose` setting in async jobs.
  • Loading branch information
eerovaher committed Feb 21, 2022
1 parent e79572c commit 94aaeb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion astroquery/utils/tap/model/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ def save_results(self, verbose=False):
output = self.outputFile
else:
output = self.outputFileUser
print(f"Saving results to: {output}")
if verbose:
print(f"Saving results to: {output}")
self.connHandler.dump_to_file(output, response)

def wait_for_job_end(self, verbose=False):
Expand Down

0 comments on commit 94aaeb2

Please sign in to comment.