Skip to content

refactor get_info() functions of external reference systems - #35

Merged
AlexanderWatzinger merged 1 commit into
developfrom
feature/pydantic-ext-ref-system
Oct 7, 2026
Merged

AlexanderWatzinger merged 1 commit into
developfrom
feature/pydantic-ext-ref-system

Conversation

@BernhardKoschicek

Copy link
Copy Markdown
Member

Issue #2866

I wanted to add pydantic to remove the try/except and the many isinstance calls, but in the end I just refactored the functions to use the walrus operator and the more secure dict.get() method. I think it is now more readable. But it is more a refactor than new fancy code.

Thanks @AlexanderWatzinger for reviewing.

@AlexanderWatzinger
AlexanderWatzinger merged commit 20fb562 into develop Oct 7, 2026
7 of 8 checks passed

This branch was successfully deployed

1 active deployment
review-feature-pydantic-ext-ref-system — 64d7a4e2 Deployed Oct 7, 2026 by BernhardKoschicek via test_openatlas_modern #3595
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