Module Expr Str ImportFrom alias alias ImportFrom alias identifier ImportFrom alias identifier ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore CompareIn AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return NameLoad If Call NameLoad NameLoad Str body Return BoolOpOr NameLoad UnaryOpNot AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse If Call NameLoad NameLoad Str body Assign NameStore IfExp NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assert NameLoad Str decorator_list decorator_list
N/A N/A 
Django REST Framework OAuth
 rest_framework.permissions BasePermission SAFE_METHODS provider scope oauth2_provider_scope provider constants oauth2_constants TokenHasReadWriteScope N/A BasePermission N/A N/A 
    The request is authenticated as a user and the token used has the right scope
     has_permission N/A N/A self request view N/A N/A N/A token N/A request auth N/A read_only N/A N/A request method SAFE_METHODS N/A N/A token N/A N/A False N/A N/A hasattr token resource N/A N/A N/A read_only N/A N/A N/A N/A request auth resource is_readonly N/A N/A N/A hasattr token scope N/A N/A required N/A read_only N/A oauth2_constants READ N/A oauth2_constants WRITE N/A N/A N/A oauth2_provider_scope check required N/A N/A request auth scope N/A False TokenHasReadWriteScope requires either the`OAuthAuthentication` or `OAuth2Authentication` authentication class to be used. N/A N/A