Skip to content

Remove some fields from datasets - #911

Merged
bennybp merged 4 commits into
mainfrom
rm_ds_fields
Mar 21, 2025
Merged

Remove some fields from datasets#911
bennybp merged 4 commits into
mainfrom
rm_ds_fields

Conversation

@bennybp

@bennybp bennybp commented Mar 14, 2025

Copy link
Copy Markdown
Contributor

Description

This PR removes 3 fields from the database and models. These fields were never really used, and the group field causes some confusion about what it means.

The fields:

  • metadata renamed to extras - extras was never able to be set or modified, but metadata is confusing
  • group - some sort of grouping available for the dataset. Superseded by tags (where each dataset can have multiple tags)
  • visibility - meant to hid datasets from public view. Never implemented

These PR should be should be compatible with older clients for the time being. New clients won't work with old servers. Some future version will remove the compatibility with old clients completely.

The HTTP API has not changed, and is accepting of old clients. In addition, you may still access the metadata field of a the dataset class, which is transparently redirected to extras.

Status

  • Code base linted
  • Ready to go

@bennybp
bennybp merged commit f146664 into main Mar 21, 2025
@bennybp
bennybp deleted the rm_ds_fields branch March 21, 2025 14:22
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