class FooConfig: """FooConfig. bim bam """ string_val: str = config.var(help="string") float_val: float = config.var(9.87, help="float") bool_val: bool = config.bool_var(help="bool") int_val: int = config.var(help="int") list_val: typing.List = config.var(list, help="list")
class FooConfig(config.Config, section="foo"): bar: str = "default" foobar: float = 9.87 baz: bool = config.bool_var(default=False)
class BimConfig: bar: BarConfig bam: bool = config.bool_var() bum: int = config.var(123) lst: typing.List = config.var(list)
class FooConfig: bar: str = "default" foobar: float = 9.87 baz: bool = config.bool_var(default=False)
class BimConfig(config.Config, section="bim"): bar: BarConfig bam: bool = config.bool_var() bum: int = config.var(123) lst: typing.List = config.var(list)