Module Expr Str Import alias Import alias Import alias Import alias Import alias FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str decorator_list Expr Call NameLoad ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd NameLoad Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str
N/A N/A  Implements a the task queue worker and routing. This is just
    a template and not the actual script which is run. Actual scripts 
    can be found in /etc/appscale/celery/scripts.

    Find and replace the following:
    APP_ID: Set this to the current application ID.
    CELERY_CONFIGURATION: The name of the celery configuration file.
 N/A datetime N/A httplib N/A os N/A sys N/A yaml setup_environment N/A N/A N/A N/A N/A ENVIRONMENT_FILE /etc/appscale/environment.yaml N/A FILE N/A open ENVIRONMENT_FILE N/A env N/A N/A yaml load N/A N/A FILE read N/A APPSCALE_HOME N/A env N/A APPSCALE_HOME N/A N/A N/A N/A sys path append N/A APPSCALE_HOME /AppTaskQueue N/A N/A N/A N/A sys path append N/A APPSCALE_HOME /AppServer N/A N/A N/A N/A sys path append N/A APPSCALE_HOME /lib N/A N/A N/A setup_environment celery Celery celery.utils.log get_task_logger urlparse urlparse tq_config TaskQueueConfig tq_lib TASK_STATES distributed_tq TaskName N/A appscale_info N/A constants google.appengine.runtime apiproxy_errors google.appengine.api apiproxy_stub_map google.appengine.api datastore_errors google.appengine.api datastore_distributed google.appengine.api datastore google.appengine.ext db N/A N/A N/A N/A sys path append N/A TaskQueueConfig CELERY_CONFIG_DIR N/A N/A N/A N/A sys path append N/A TaskQueueConfig CELERY_WORKER_DIR N/A app_id APP_ID N/A config N/A TaskQueueConfig N/A TaskQueueConfig RABBITMQ app_id N/A module_name N/A N/A TaskQueueConfig get_celery_worker_module_name app_id N/A celery N/A Celery module_name broker N/A N/A config get_broker_string backend amqp:// N/A N/A N/A celery config_from_object CELERY_CONFIGURATION N/A logger N/A get_task_logger __name__ N/A master_db_ip N/A N/A appscale_info get_db_master_ip N/A connection_str N/A N/A master_db_ip : N/A str N/A constants DB_SERVER_PORT N/A ds_distrib N/A N/A datastore_distributed DatastoreDistributed appscaledashboard connection_str require_indexes False N/A N/A N/A N/A apiproxy_stub_map apiproxy RegisterStub datastore_v3 ds_distrib N/A N/A N/A os environ N/A APPLICATION_ID appscaledashboard