Skip to content

Commit

Permalink
Actually add the submit_data.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Doupe committed Mar 14, 2018
1 parent cde3fcd commit df2e85d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions webapp/apps/taxbrain/submit_data.py
Original file line number Diff line number Diff line change
@@ -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'])

0 comments on commit df2e85d

Please sign in to comment.