Der Projekt-Lifecycle auf git.rwth-aachen.de (Siehe: https://help.itc.rwth-aachen.de/service/ubrf9cmzd17m/article/1a0cfe327ffd46d7a62ab48df29c5b72/) wurde repariert und arbeitet derzeit ausstehende Projekte ab. Daher kommt es zu erhöhtem Mail-Aufkommen bei Projekten mit längerer Inaktivität.
--
The project lifecycle on git.rwth-aachen.de (see: https://help.itc.rwth-aachen.de/service/ubrf9cmzd17m/article/1a0cfe327ffd46d7a62ab48df29c5b72/) has been repaired and is currently processing pending projects. As a result, there is an increased volume of mail for projects with longer periods of inactivity.
Due to maintenance at 17.06.2025 from 8:00 to 09:00, git.rwth-aachen.de & git-ce.rwth-aachen.de will be temporarily unavailable. In maintenance, GitLab is updated to version 18. Information about changes can be found at: https://about.gitlab.com/blog/2025/04/18/a-guide-to-the-breaking-changes-in-gitlab-18-0/#breaking-changes
This merge request adds the customizing pattern from the json serialization to the xml serialization - which is now not necessary anymore for it's original usecase, but will be useful for parsing stripped xml elements in the http api.
Furthermore, the functions read_aas_xml_file_into()
and read_aas_xml_element()
were added. read_aas_xml_element()
should originally accept a type and a decoder class, but because mypy doesn't narrow down type variables for if type_ is SomeType
and the issue was still present with if issubclass(type_, SomeType)
, despite it narrowing down the type, I decided to change the API and just pass a constructor function to it, as I think that it is prettier than telling mypy to ignore the type at the end of each line.
see #63 (closed) #91
fixes #74 (closed)