diff --git a/CHANGELOG.md b/CHANGELOG.md index 08b47840c4c517abeb9f8c9a8c096dd6f3e4ba92..3a89918a16f7137d15c7656c063d8ae94a55eeea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ConverterValidationError when the YAML header cannot be read instead of silently not matching. - Refactoring of the crawl.py module: Now there is a separate scanner module handling the collecting of information that is independent of CaosDB itself. +- The signature of the function ``save_debug_data`` was changed to explicitely take the debug_tree + as its first argument. This change was necessary, as the debug_tree is no longer saved as + member field of the Crawler class. ### Deprecated ### diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py index 7de1927516f2bb9a5532b1c7ac8dcd3df83a4efa..ace76638fa207903cde32917729956b18d50717a 100644 --- a/src/caoscrawler/crawl.py +++ b/src/caoscrawler/crawl.py @@ -918,6 +918,11 @@ ____________________\n""".format(i + 1, len(pending_changes)) + str(el[3])) return res def save_debug_data(self, debug_tree: DebugTree, filename: str): + """ + Save the information contained in a debug_tree to a file named filename. + """ + + paths: dict[str, Union[dict, list]] = dict() def flatten_debug_info(key):