Skip to content

Commit

Permalink
fix: typed model meta import
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jun 7, 2024
1 parent 80d3419 commit 917f45c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rapid_router/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@

from codeforlife.user.models import User as _User
from django.db.models.query import QuerySet
from django_stubs_ext.db.models import TypedModelMeta

if t.TYPE_CHECKING:
from django_stubs_ext.db.models import TypedModelMeta

from .level import Level
else:
TypedModelMeta = object


class User(_User):
Expand Down

0 comments on commit 917f45c

Please sign in to comment.