  used to annotate methods on viewsets that should be included by routers.
  """
  from __future__ import unicode_literals
  from django.utils import six
  
  from rest_framework.views import APIView
  
 
</s> remove from django.core import validators
 </s> add import inspect
 </s> remove import types
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from rest_framework import parsers
from rest_framework import renderers
 </s> add  </s> remove from django.core.exceptions import PermissionDenied
from django.http import Http404
 </s> add import inspect
import warnings

import types

  used to annotate methods on viewsets that should be included by routers.
  """
  from __future__ import unicode_literals
import types

  from django.utils import six
  
  from rest_framework.views import APIView
  
keep keep add keep keep keep keep
 Cleanup import following PEP 8 style guide 
rest_framework/decorators.py