mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
ArgValidatorDeprecated is used as a nested validator, it also should subtype ArgValidator base class. Technially, in python you can do duck typing and get away with a different class that merely behaves sufficiently similar. But why? That way, we also can set default_value=ArgValidator.MISSING. As a result, we no longer need to special case ArgValidatorDeprecated at various places, because the default value will indicate that it should not be present. Co-authored-by: Till Maas <opensource@till.name> Signed-off-by: Thomas Haller <thaller@redhat.com> |
||
|---|---|---|
| .. | ||
| network_lsr | ||