Compare commits

..

No commits in common. "3f8778b581225b29fb615254db9f9f459f02f26c" and "d5db08e6ac5fa29804aa22cb1e5671e4131966d9" have entirely different histories.

2 changed files with 5 additions and 27 deletions

View File

@ -215,7 +215,7 @@ async def main():
machine_learning = UforaCourse(
course_id=630807,
code="C003758",
name="Machine Learning (CS)",
name="Machine Learning",
year=4,
compulsory=True,
role_id=1023294041825235087,
@ -290,7 +290,7 @@ async def main():
year=5,
compulsory=True,
role_id=1023303199609860268,
overarching_role_id=1023302736210567208,
overarching_role_id=1023293447387496570,
)
big_data_science = UforaCourse(
@ -299,7 +299,7 @@ async def main():
year=5,
compulsory=True,
role_id=1023303190046851153,
overarching_role_id=1023302736210567208,
overarching_role_id=1023293447387496570,
)
bedrijfsstage = UforaCourse(
@ -308,7 +308,7 @@ async def main():
year=5,
compulsory=True,
role_id=1023303201807679598,
overarching_role_id=1023302736210567208,
overarching_role_id=1023293447387496570,
)
masterproef = UforaCourse(
@ -317,7 +317,7 @@ async def main():
year=5,
compulsory=True,
role_id=1023319264851144754,
overarching_role_id=1023302736210567208,
overarching_role_id=1023293447387496570,
alternative_overarching_role_id=1023300434800164914,
)

View File

@ -1,22 +0,0 @@
from sqlalchemy.ext.asyncio import AsyncSession
from database.engine import DBSession
from database.schemas import UforaCourse
__all__ = ["main"]
async def main():
"""Add a missing Ufora course (Machine Learning - CSE)"""
session: AsyncSession
async with DBSession() as session:
mlcse = UforaCourse(
code="E061330",
name="Machine Learning (CSE)",
year=5,
role_id=1024355572256092170,
overarching_role_id=1023300434800164914,
)
session.add(mlcse)
await session.commit()