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

Adding support for VODataService 1.2 table/@nrows. #503

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

msdemlei
Copy link
Contributor

@msdemlei msdemlei commented Dec 6, 2023

In version 1.2, VODataService added an nrows attribute to the tables element (cf. https://ivoa.net/documents/VODataService/20211102/REC-VODataService-1.2.html#tth_sEcA.4).

This PR adds support for this attribute, which in particular fixes warnings that spoil our tests when accessing the GAVO RegTAP endpoint with PR #386.

Copy link

codecov bot commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a035576) 80.08% compared to head (4e4a9bb) 80.11%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #503      +/-   ##
==========================================
+ Coverage   80.08%   80.11%   +0.02%     
==========================================
  Files          52       52              
  Lines        6077     6085       +8     
==========================================
+ Hits         4867     4875       +8     
  Misses       1210     1210              

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

@bsipocz bsipocz added this to the v1.5 milestone Dec 6, 2023
Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

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

Thank you. I'll fix the style failures prior merging.

While it indeed fixed the nrows issue in the other PR, there is still something failing, but I'm fairly certain it's related to that PR so would go ahead and merge this here.

pyvo/io/vosi/tests/test_tables.py Outdated Show resolved Hide resolved
@bsipocz bsipocz merged commit 3c8c67f into astropy:main Dec 6, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants