Changes for schema registry for BPM - #330
Conversation
|
I'm wondering about the new docstring for the BPM. They were based on the docstrings for the ConfigModel but they say that all attributes should be catalog keys. But what if you are not using a catalog? |
from pyaml.accelerator import Accelerator
sr = Accelerator.load("tests/config/EBSOrbit.yaml")
SR = sr.design
print( SR.get_bpm("BPM_C04-04") )before: after: |
|
@JeanLucPons which configuration file have you used to check that? I'm having trouble with reviewing Teresia's merge request as none of the config files in examples (SOLEIL or BESSY) seems to load the accelerator. (including EBSorbit.yaml from tests/) |
|
I used the simple program example that I mentioned that loads "tests/config/EBSOrbit.yaml". |
gubaidulinvadim
left a comment
There was a problem hiding this comment.
I've made an issue #345 for string representation with the new configuration and I will try to find a solution to get string representation close to what it was before without loss of information.
Changes required for the schema registry and removing the config module for BPM.