-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Correct dict.get() usage in TreeGrid_to_json renderer and remove…
… debug print - Corrected the usage of dict.get() method by removing keyword arguments and using positional arguments instead. - Ensured the render method returns a dictionary as expected. - Updated the to_list method to properly call the render method and handle exceptions. - Improved the docstrings to reflect the correct return types and behaviors of the methods. - Removed a debug print statement introduced in a previous commit. This fixes the TypeError and ensures the TreeGrid is properly rendered to JSON format.
- Loading branch information
Br4guette
authored and
Br4guette
committed
Jul 23, 2024
1 parent
8d7b9d4
commit b9771ec
Showing
4 changed files
with
19 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from pathlib import Path | ||
|
||
DUMP_FILE = Path("./data/dump.raw") | ||
DUMP_FILE = Path("/home/braguette/dataset_memory/ch2.dmp") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters