diff --git a/DynamoDB.py b/DynamoDB.py index 092accb..b9c52f1 100644 --- a/DynamoDB.py +++ b/DynamoDB.py @@ -8,10 +8,12 @@ def insert(): Item = { 'CourseId' : 'CSE1010', # partition key 'Section' : '001L', # sort key? + 'Level' : '1000', # useful attribute for searching + 'Department' : 'CSE', # useful attribute for searching 'Professor' : 'Gregory Jackson', # TODO: support multiple instructors - 'StudentsEnrolled' : 0, + 'StudentsEnrolled' : 0, # useful attribute for professor 'StartTime' : 1630, # is storing times in the form of 24-hour time easier? it's simple to convert when necessary - 'EndTime' : 1720, + 'EndTime' : 1720, 'OpenStatus' : True # this attribute could be useful for hiding unavailable courses } )