Skip to content

Refactor/return traits from loader#3

Merged
leifdenby merged 6 commits intomainfrom
refactor/return-traits-from-loader
Mar 20, 2026
Merged

Refactor/return traits from loader#3
leifdenby merged 6 commits intomainfrom
refactor/return-traits-from-loader

Conversation

@leifdenby
Copy link
Copy Markdown
Member

In the new altered design the loaders define the specific traits of the dataset they return. When validating these datasets against the specs we need to know what these traits are, and so this informations needs to be extracted from the data loader. Rather than assign the traits onto the dataset (say as an attribute), which might give the impression that the dataset has already been validated to have those traits, we optionally return the traits from the loader as well as the dataset.

This PR makes the change to return those dataset traits and updates the README and tests to reflect this change.

@leifdenby leifdenby merged commit 590a67c into main Mar 20, 2026
3 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.

1 participant