add tests to canceled enrollment or scheduled with seat
This commit is contained in:
@@ -38,7 +38,7 @@ class Course(BaseModel):
|
||||
|
||||
|
||||
class Enrollment(BaseModel):
|
||||
id: UUID4 | str = Field(default_factory=uuid4)
|
||||
id: UUID4 | str
|
||||
user: User
|
||||
course: Course
|
||||
progress: int = Field(default=0, ge=0, le=100)
|
||||
@@ -61,7 +61,7 @@ Org = TypedDict('Org', {'org_id': str, 'name': str})
|
||||
|
||||
CreatedBy = TypedDict('CreatedBy', {'id': str, 'name': str})
|
||||
|
||||
Seat = TypedDict('Seat', {'order_id': str})
|
||||
Seat = TypedDict('Seat', {'order_id': str, 'enrollment_id': NotRequired[str]})
|
||||
|
||||
DeduplicationWindow = TypedDict('DeduplicationWindow', {'offset_days': int})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user