Skip to content

Commit 94aaeb2

Browse files
committed
Make async Job.save_results() obey verbose
The `astroquery/utils/tap/model/job.Job.save_results()` method no longer ignores the `verbose` setting in async jobs.
1 parent e79572c commit 94aaeb2

File tree

1 file changed

+2
-1
lines changed
  • astroquery/utils/tap/model

1 file changed

+2
-1
lines changed

astroquery/utils/tap/model/job.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,8 @@ def save_results(self, verbose=False):
299299
output = self.outputFile
300300
else:
301301
output = self.outputFileUser
302-
print(f"Saving results to: {output}")
302+
if verbose:
303+
print(f"Saving results to: {output}")
303304
self.connHandler.dump_to_file(output, response)
304305

305306
def wait_for_job_end(self, verbose=False):

0 commit comments

Comments
 (0)