GaudiConfig2: strict type checking for list properties
Allow only `list` types to be assigned to `list` properties and extend test coverage. This brings GaudiConfig2 in line with the legacy configurables. I.e. the following now fails: ``` MyAlg.MyVecOfStrings = "abc" ```
parent
e1af807e
No related branches found
No related tags found
This commit is part of merge request !1518. Comments created here will be created in the context of that merge request.
Showing
- GaudiConfiguration/python/GaudiConfig2/semantics.py 6 additions, 1 deletionGaudiConfiguration/python/GaudiConfig2/semantics.py
- GaudiConfiguration/tests/python/test_mapping_semantics.py 6 additions, 0 deletionsGaudiConfiguration/tests/python/test_mapping_semantics.py
- GaudiConfiguration/tests/python/test_sequence_semantics.py 6 additions, 0 deletionsGaudiConfiguration/tests/python/test_sequence_semantics.py
- GaudiConfiguration/tests/python/test_serialization.py 5 additions, 5 deletionsGaudiConfiguration/tests/python/test_serialization.py
Please register or sign in to comment