diff options
| author | John Estabrook <jestabro@vyos.io> | 2024-08-21 19:40:52 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2024-08-25 17:20:50 -0500 |
| commit | 57a0333c423f74ef733619f57dbfc608e513aa56 (patch) | |
| tree | a548fd0edd703826ca3e187722826b53cb36087c /python/vyos/xml_ref/__init__.py | |
| parent | da64a7246e9b12d5bd84287517cfbfa59e364c28 (diff) | |
| download | veeos-1x-57a0333c423f74ef733619f57dbfc608e513aa56.tar.gz veeos-1x-57a0333c423f74ef733619f57dbfc608e513aa56.zip | |
xml: T5666: add with_tag keyword arg to owner
Diffstat (limited to 'python/vyos/xml_ref/__init__.py')
| -rw-r--r-- | python/vyos/xml_ref/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/vyos/xml_ref/__init__.py b/python/vyos/xml_ref/__init__.py index 91ce394f7..99d8432d2 100644 --- a/python/vyos/xml_ref/__init__.py +++ b/python/vyos/xml_ref/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 VyOS maintainers and contributors <maintainers@vyos.io> +# Copyright 2024 VyOS maintainers and contributors <maintainers@vyos.io> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -54,8 +54,8 @@ def is_valueless(path: list) -> bool: def is_leaf(path: list) -> bool: return load_reference().is_leaf(path) -def owner(path: list) -> str: - return load_reference().owner(path) +def owner(path: list, with_tag=False) -> str: + return load_reference().owner(path, with_tag=with_tag) def priority(path: list) -> str: return load_reference().priority(path) |
