Skip to content

Conversation

elanou
Copy link

@elanou elanou commented Sep 11, 2025

Possible fix for #192

Right now the TDocumentSchema is unusable due to textract outputting new fields that are "unknown" to the nested TGeometrySchema.

This fix applies the option to exclude unknown fields to the BaseSchema which the others inherit from. This will fix the current issue and prevent this from happening in the future where textract model updates are not immediately captured in this library.

There should probably be another PR for adding support for RotationAngle in the geometry schema.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…ct model don't cause marshmallow validation errors and kill existing functionality of this library.
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