Skip to content

Commit 9588ef8

Browse files
committed
typing
1 parent 7e0ae4e commit 9588ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/fabric/loggers/csv_logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def _append_recorded_metrics(self) -> None:
259259
metrics = self._fetch_recorded_metrics()
260260
self.metrics = metrics + self.metrics
261261

262-
def _fetch_recorded_metrics(self) -> List[Dict[str, Any]]:
262+
def _fetch_recorded_metrics(self) -> list[dict[str, Any]]:
263263
"""Fetches the previous recorded metrics."""
264264
with self._fs.open(self.metrics_file_path, "r", newline="") as file:
265265
return list(csv.DictReader(file))

0 commit comments

Comments
 (0)