summaryrefslogtreecommitdiff
path: root/python/vyos/xml_ref/__init__.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-08-21 19:40:52 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-08-25 17:20:50 -0500
commit57a0333c423f74ef733619f57dbfc608e513aa56 (patch)
treea548fd0edd703826ca3e187722826b53cb36087c /python/vyos/xml_ref/__init__.py
parentda64a7246e9b12d5bd84287517cfbfa59e364c28 (diff)
downloadveeos-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__.py6
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)