You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, assume the output is in the form of a Python dictionary. Jsonify this output by calling this imaginary function (you can call it generate_schedule for now), and make a post request path at /update-schedule (you don't really hace to worry about the paths) where DynamoDB is populated with this information. This involves setting the entire table.
For now, delete all entries in table before updating it with the new info. I am aware this is a bit inefficient, but we're not dealing with much data so it's okay.
This should be done in Python! This means you can't just copy the JavaScript file from portal.
Objective
Similar to in
portal
, you should make an API call to update the backend table with the data generated from the output of the scheduling algorithm.Essentially, the output of the scheduling algorithm will look something like this:
For now, assume the output is in the form of a Python dictionary. Jsonify this output by calling this imaginary function (you can call it
generate_schedule
for now), and make a post request path at/update-schedule
(you don't really hace to worry about the paths) where DynamoDB is populated with this information. This involves setting the entire table.This should be done in Python! This means you can't just copy the JavaScript file from
portal
.Details
backend/src
Resources
The text was updated successfully, but these errors were encountered: