(self, **kwargs)
| 55 | mode = Enum(values=["on", "off", "other"], default_value="on").tag(config=True) |
| 56 | |
| 57 | def __init__(self, **kwargs): |
| 58 | super().__init__(**kwargs) |
| 59 | # using parent=self allows configuration in the form c.Foo.SubConfigurable.subvalue=1 |
| 60 | # while c.SubConfigurable.subvalue=1 will still work, this allow to |
| 61 | # target specific instances of SubConfigurables |
| 62 | self.subconf = SubConfigurable(parent=self) |
| 63 | |
| 64 | def describe(self): |
| 65 | print("I am Foo with:") |
no test coverage detected