From 6738c2cf20bb1d5a0e24c9910bb0345fb59716cf Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 30 Dec 2020 13:55:05 +0200 Subject: [PATCH] Remove unused variable. --- etebase_fastapi/routers/collection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etebase_fastapi/routers/collection.py b/etebase_fastapi/routers/collection.py index b716105..2041ce7 100644 --- a/etebase_fastapi/routers/collection.py +++ b/etebase_fastapi/routers/collection.py @@ -8,7 +8,7 @@ from django.db.models import Q, QuerySet from fastapi import APIRouter, Depends, status, Request from django_etebase import models -from myauth.models import UserType, get_typed_user_model +from myauth.models import UserType from .authentication import get_authenticated_user from ..exceptions import HttpError, transform_validation_error, PermissionDenied, ValidationError from ..msgpack import MsgpackRoute @@ -27,7 +27,6 @@ from ..utils import ( from ..dependencies import get_collection_queryset, get_item_queryset, get_collection from ..sendfile import sendfile -User = get_typed_user_model collection_router = APIRouter(route_class=MsgpackRoute, responses=permission_responses) item_router = APIRouter(route_class=MsgpackRoute, responses=permission_responses) CollectionQuerySet = QuerySet[models.Collection]