      r'<(?:(?P<converter>[^>:]+):)?(?P<parameter>\w+)>'
  )
  
  
  class EndpointEnumerator(object):
      """
      A class to determine the available API endpoints that a project exposes.
      """
      def __init__(self, patterns=None, urlconf=None):
          if patterns is None:
 
</s> remove class BoundField(object):
 </s> add class BoundField: </s> remove class APISettings(object):
 </s> add class APISettings: </s> remove         context = super(AdminRenderer, self).get_context(
 </s> add         context = super().get_context( </s> remove         super(SimpleRouter, self).__init__()
 </s> add         super().__init__() </s> remove class ErrorDetail(six.text_type):
 </s> add class ErrorDetail(str):
class EndpointEnumerator:
      r'<(?:(?P<converter>[^>:]+):)?(?P<parameter>\w+)>'
  )
  
  
class EndpointEnumerator:
      """
      A class to determine the available API endpoints that a project exposes.
      """
      def __init__(self, patterns=None, urlconf=None):
          if patterns is None:
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
rest_framework/schemas/generators.py