You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when validation fails for a Device with parents it is not clear which yaml file the failure is in.
We could catch the error in Device.deserialize and add some context, but this would be too late to tell which yaml file the problem is in because it is all loaded into one dictionary at this point. Perhaps Device.deserialize_parents should validate each as it is loaded and fail at that point.
The text was updated successfully, but these errors were encountered:
GDYendell
changed the title
Imrprove Device validation error messages
Improve Device validation error messages
Feb 21, 2024
Currently when validation fails for a
Device
with parents it is not clear which yaml file the failure is in.We could catch the error in
Device.deserialize
and add some context, but this would be too late to tell which yaml file the problem is in because it is all loaded into one dictionary at this point. PerhapsDevice.deserialize_parents
should validate each as it is loaded and fail at that point.The text was updated successfully, but these errors were encountered: