Flask Application

Flask a_pi executing an action on each digit of pi sent

a_pi.app.action(db, job_id, job_current)[source]

Advances the state of the job job_id using the state job_current as inital state and executes an action, here segment generation

a_pi.app.close_db(e=None)[source]

Closes the DB

a_pi.app.create_app(test_config=None)[source]

Generates the Flask application

a_pi.app.get_db()[source]

Get the db associated with the application

a_pi.app.terminate(db, job_id, mill_stub)[source]

Finishes the job job_id and forwards it to the mill_stub