Remove unused variable.

master
Tom Hacohen 4 years ago
parent 64be7f10bd
commit 6738c2cf20

@ -8,7 +8,7 @@ from django.db.models import Q, QuerySet
from fastapi import APIRouter, Depends, status, Request from fastapi import APIRouter, Depends, status, Request
from django_etebase import models 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 .authentication import get_authenticated_user
from ..exceptions import HttpError, transform_validation_error, PermissionDenied, ValidationError from ..exceptions import HttpError, transform_validation_error, PermissionDenied, ValidationError
from ..msgpack import MsgpackRoute from ..msgpack import MsgpackRoute
@ -27,7 +27,6 @@ from ..utils import (
from ..dependencies import get_collection_queryset, get_item_queryset, get_collection from ..dependencies import get_collection_queryset, get_item_queryset, get_collection
from ..sendfile import sendfile from ..sendfile import sendfile
User = get_typed_user_model
collection_router = APIRouter(route_class=MsgpackRoute, responses=permission_responses) collection_router = APIRouter(route_class=MsgpackRoute, responses=permission_responses)
item_router = APIRouter(route_class=MsgpackRoute, responses=permission_responses) item_router = APIRouter(route_class=MsgpackRoute, responses=permission_responses)
CollectionQuerySet = QuerySet[models.Collection] CollectionQuerySet = QuerySet[models.Collection]

Loading…
Cancel
Save