Open himanshugt16 opened 1 month ago
The changes introduce logging functionality to the csv_to_dict_list
method in the kairon/importer/content_importer.py
file. A new logger is imported, and checks are added to determine the existence of a summary directory. Informational log messages are generated for directory creation and pre-existence, as well as before writing validation errors to the summary file, enhancing traceability without altering the method's original structure or logic.
Files | Change Summary |
---|---|
kairon/importer/content_importer.py | Added logging functionality to the csv_to_dict_list method, including directory existence checks and log messages for directory creation and error file writing. |
In the code where rabbits hop,
Logging now helps us never stop.
With messages clear, we trace our way,
Creating paths where errors play.
A summary bright, in logs we trust,
In Kairon’s heart, we code with gusto! 🐰✨
Summary by CodeRabbit
New Features
Bug Fixes