Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: nasa_exoplanet_archive get_query_payload to return actual query #2588

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

bsipocz
Copy link
Member

@bsipocz bsipocz commented Nov 16, 2022

This is to close #2129

The logic is very similar to #2585 (and also detailed in the issue). With this PR all modules that have get_query_payload kwarg seem to return the SQL query when available, or the payload dict if it's passed directly into a GET/POST request.

@codecov
Copy link

codecov bot commented Nov 16, 2022

Codecov Report

Merging #2588 (b7d6e74) into main (065ea83) will decrease coverage by 0.00%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##             main    #2588      +/-   ##
==========================================
- Coverage   64.08%   64.07%   -0.01%     
==========================================
  Files         131      131              
  Lines       16927    16929       +2     
==========================================
  Hits        10847    10847              
- Misses       6080     6082       +2     
Impacted Files Coverage Δ
...roquery/ipac/nexsci/nasa_exoplanet_archive/core.py 57.08% <25.00%> (-0.47%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bsipocz bsipocz requested a review from rickynilsson November 16, 2022 17:53
Copy link
Contributor

@rickynilsson rickynilsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Sorry for the delay.

@bsipocz bsipocz merged commit cd59701 into astropy:main Nov 17, 2022
@bsipocz bsipocz deleted the nexsci_get_query_payload branch April 9, 2024 17:56
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.

get_query_payload should return the sql/tap query when available
2 participants