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

Improving servicetype documentation #410

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

msdemlei
Copy link
Contributor

This lists all shorthands listed in SERVICE_TYPE_MAPS, even the legacy ones. Closes: #400.

Also, Adding Constraint to rtcons' exported names. That's partly to make it easier for user code to define their own RegTAP constraints, partly to get it documented.

This lists all shorthands listed in SERVICE_TYPE_MAPS, even the legacy
ones.  Closes: astropy#400.

Also, Adding Constraint to rtcons' exported names.  That's partly to
make it easier for user code to define their own RegTAP constraints, partly to
get it documented.
@codecov
Copy link

codecov bot commented Jan 26, 2023

Codecov Report

Merging #410 (84818a6) into main (085a04f) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #410   +/-   ##
=======================================
  Coverage   79.97%   79.97%           
=======================================
  Files          52       52           
  Lines        5972     5972           
=======================================
  Hits         4776     4776           
  Misses       1196     1196           
Impacted Files Coverage Δ
pyvo/registry/rtcons.py 97.67% <ø> (ø)
pyvo/registry/__init__.py 100.00% <100.00%> (ø)

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

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.

Would you think it would make sense to also mention these in the narrative docs? E.g. here https://pyvo.readthedocs.io/en/latest/registry/index.html#service-discovery?

@msdemlei
Copy link
Contributor Author

msdemlei commented Jan 27, 2023 via email

@bsipocz
Copy link
Member

bsipocz commented Jan 27, 2023

While in general, I'd like to nudge people away from using
servicetype constraints in normal data discovery

I'm not against this, but we have used it in tutorials, so those materials needs to be updated as well.

(Also, I don't have a strong opinion of how much should be done about this, the whole issue about this came up during the NAVO workshop where a user had a bit of a hard time to find out from the docs of what the possible servicetypes are)

@bsipocz
Copy link
Member

bsipocz commented Jan 27, 2023

Hence, my suggestion: Merge this, and then let's work on #399.

👍

@bsipocz bsipocz merged commit b9a3aa0 into astropy:main Jan 27, 2023
bsipocz added a commit that referenced this pull request Mar 7, 2023
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.

DOCS: not all servicetype types and sorthands are listed in documentation
2 participants