Silvan Melchior
Silvan Melchior
So far, the documentation only describes how ConfZ can be used, but not how it is recommended to use. A separate section in the config could go into more details...
For now, ConfZSources are isolated dataclasses with a common (empty) base class. However, this could be improved: - ConfZSources could be ConfZ classes again, so can use config_cources keyword argument....
If validation of a config class fails, the exception is raised by pydantic and not touched by confz at all. At the same time, confz might raise exceptions if the...
So far, command line arguments are parsed in a very simple way, reading from sys.argv directly. This allows to deal with arbitrary white spacing and with quotes. However, an equal...
By their nature, command line arguments and environment variables only support strings. Pydantic then casts them to other primitives, e.g. an integer. However, it is not possible to far to...
ConfZ allows to define the structure of your configuration with typehints. This structure could be translated directly to a specific config file format, e.g. yaml or json. This would allow...
It might be helpful to support nested config files, meaning that a config file could link within a (sub-) section to another file. So far, this is only possible by...
So far, there is no way of showing all available command line options if ConfZCLArgSource is used. It would be great to have an option to show a helper text...
It might be helpful to have a strict mode setting in confz, which imposes additional restrictions on config sources loading, like: - Do not allow overwriting config parameters from later...
Separate code of RaspiMJPEG into multiple files and improve coding style / readability