Module Assign NameStore Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str NameLoad NameLoad Str body If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Dict Str Str Str Str Assign NameStore Dict Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword BinOpAdd NameLoad Str keyword BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad keyword NameLoad keyword BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad keyword BinOpAdd NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr Str decorator_list AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad FunctionDef arguments args defaults body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If CompareIn Str AttributeLoad NameLoad attr body Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Return Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args defaults body Assign NameStore Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign SubscriptStore NameLoad Index BinOpAdd NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call NameLoad Str Return Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad BinOpMod Str NameLoad Return Call NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareIn NameLoad TupleLoad Str Str Str body Assign NameStore TupleLoad NameLoad TupleLoad NameLoad Call AttributeLoad NameLoad attr Str Str Dict Str Str orelse Assign NameStore TupleLoad NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Call NameLoad keyword NameLoad keyword NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign SubscriptStore NameLoad Index Str Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad If CompareGt NameLoad BinOpMult Num Num body Assign NameStore Call AttributeLoad NameLoad attr keyword BinOpAdd NameLoad Str keyword NameLoad Return AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str keyword AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str attr orelse Return AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad keyword Str attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body Return Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str body Expr Call NameLoad Str orelse Raise ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A N/A __version__ 0.2.46 N/A sys future.utils iteritems future.moves.urllib.parse urlencode flask request session redirect url_for flash Blueprint flask_oauthlib.client OAuth OAuthException requests.models Request MWOAuth N/A object N/A __init__ N/A N/A self base_url clean_url default_return_to consumer_key consumer_secret name N/A https://www.mediawiki.org/w https://www.mediawiki.org/wiki index None None mw.org N/A N/A N/A N/A consumer_key N/A consumer_secret N/A N/A N/A Exception MWOAuthBlueprintFactory needs consumer key and secret N/A N/A self base_url base_url N/A N/A self default_return_to default_return_to N/A N/A self oauth N/A OAuth N/A request_url_params N/A title oauth_callback Special:OAuth/initiate oob N/A access_token_params N/A title Special:OAuth/token N/A N/A self mwoauth N/A N/A N/A self oauth remote_app name base_url N/A base_url /index.php request_token_url N/A N/A base_url /index.php? N/A urlencode request_url_params request_token_params None access_token_url N/A N/A base_url /index.php? N/A urlencode access_token_params authorize_url N/A clean_url /Special:OAuth/authorize consumer_key consumer_key consumer_secret consumer_secret get_mwo_token N/A N/A token N/A None N/A N/A N/A N/A session get mwo_token N/A N/A N/A self mwoauth tokengetter N/A N/A self bp N/A Blueprint mwoauth __name__ logout N/A N/A N/A N/A N/A N/A session N/A mwo_token None N/A N/A session N/A username None N/A N/A next N/A request args N/A N/A N/A redirect N/A N/A request args N/A next N/A Logged out! N/A N/A N/A N/A self bp route /logout login N/A N/A N/A N/A N/A uri_params N/A oauth_consumer_key N/A N/A self mwoauth consumer_key N/A redirector N/A N/A N/A self mwoauth authorize uri_params N/A N/A next N/A request args N/A N/A oauth_token N/A N/A session N/A N/A N/A N/A self mwoauth name _oauthtok N/A 0 N/A N/A session N/A N/A oauth_token _target N/A N/A request args N/A next N/A redirector N/A N/A N/A N/A self bp route /login oauth_authorized N/A N/A N/A N/A N/A resp N/A N/A N/A self mwoauth authorized_response N/A next_url_key N/A N/A N/A request args N/A oauth_token _target N/A default_url N/A url_for N/A self default_return_to N/A next_url N/A N/A session pop next_url_key default_url N/A N/A resp None N/A N/A N/A flash You denied the request to sign in. N/A N/A redirect next_url N/A N/A session N/A mwo_token N/A N/A resp N/A oauth_token N/A resp N/A oauth_token_secret N/A username N/A N/A self get_current_user False N/A N/A flash N/A You were signed in, %s! username N/A N/A redirect next_url N/A N/A N/A N/A self bp route /oauth-callback N/A _prepare_long_request N/A N/A url api_query N/A N/A N/A  Use requests.Request and requests.PreparedRequest to produce the
            body (and boundary value) of a multipart/form-data; POST request as
            detailed in https://www.mediawiki.org/wiki/API:Edit#Large_texts
         N/A partlist N/A N/A N/A k v N/A iteritems api_query N/A N/A N/A k N/A title text summary N/A N/A part N/A k N/A None N/A N/A v encode utf-8 text/plain; charset=UTF-8 N/A Content-Transfer-Encoding 8bit N/A N/A part N/A k N/A None v N/A N/A N/A partlist append part N/A N/A N/A N/A Request url url files partlist prepare N/A staticmethod request N/A N/A self api_query url N/A None N/A N/A  e.g. {'action': 'query', 'meta': 'userinfo'}. format=json not required
            function returns a python dict that resembles the api's json response
         N/A N/A api_query N/A format json N/A url N/A url N/A self base_url N/A size N/A sum N/A N/A N/A sys getsizeof v N/A N/A k v N/A iteritems api_query N/A N/A size N/A 1024 8 N/A N/A req N/A N/A self _prepare_long_request url N/A url /api.php? api_query api_query N/A N/A N/A N/A N/A self mwoauth post N/A url /api.php? data N/A req body content_type N/A N/A req headers N/A Content-Type data N/A N/A N/A N/A N/A N/A self mwoauth post N/A N/A url /api.php? N/A urlencode api_query content_type text/plain data N/A get_current_user N/A N/A self cached N/A True N/A N/A cached N/A N/A N/A N/A session get username N/A N/A N/A data N/A N/A self request N/A action meta query userinfo N/A N/A session N/A username N/A N/A N/A data N/A query N/A userinfo N/A name N/A N/A N/A KeyError N/A N/A N/A session N/A username None N/A N/A N/A N/A data N/A error N/A code mwoauth-invalid-authorization N/A N/A N/A flash Access to this application was revoked. Please re-login! N/A N/A N/A N/A OAuthException N/A N/A N/A session N/A username None N/A N/A session N/A username N/A N/A