From 4c4a2ddd4cc0ac2dc6e3908c1480c017e9dab3e5 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 4 Jul 2023 19:09:04 -0500 Subject: config: T5330: retain information of internal _dict_merge --- python/vyos/xml_ref/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/vyos/xml_ref/__init__.py') diff --git a/python/vyos/xml_ref/__init__.py b/python/vyos/xml_ref/__init__.py index 62d3680a1..ad2130dca 100644 --- a/python/vyos/xml_ref/__init__.py +++ b/python/vyos/xml_ref/__init__.py @@ -48,6 +48,9 @@ def is_leaf(path: list) -> bool: def cli_defined(path: list, node: str, non_local=False) -> bool: return load_reference().cli_defined(path, node, non_local=non_local) +def from_source(d: dict, path: list) -> bool: + return load_reference().from_source(d, path) + def component_version() -> dict: return load_reference().component_version() -- cgit v1.2.3