Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

hotfix for mymy with dataclasses

Edgar Ribafb47ca8f6143
diff --git a/kornia/x/utils.py b/kornia/x/utils.py
index e0a33c5af..d213bf3dc 100644
--- a/kornia/x/utils.py
+++ b/kornia/x/utils.py
@@ -1,4 +1,5 @@
-from dataclasses import dataclass, field
+# TODO: remove the type: ignore in below after deprecating python 3.6
+from dataclasses import dataclass, field # type: ignore
from enum import Enum
from pathlib import Path