mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-20 17:59:00 +00:00
Some dictionaries may wish to have a default value that is a dictionary with the default of all keys. Add a method to generate this. This returns a callable instead of a plain dictionary. In practice, the generated default value should always be the same. However, we also expect that ArgValidator validation gives a result that is owned by the caller. In case of mutable values (like a dictionary), we want a deep clone. Signed-off-by: Thomas Haller <thaller@redhat.com> |
||
|---|---|---|
| .. | ||
| nm | ||
| __init__.py | ||
| argument_validator.py | ||
| ethtool.py | ||
| myerror.py | ||
| nm_provider.py | ||
| utils.py | ||