Module Expr Str ImportFrom alias ImportFrom alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Num vararg kwarg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body If BoolOpAnd Call NameLoad NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr body Return Call NameLoad NameLoad NameLoad NameLoad orelse ImportFrom alias Assign NameStore Call NameLoad Str Raise Call NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body If BoolOpAnd Call NameLoad NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr body Return Call NameLoad NameLoad NameLoad NameLoad orelse ImportFrom alias Assign NameStore Call NameLoad Str Raise Call NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad orelse ImportFrom alias Assign NameStore Call NameLoad Str Raise Call NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Str body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list If CompareEq Call AttributeLoad NameLoad attr Str NameLoad Str body Assign NameStore NameStore Lambda arguments args NameParam defaults NameLoad
N/A N/A 
github3.decorators
==================

This module provides decorators to the rest of the library

 functools wraps requests.models Response N/A os N/A N/A StringIO StringIO N/A N/A N/A ImportError N/A io BytesIO StringIO RequestsStringIO N/A StringIO N/A read N/A N/A self n N/A -1 args kwargs N/A N/A N/A N/A StringIO read self n N/A N/A requires_auth N/A N/A func N/A N/A N/A Decorator to note which object methods require authorization. auth_wrapper N/A N/A self N/A args kwargs N/A N/A N/A N/A hasattr self session N/A N/A N/A self session has_auth N/A N/A N/A func self args kwargs N/A exceptions error_for N/A r N/A generate_fake_error_response {"message": "Requires authentication"} N/A N/A error_for r N/A N/A wraps func N/A auth_wrapper N/A requires_basic_auth N/A N/A func N/A N/A N/A Specific (basic) authentication decorator.

    This is used to note which object methods require username/password
    authorization and won't work with token based authorization.

     auth_wrapper N/A N/A self N/A args kwargs N/A N/A N/A N/A hasattr self session N/A N/A self session auth N/A N/A N/A func self args kwargs N/A exceptions error_for N/A r N/A generate_fake_error_response {"message": "Requires username/password authentication"} N/A N/A error_for r N/A N/A wraps func N/A auth_wrapper N/A requires_app_credentials N/A N/A func N/A N/A N/A Require client_id and client_secret to be associated.

    This is used to note and enforce which methods require a client_id and
    client_secret to be used.

     auth_wrapper N/A N/A self N/A args kwargs N/A N/A N/A client_id client_secret N/A N/A N/A self session retrieve_client_credentials N/A N/A client_id client_secret N/A N/A N/A func self args kwargs N/A exceptions error_for N/A r N/A generate_fake_error_response {"message": "Requires username/password authentication"} N/A N/A error_for r N/A N/A wraps func N/A auth_wrapper N/A generate_fake_error_response N/A N/A msg status_code encoding N/A 401 utf-8 N/A N/A r N/A Response N/A N/A r status_code status_code N/A N/A r encoding encoding N/A N/A r raw N/A RequestsStringIO N/A N/A msg encode N/A N/A r _content_consumed True N/A N/A r _content N/A N/A N/A r raw read N/A r N/A N/A N/A N/A N/A os getenv GENERATING_DOCUMENTATION None github3 N/A N/A requires_auth requires_basic_auth N/A N/A N/A x N/A x