diff --git a/webapp/apps/taxbrain/submit_data.py b/webapp/apps/taxbrain/submit_data.py new file mode 100644 index 00000000..9ba341f4 --- /dev/null +++ b/webapp/apps/taxbrain/submit_data.py @@ -0,0 +1,26 @@ +from collections import namedtuple + +PostMeta = namedtuple( + 'PostMeta', + ['request', + 'personal_inputs', + 'json_reform', + 'model', + 'stop_submission', + 'has_errors', + 'errors_warnings', + 'start_year', + 'data_source', + 'do_full_calc', + 'is_file', + 'reform_dict', + 'assumptions_dict', + 'reform_text', + 'assumptions_text', + 'submitted_ids', + 'max_q_length', + 'user', + 'url'] +) + +BadPost = namedtuple('BadPost', ['http_response_404', 'has_errors'])