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

Support stripping metadata #77

Merged
merged 4 commits into from
May 21, 2024
Merged

Support stripping metadata #77

merged 4 commits into from
May 21, 2024

Conversation

spbnick
Copy link
Collaborator

@spbnick spbnick commented May 21, 2024

This adds support for stripping metadata from I/O data. There's no real need for that right now, but it could come in useful.

This also includes a couple minor fixes.

Return NotImplemented from comparison methods, as is standard approach,
instead of raising NotImplementedError, in the abstract schema.
Check that the compared value is a type in the abstract schema's
comparison methods, otherwise we'll get an exception from issubclass(),
when it's not.
@spbnick spbnick force-pushed the support_stripping_metadata branch from 7e29b84 to 64d8080 Compare May 21, 2024 10:43
@spbnick
Copy link
Collaborator Author

spbnick commented May 21, 2024

Let's wait for the corresponding kcidb run: https://github.com/kernelci/kcidb/actions/runs/9173354252

@spbnick spbnick merged commit 1950314 into main May 21, 2024
4 checks passed
@spbnick spbnick deleted the support_stripping_metadata branch May 21, 2024 14:05
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