Skip to content

Commit

Permalink
Removes preferred_applicants field (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaygandecha authored May 26, 2024
1 parent d19f331 commit 7c45a81
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions backend/entities/academics/section_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,4 @@ def to_details_model(self) -> SectionDetails:
if self.office_hours_section is not None
else None
),
preferred_applicants=[
applicant.to_model() for applicant in self.preferred_applicants
],
)
4 changes: 0 additions & 4 deletions backend/models/academics/section_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
from ...models.academics.section_member import SectionMember
from ...models.office_hours.section import OfficeHoursSection

from ..room import Room
from backend.models.application import UTAApplication

from .course import Course
from .term import Term
from .section import Section
Expand All @@ -28,4 +25,3 @@ class SectionDetails(Section):
term: Term
office_hours_section: OfficeHoursSection | None
members: list[SectionMember]
preferred_applicants: list[UTAApplication]

0 comments on commit 7c45a81

Please sign in to comment.