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

Ignore descriptive annotations during inversion #2

Closed
wants to merge 1 commit into from

Conversation

michaelmior
Copy link

Some keywords such as title do not have any impact on validation, so don't have a meaningful inverse.
This skips some of these keywords during inversion.

@otto-ifak
Copy link
Member

@michaelmior Thank you very much for your PR! You can pass a NormalizationConfig to the normalize function now, which contains an attribute discard_fields. Here I added - among some others - the annotation keywords you mention in your code.
(see commit 891564b)

@otto-ifak otto-ifak closed this Aug 29, 2024
@michaelmior
Copy link
Author

@otto-ifak Thanks!

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.

2 participants