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

ENH: get_query_payload to return useful info #2585

Merged
merged 2 commits into from
Nov 16, 2022

Conversation

bsipocz
Copy link
Member

@bsipocz bsipocz commented Nov 16, 2022

The naming of the kwarg is somewhat misleading, we should aim it to return the payload that is in fact sent out to the server, not an intermediate one in our library yet to be processed further. So in this case the adql query string is more useful than a payload dictionary yet to be process to generate the query string.

@bsipocz
Copy link
Member Author

bsipocz commented Nov 16, 2022

This functionality is very much has debug purposes only, so I don't think we need to have this listed in the changelog.

@codecov
Copy link

codecov bot commented Nov 16, 2022

Codecov Report

Merging #2585 (09bd956) into main (31842df) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2585   +/-   ##
=======================================
  Coverage   64.08%   64.08%           
=======================================
  Files         131      131           
  Lines       16927    16927           
=======================================
  Hits        10847    10847           
  Misses       6080     6080           
Impacted Files Coverage Δ
astroquery/alma/core.py 49.17% <100.00%> (ø)

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

@bsipocz bsipocz requested a review from keflavich November 16, 2022 00:40
Copy link
Contributor

@keflavich keflavich left a comment

Choose a reason for hiding this comment

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

yes, agreed, this is the intent of get_query_payload

@bsipocz bsipocz merged commit 065ea83 into astropy:main Nov 16, 2022
@bsipocz bsipocz deleted the alma_get_query_payload branch April 9, 2024 17:57
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.

2 participants