Coverage for app/models/courseInstructor.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-11-22 21:05 +0000

1from app.models import* 

2from app.models.course import Course 

3from app.models.user import User 

4 

5class CourseInstructor(baseModel): 

6 course = ForeignKeyField(Course, backref="courseInstructors") 

7 user = ForeignKeyField(User)