csce-cups / tias

TIAS Is A Scheduler
https://csce-scheduler.com
0 stars 0 forks source link

Add getViability lambda #98

Closed dantebarbieri closed 2 years ago

dantebarbieri commented 2 years ago

This PR adds the lambda for getViability, which fetches the viable-courses for every user in the database qualified to take them. It is significantly more efficient than repeatedly calling viable-courses for each user, but the response object is generally around half a megabyte large, so lazy-loading may be preferable.

Needed for many tasks in #97