From 6f0f553073d23b0e246f03db4b1a927c1f55cbe8 Mon Sep 17 00:00:00 2001 From: Sajid Alam Date: Fri, 29 Nov 2024 12:11:30 +0000 Subject: [PATCH] skip dataset names starting with _ Signed-off-by: Sajid Alam --- bundled/tool/lsp_server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundled/tool/lsp_server.py b/bundled/tool/lsp_server.py index 34be4b8..0d24c9a 100644 --- a/bundled/tool/lsp_server.py +++ b/bundled/tool/lsp_server.py @@ -584,6 +584,9 @@ async def validate_catalog(ls: KedroLanguageServer, uri: str): return # Invalid catalog format for dataset_name, dataset_config in catalog.items(): + if dataset_name.startswith('_'): + continue # Skip datasets starting with '_' + dataset_type = dataset_config.get('type') if dataset_type: is_importable, error_msg = is_dataset_importable(dataset_type)