Change type to class in configuration files - #391
Merged
Conversation
Member
|
Could you merge main into your branch to make sure everything is consistent with the recent changes? |
…eep support for type for backwards compatibility.
TeresiaOlsson
force-pushed
the
change-type-to-class-in-config
branch
from
September 10, 2026 09:39
886fa63 to
0a976a2
Compare
Member
Author
I rebased it on the current main now. |
Member
@gupichon |
JeanLucPons
self-requested a review
September 11, 2026 06:46
JeanLucPons
approved these changes
Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have made the updates so the default key in the configuration is class_path/class instead of type. Type is still supported so configuration files which are using the old format still is possible to load.
I could only change the BESSY II example for now since the others need PR python-accelerator-middle-layer/tango-pyaml#35 to be merged before they can be validated.
I also didn't change the configurations in the tests for now to avoid breaking it before the hackathon. For now I mostly want to update the files that users might look at to learn how to write the configuration so they learn the new format.