(self)
| 144 | return {"time": time} |
| 145 | |
| 146 | def log_crawler_stats(self) -> dict[str, Any]: |
| 147 | stats = { |
| 148 | k: v |
| 149 | for k, v in self.stats._stats.items() |
| 150 | if self.param_allowed(k, self.ext_stats_include, self.ext_stats_exclude) |
| 151 | } |
| 152 | return {"stats": stats} |
| 153 | |
| 154 | def param_allowed( |
| 155 | self, stat_name: str, include: Sequence[str], exclude: Sequence[str] |