Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- url
- @app.route('/save_both_scenarios', methods=['POST'])
- expects:
- #the analysis_year and scenario_modeler_year are assigned if not given
- save_both_scenarios(userid,scenario_hash_historical,scenario_hash_current_year,scenario_name,opportunity,threat,confidence,reward_factor,analysis_year,scenario_modeler_year)
- What it returns (example):
- #dictionary of dictorionaries
- {'current_year': {'scenario_status': 'cloned', 'updated_current_year_scenario_hash': 'ad8512bde3f5fda84508b7a65dde03c6'}, 'historical': {'scenario_status': 'cloned', 'updated_historical_scenario_hash': '17e4652f6366ec671488c181577e438f'}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement