Skip to content

ENH: adding async mode to IRSA TAP based queries#3201

Merged
bsipocz merged 5 commits into
astropy:mainfrom
bsipocz:ENH_irsa_async_tap
Feb 12, 2025
Merged

ENH: adding async mode to IRSA TAP based queries#3201
bsipocz merged 5 commits into
astropy:mainfrom
bsipocz:ENH_irsa_async_tap

Conversation

@bsipocz

@bsipocz bsipocz commented Feb 4, 2025

Copy link
Copy Markdown
Member

Currently query_tap and query_region has the new async_mode bool kwarg.

I was testing with the query listed in astropy/pyvo#629 which times out with the sync mode, but works as expected and fast! with async. I don't really understand why this latter behaviour, but it doesn't matter much either as we leave it to the user to decide which mode to use rather than building in a heuristic in astroquery.

Closes #3143

Prior discussion about changing the API approach from the duplication of methods and favouring a keyword based future: #2598

@bsipocz bsipocz added this to the v0.4.10 milestone Feb 4, 2025
@codecov

codecov Bot commented Feb 4, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 16.66667% with 5 lines in your changes missing coverage. Please review.

Project coverage is 68.31%. Comparing base (90a44d5) to head (29ba772).
Report is 319 commits behind head on main.

Files with missing lines Patch % Lines
astroquery/ipac/irsa/core.py 16.66% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3201      +/-   ##
==========================================
- Coverage   68.32%   68.31%   -0.01%     
==========================================
  Files         231      231              
  Lines       19197    19199       +2     
==========================================
  Hits        13116    13116              
- Misses       6081     6083       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bsipocz bsipocz merged commit 0c90d6e into astropy:main Feb 12, 2025
@bsipocz bsipocz deleted the ENH_irsa_async_tap branch February 12, 2025 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH: add async TAP for irsa

1 participant