diff --git a/vng_api_common/extensions/filters/query.py b/vng_api_common/extensions/filters/query.py index 6143cdd6..e4a7d0fe 100644 --- a/vng_api_common/extensions/filters/query.py +++ b/vng_api_common/extensions/filters/query.py @@ -6,8 +6,8 @@ from drf_spectacular.extensions import OpenApiFilterExtension from rest_framework.filters import OrderingFilter -from vng_api_common.filters import URLModelChoiceFilter from vng_api_common.extensions.utils import get_target_field +from vng_api_common.filters import URLModelChoiceFilter from vng_api_common.oas import TYPE_ARRAY, TYPE_STRING from vng_api_common.utils import underscore_to_camel diff --git a/vng_api_common/polymorphism.py b/vng_api_common/polymorphism.py index f0469d59..750902cd 100644 --- a/vng_api_common/polymorphism.py +++ b/vng_api_common/polymorphism.py @@ -38,6 +38,7 @@ from typing import Any, Dict, Union from django.core.exceptions import FieldDoesNotExist + from rest_framework import serializers __all__ = ["Discriminator", "PolymorphicSerializer"]