regolith/classlist.py
def add_students_to_db(students, rc):
    """Add new students to the student directory."""
    for student in students:
        rc.client.update_one(rc.db, 'students', {'_id': student['_id']},
                             student, upsert=True)
Add new students to the student directory.
Add new students to the student directory.
Add new students to the student directory .
def add_students_to_db(students, rc):
    for student in students:
        rc.client.update_one(rc.db, 'students', {'_id': student['_id']},
                             student, upsert=True)
def add_students_to_db ( students , rc ) : for student in students : rc . client . update_one ( rc . db , 'students' , { '_id' : student [ '_id' ] } , student , upsert = True )
Add new students to the student directory.
Add new students to the student directory .
"""Add new students to the student directory."""
students
rc