rework property handling
+ DataType validators are shifted to __call__ + as_json is moved to export_datatape() + new HasProperties Base Mixin for Modules/DataTypes + accessibles can be accessed via iterator of a module + properties are properly 'derived' and checked, are set with .setPropertyValue remember: parameters only have properties, so use getPropertyValue() Change-Id: Iae0273f971aacb00fe6bf05e6a4d24a6d1be881a Reviewed-on: https://forge.frm2.tum.de/review/20635 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
@ -83,7 +83,7 @@ class ReadOnlyError(SECoPError):
|
||||
pass
|
||||
|
||||
|
||||
class BadValueError(SECoPError):
|
||||
class BadValueError(ValueError, SECoPError):
|
||||
pass
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user