fix: Remove indentation from statistics logging and print the data in tables by TymeeK · Pull Request #322 · apify/crawlee-python
The purpose of the PR is to fix the indentation of statistics logging. It was originally 8 space indentation but now it is changed to be all on one line.
I went through the unit test files and logged out what the output would be for the statistics loggin.
[crawlee.basic_crawler.basic_crawler] INFO Final request statistics: {"requests_finished": 3, "requests_failed": 0, "retry_histogram": [3], "request_avg_failed_duration": null, "request_avg_finished_duration": 0.000984, "requests_finished_per_minute": 7348, "requests_failed_per_minute": 0, "request_total_duration": 0.002951, "requests_total": 3, "crawler_runtime": 0.024498}