Skip to content

Commit 04db724

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a43b771 commit 04db724

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/common/metadata/types.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
from typing import TypedDict, Any, NotRequired, Protocol
2-
from django.contrib.contenttypes.models import ContentType
1+
from typing import Any, NotRequired, Protocol, TypedDict
2+
33

44
class HasId(Protocol):
5-
id: int
5+
id: int
6+
67

78
class MetadataItem(TypedDict, total=False):
89
model_field: HasId

0 commit comments

Comments
 (0)