Skip to content

Commit 5f51e99

Browse files
committed
Fix import of Self
1 parent dfb443e commit 5f51e99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django_tasks/backends/database/models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import logging
22
import uuid
3-
from typing import TYPE_CHECKING, Any, Generic, Optional, Self, TypeVar
3+
from typing import TYPE_CHECKING, Any, Generic, Optional, TypeVar
44

55
import django
66
from django.core.exceptions import SuspiciousOperation
@@ -10,7 +10,7 @@
1010
from django.utils import timezone
1111
from django.utils.module_loading import import_string
1212
from django.utils.translation import gettext_lazy as _
13-
from typing_extensions import ParamSpec
13+
from typing_extensions import ParamSpec, Self
1414

1515
from django_tasks.task import (
1616
DEFAULT_PRIORITY,

0 commit comments

Comments
 (0)