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

Show provenance for annotations in web app #1095

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Apr 16, 2024

This is a proof of concept showing that we can propagate information about where a field displayed on the Bioregistry came from. This is important because the Bioregistry imports data from other registries, so it's useful to know where an annotation (e.g., the name associated with a prefix) came from, and under what license it's being reused.

For simple fields like name and description, this PoC shows that we can update the functions that get the data to return extra information. However, for more complex fields, it might be better to have a wrapper data structure (e.g., a 2-tuple, a dataclass) that incorporates the source information and the actual data

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.

1 participant