🐛 Remove 3.9 type syntax

This commit is contained in:
nikolark committed 2022-02-20 00:57:12 +01:00
1 parent eace79f012
commit e5de16f227
1 file changed
+3 -1
+3 -1
View File
@@ -1,3 +1,5 @@
from typing import List
import strawberry
import strawberry_django
from django.contrib.auth.models import User as DjangoUser
@@ -8,7 +10,7 @@ from bbs.api.types.users import User
@strawberry.type
class UsersQueries:
all_users: list[User] = strawberry_django.field()
all_users: List[User] = strawberry_django.field()
@strawberry.field
def user(self, user_id: ID) -> User: