Skip to content

Commit

Permalink
skip dataset names starting with _
Browse files Browse the repository at this point in the history
Signed-off-by: Sajid Alam <sajid_alam@mckinsey.com>
  • Loading branch information
SajidAlamQB committed Nov 29, 2024
1 parent 66c3cf1 commit 6f0f553
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bundled/tool/lsp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6f0f553

Please sign in to comment.