carleton-pathways/bot

Parse restrictions and exclusions

Closed this issue · 0 comments

Create 7 (seven) functions. One for each of the following categories.
Screen Shot 2023-05-01 at 11 44 14 AM
Name them accordingly (i.e parse_year_in_date, parse_major_restriction)

They will each take in a string and then should return just the necessary information. Freedom to store it in a way you see fit. For the ones that have course restrictions, I would recommend returning an array of the courses which are restricted. Otherwise, dictionaries are usually good.

*If there are NONE for anything, set the value to null