From e03b82dbea37564dbe04c7c998b8d7043be3a03c Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Thu, 8 Jun 2023 17:06:16 -0700 Subject: [PATCH] Fix source usage in templates --- intake/source.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/intake/source.py b/intake/source.py index 7fa5153..6107baf 100755 --- a/intake/source.py +++ b/intake/source.py @@ -142,6 +142,9 @@ class LocalSource: self.source_name = source_name self.source_path: Path = data_path / source_name + def __str__(self) -> str: + return self.source_name + def get_config(self) -> dict: config_path = self.source_path / "intake.json" with open(config_path, "r", encoding="utf8") as config_file: