Hochfrequenz / kohlrahbi

An Anwendungshandbücher (AHB) scraper that extracts tables from docx files
https://pypi.org/project/kohlrahbi/
GNU General Public License v3.0
5 stars 2 forks source link

refactor: Replace `attrs` classes with `pydantic` ones and remove `marshmallow` #414

Closed hf-krechan closed 3 weeks ago

hf-krechan commented 3 weeks ago

I copied the test test_replacing_data_element_inputs from https://github.com/Hochfrequenz/mig_ahb_utility_stack/blob/7b91f58134af31ba872e6db987a9efc4f82304eb/tests/unit_tests/test_ahb.py

One DataElementFreeText did not make sense anymore cause it would had a None as free_text. So I removed one entry from the test. This entry is https://github.com/Hochfrequenz/mig_ahb_utility_stack/blob/1971e382e150da0498f3a934292784a565b139a2/tests/unit_tests/test_ahb.py#L832-L837