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

Support for Custom REQUEST Methods in TAPService Queries #579

Open
NucleonGodX opened this issue Jul 13, 2024 · 1 comment
Open

Support for Custom REQUEST Methods in TAPService Queries #579

NucleonGodX opened this issue Jul 13, 2024 · 1 comment

Comments

@NucleonGodX
Copy link

Description:

I am proposing an enhancement to the pyvo.dal.TAPService functionality to support custom REQUEST methods, such as doQueryFilteredByDistance, in addition to the default doQuery. This feature will provide greater flexibility and utility for users, particularly in the context of integrating the TAPService with the sunpy-soar module.

Context:

The current implementation of the pyvo.dal.TAPService class hardcodes the REQUEST parameter to doQuery. However, there are scenarios where alternative REQUEST methods are required to perform more specialized queries, such as filtering results by distance using doQueryFilteredByDistance. This was identified during the development and integration efforts within the sunpy-soar project, where the ability to perform such queries would be helpful for effectively interfacing with the Solar Orbiter Archive (SOAR) API.

Proposed Solution:

Enhance the TAPService class to accept an request_type argument, with the default value set to doQuery. This argument will allow users to specify the desired REQUEST method when constructing their queries.

@msdemlei
Copy link
Contributor

msdemlei commented Jul 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants