astropy / astropy/astroquery

Accept astropy Table as upload_resource for TAP

Open
#1,257 0 comments 0 reactions 0 assignees View on GitHub
utils.tap
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

This is a feature request for TAP/Gaia. I think it is useful to be able to use astropy Table instance directly as `upload_resource` argument without the need to output the file to disk. Currently, it seems that the `upload_resource` argument specifically should be the filename of the file containing the table in VOTable format. I think such a feature is very useful for on-the-fly/interactive exploration.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the TAP/Gaia handling of the upload_resource argument and how it currently accepts VOTable filenames. Determine how an astropy Table could be accepted without writing a file, then verify that interactive uploads work while existing filename-based uploads remain supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.