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
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-08-26 05:25:22 +0000
commita509b8d375768dcfba193389cb5c051c92935519 (patch)
tree6cb13557525b3efe60002fe43fd89c28aac77558 /python/vyos/xml_ref/__init__.py
parentaaeb7e3431cc7ddc8a0fbaf9c846d686b0fc7203 (diff)
downloadvyos-1x-a509b8d375768dcfba193389cb5c051c92935519.tar.gz
vyos-1x-a509b8d375768dcfba193389cb5c051c92935519.zip
xml: T5666: add with_tag keyword arg to owner
(cherry picked from commit 57a0333c423f74ef733619f57dbfc608e513aa56)
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 2ba3da4e8..7e9bf2b43 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
@@ -53,8 +53,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)