gabcares commited on
Commit
936014b
·
verified ·
1 Parent(s): fbc5a5b

Update utils/enrollment.py

Browse files
Files changed (1) hide show
  1. utils/enrollment.py +2 -2
utils/enrollment.py CHANGED
@@ -32,12 +32,12 @@ class Enrollment(SQLModel, table=True):
32
  course: "Course" = Relationship(
33
  back_populates="enrollments")
34
 
35
- def assign_grade(self, grade: Grade) -> None:
36
  """
37
  Assigns a grade to the student for the course.
38
 
39
  Args:
40
- grade (Grade): The grade to assign to the student.
41
  """
42
  self.grade = grade
43
 
 
32
  course: "Course" = Relationship(
33
  back_populates="enrollments")
34
 
35
+ def assign_grade(self, grade: str) -> None:
36
  """
37
  Assigns a grade to the student for the course.
38
 
39
  Args:
40
+ grade (str): The grade to assign to the student.
41
  """
42
  self.grade = grade
43