We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e0ae4e commit 9588ef8Copy full SHA for 9588ef8
src/lightning/fabric/loggers/csv_logs.py
@@ -259,7 +259,7 @@ def _append_recorded_metrics(self) -> None:
259
metrics = self._fetch_recorded_metrics()
260
self.metrics = metrics + self.metrics
261
262
- def _fetch_recorded_metrics(self) -> List[Dict[str, Any]]:
+ def _fetch_recorded_metrics(self) -> list[dict[str, Any]]:
263
"""Fetches the previous recorded metrics."""
264
with self._fs.open(self.metrics_file_path, "r", newline="") as file:
265
return list(csv.DictReader(file))
0 commit comments