-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(api): refactor utility functions to detangle dependencies and red…
…uce coupling (#1189) * refactor(utility): removed reliance on get_course route function, created get_course_details in utility.py * refactor(utility): created term offering helpers to remove reliance on terms_offered route function * refactor(utility): created specialisation getter, refactored setupDegreeWizard to not rely on route functions * refactor(utility): created get_program_structure utility and moved out all dependencies from program routers * refactor(utility): moved out regex_search to utility.py * wip: move out user helpers into their own file * refactor(utility): moved out logic for and some graph helpers into utility.py * fix: switched up setup_degree_wizard so we can get a bit better type inference * fix: new line at end of user.py * fix: remove unused CODE_MAPPING cache constant * refactor: routers folder structure - move middleware.py into sessions utility folder * refactor: routers folder - rename auth_utility folder, move utility.py into it and rename * refactor: routers folder - move manual_fixes into utility folder * fix: remove my todo list
- Loading branch information
1 parent
ace5788
commit 0d43383
Showing
20 changed files
with
573 additions
and
503 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.