Skip to content

Commit ac0f35f

Browse files
committed
import Self from typing_extensions for python 3.10 compatibility
1 parent 02c168b commit ac0f35f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyRadPlan/dij/_dij.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Contains the dij class as a (collection of) influence matrices."""
22

3-
from typing import Any, Union, Annotated, Optional, cast, Self
3+
from typing import Any, Union, Annotated, Optional, cast
4+
from typing_extensions import Self
45
import logging
56

67
from pydantic import (

0 commit comments

Comments
 (0)