diff --git a/rest_framework/schemas/coreapi.py b/rest_framework/schemas/coreapi.py index 41f3155c5..4a1ecc0f2 100644 --- a/rest_framework/schemas/coreapi.py +++ b/rest_framework/schemas/coreapi.py @@ -11,7 +11,10 @@ from rest_framework.settings import api_settings from .generators import BaseSchemaGenerator from .inspectors import ViewInspector -from .utils import get_pk_description, is_list_view, ALLOW_FILTER_ACTIONS, ALLOW_FILTER_METHODS +from .utils import ( + ALLOW_FILTER_ACTIONS, ALLOW_FILTER_METHODS, get_pk_description, + is_list_view +) def common_path(paths): diff --git a/rest_framework/schemas/openapi.py b/rest_framework/schemas/openapi.py index c7f5d3a7b..b84702fe8 100644 --- a/rest_framework/schemas/openapi.py +++ b/rest_framework/schemas/openapi.py @@ -18,7 +18,10 @@ from rest_framework.settings import api_settings from .generators import BaseSchemaGenerator from .inspectors import ViewInspector -from .utils import get_pk_description, is_list_view, ALLOW_FILTER_ACTIONS, ALLOW_FILTER_METHODS +from .utils import ( + ALLOW_FILTER_ACTIONS, ALLOW_FILTER_METHODS, get_pk_description, + is_list_view +) class SchemaGenerator(BaseSchemaGenerator):