Age | Commit message (Collapse) | Author |
|
|
|
|
|
opmode: T4950: add set to the list of op mode functions
|
|
op mode: T4951: add InsufficientResources error
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This commit excludes `return` from `typing.get_type_hints()` output,
which allows generate argparse arguments for function properly.
|
|
|
|
|
|
Signed-off-by: Daniil Baturin <daniil@vyos.io>
|
|
Since Python as of 3.9 doesn't give us an option to look up
argument's default value by its name,
this implementation requires that all boolean options
must default to false.
|
|
|
|
|
|
|
|
|
|
based on type hints and introspection
|