Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpAnd CompareEq NameLoad Str CompareEq NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Return Call NameLoad Str Num Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Assign NameStore AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Return BoolOpAnd CompareEq NameLoad Str CompareGt SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body TryExcept body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str orelse If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Print Str If CompareGtE NameLoad NameLoad body Print Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num Return Call NameLoad NameLoad NameLoad orelse Print Str Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assign NameStore Call NameLoad NameLoad keyword Num keyword Str Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Print NameLoad Print Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body If Call NameLoad body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword Num keyword Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Return NameLoad orelse Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args defaults body Print Str TryFinally body TryExcept body With Call NameLoad Num body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Print NameLoad Print Call AttributeLoad NameLoad attr finalbody Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assign NameStore Call NameLoad NameLoad keyword Num keyword Str Return NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args defaults body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str decorator_list
N/A N/A Provides custom routes against REST Resources.

This module overrides the home/index default route
for the Python Eve server.  It provides a simple
html page as well as supporting requests accepting
application/json .
 N/A os N/A traceback settings APP_URI flask send_from_directory Response request json settings REDIS_INSTANCE VCAP_CONFIG functools wraps helpers oui gevent Timeout datetime datetime timedelta N/A PWD N/A N/A N/A os environ get PWD N/A static_folder N/A N/A N/A os path join PWD macreduce/static N/A vcap N/A N/A N/A os environ get VCAP_SERVICES check_auth N/A N/A username password N/A N/A N/A This function is called to check if a username /
    password combination is valid.
     N/A N/A N/A username bluemix N/A password devfun N/A authenticate N/A N/A N/A N/A N/A Sends a 401 response that enables basic auth N/A N/A Response Could not verify your access level for that URL.
You have to login with proper credentials 401 N/A WWW-Authenticate Basic realm="Login Required" N/A requires_auth N/A N/A f N/A N/A decorated N/A N/A N/A args kwargs N/A N/A auth N/A request authorization N/A N/A N/A auth N/A N/A check_auth N/A auth username N/A auth password N/A N/A N/A authenticate N/A N/A f args kwargs N/A N/A wraps f N/A decorated N/A request_wants_json N/A N/A N/A N/A N/A best N/A N/A N/A request accept_mimetypes best_match N/A application/json application/json; charset=utf-8 text/html N/A N/A N/A best application/json N/A N/A N/A request accept_mimetypes N/A best N/A N/A request accept_mimetypes N/A text/html N/A run_once_per_day N/A N/A f N/A N/A wrapper N/A N/A N/A args kwargs N/A N/A N/A N/A VCAP_CONFIG N/A N/A nextDate N/A N/A REDIS_INSTANCE get nextDate N/A N/A nextDate None N/A N/A nextDate N/A N/A datetime utcnow N/A N/A nextDate N/A N/A datetime strptime nextDate %Y-%m-%d %H:%M:%S.%f N/A N/A N/A N/A wrapper has_run N/A N/A nextDate N/A N/A datetime utcnow N/A N/A nextDate N/A N/A N/A datetime utcnow N/A timedelta seconds 86400 N/A now N/A N/A datetime utcnow N/A Evaluating if Now is >= Criteria ... N/A N/A now nextDate N/A N/A Refresh criteria has been met N/A N/A wrapper has_run True N/A VCAP_CONFIG N/A N/A N/A N/A REDIS_INSTANCE set nextDate N/A N/A N/A datetime utcnow N/A timedelta seconds 86400 N/A N/A f args kwargs N/A N/A Refresh criteria NOT met N/A data N/A message Whoaa! MacReduce Data is up to date! N/A message N/A N/A json dumps data N/A message N/A resp N/A Response message status 200 mimetype application/json N/A resp N/A N/A N/A Exception N/A e N/A N/A e N/A N/A N/A traceback format_exc N/A N/A N/A wrapper has_run False N/A wrapper N/A run_once N/A N/A f N/A N/A wrapper N/A N/A N/A args kwargs N/A N/A N/A N/A wrapper has_run N/A N/A N/A wrapper has_run True N/A N/A f args kwargs N/A N/A N/A wrapper has_run False N/A wrapper N/A index N/A N/A path N/A N/A N/A N/A request_wants_json N/A N/A data N/A message Welcome to the macReduce API Backend Sample powered by IBM Bluemix. N/A message N/A N/A json dumps data N/A resp N/A Response message status 200 mimetype application/json N/A N/A N/A resp headers N/A Link APP_URI N/A resp N/A N/A N/A send_from_directory static_folder index.html N/A populate N/A N/A N/A N/A N/A Begin MAC Address population ... N/A N/A N/A N/A N/A N/A Timeout 300 N/A N/A N/A N/A oui update N/A N/A N/A Exception N/A e N/A N/A e N/A N/A N/A traceback format_exc N/A N/A data N/A message Whoaa! MacReduce Data Populated/Refreshed N/A message N/A N/A json dumps data N/A message N/A resp N/A Response message status 200 mimetype application/json N/A resp N/A requires_auth run_once_per_day favicon N/A N/A N/A N/A N/A N/A send_from_directory N/A N/A N/A os path join static_folder img favicon.ico N/A