The @configurable decorator should check whether the callable has already been decorated (e.g. because it is a subclass of a decorated class) and if yes, make sure that the new settings are consistent with the old ones. In particular, maybe the new params should be added to the existing list instead of overriding it (unless the subclass overrides __init__...?).
The
@configurabledecorator should check whether the callable has already been decorated (e.g. because it is a subclass of a decorated class) and if yes, make sure that the new settings are consistent with the old ones. In particular, maybe the newparamsshould be added to the existing list instead of overriding it (unless the subclass overrides__init__...?).