Skip to content

Commit e47eded

Browse files
committed
Fix pre-commit issue with py311
Signed-off-by: Fabrice Normandin <[email protected]>
1 parent cd12bc5 commit e47eded

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project/algorithms/callbacks/classification_metrics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import warnings
22
from logging import getLogger as get_logger
3-
from typing import Literal, TypedDict
3+
from typing import Literal, NotRequired, Required, TypedDict
44

55
import lightning
66
import torch
77
import torchmetrics
88
from lightning import LightningModule, Trainer
99
from torch import Tensor
1010
from torchmetrics.classification import MulticlassAccuracy
11-
from typing_extensions import NotRequired, Required, override
11+
from typing_extensions import override
1212

1313
from project.utils.typing_utils.protocols import ClassificationDataModule
1414

0 commit comments

Comments
 (0)