Skip to content

Conversation

@thammel
Copy link

@thammel thammel commented Nov 21, 2025

Previously, the AASXReader did not load the thumbnail in the read_into function, instead a separate function needed to be called. This behavior did also occur in AASXWriter with writing the thumbnail. This was unintuitive, as it required a separat call of the load/save function.

This PR implements the loading/storing of the thumbnail directly in the loading/storing of other supplementary files.

Fixes #435

…ackage

Previously, the `AASXReader` did not load the thumbnail in the `read_into` function, instead a separate function needed to be called. This behavior did also occur in `AASXWriter` with writing the thumbnail. This was unintuitive, as it required a separat call of the load/save function.

This PR implements the loading/storing of the thumbnail directly in the loading/storing of other supplementary files.

Fixes eclipse-basyx#435
@s-heppner
Copy link
Contributor

I took the liberty to add some small changes. Could you please fix the remaining issues? The static-analysis ones are simple "line too long" codestyle issues, the docs one should have a wrong path to the AssetInformation.default_thumbnail attribute in the docstring.

@zrgt zrgt merged commit 562b967 into eclipse-basyx:develop Dec 10, 2025
15 checks passed
@thammel thammel deleted the add/load-save-thumbnail branch December 18, 2025 09:14
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.

3 participants