  import warnings
  
  SAFE_METHODS = ['GET', 'HEAD', 'OPTIONS']
  
  from rest_framework.compat import oauth2_provider_scope, oauth2_constants
  
  
  class BasePermission(object):
      """
      A base class from which all permission classes should inherit.
 
</s>
from rest_framework.compat import oauth2_provider_scope, oauth2_constants, guardian
  import warnings
  
  SAFE_METHODS = ['GET', 'HEAD', 'OPTIONS']
  
from rest_framework.compat import oauth2_provider_scope, oauth2_constants, guardian
  
  
  class BasePermission(object):
      """
      A base class from which all permission classes should inherit.
keep keep keep keep replace keep keep keep keep keep
 added guardian as optional requirement, stubbed out object-level permission class
rest_framework/permissions.py