Upgrade to Python 3.11, Flask 3, and refactor for SQLAlchemy 2.x - #1107
Merged
Conversation
- Updated database access methods from `query.get()` to `db.session.get()` for consistency and improved performance in `appointment_post.py`, `appointment_put.py`, `exam_list.py`, `citizen_detail.py`, `citizen_generic_invite.py`, `citizen_list.py`, `health.py`, `service_requests_detail.py`, `service_requests_list.py`, `services.py`, and `snowplow.py`. - Refactored citizen state retrieval logic into dedicated functions in `citizen_detail.py`, `citizen_list.py`, and `service_requests_list.py` to enhance readability and maintainability. - Improved error handling in `citizen_detail.py` and `citizen_generic_invite.py` by using `get_json(silent=True)` to avoid exceptions on empty requests. - Updated SQLAlchemy and Flask-SQLAlchemy versions - Added new smoke test scripts for SQLAlchemy to validate database interactions and ensure application stability. - Refactored application initialization in `manage.py` and `qsystem.py` to streamline the setup process and improve logging. - Removed deprecated code and comments to clean up the codebase and enhance clarity.
Add api client for services
added services route and redirected root to this page
…route-and-page Added services route
commit 3af7fd5 Merge: befa806 7e77b67 Author: Veenu Punyani <Veenu.veenu@gov.bc.ca> Date: Fri Jul 10 15:42:18 2026 -0700 Merge pull request bcgov#1085 from bcgov/dev-66-Add-non-SSR-services-route-and-page Added services route commit 7e77b67 Author: Veenu Punyani <veenucan24@gmail.com> Date: Fri Jul 10 15:06:06 2026 -0700 added services route added services route and redirected root to this page
added services table and others button needed on step 1. intentionally left out the persistence of booking state as it was getting complex but some ground work is there by adding booking steps.
…m/bcgov/queue-management into dev-12-create-a-table-of-services
…vices Create services table and import the list of available services
…vices Added search and sort component
…ice-across-booking-step-navigation Persist selected service in shared booking context for later steps.
Fix empty exam PUT request causing 415
|
chrsamp
marked this pull request as ready for review
August 25, 2026 16:42
josekudiyirippil
approved these changes
Sep 1, 2026
josekudiyirippil
left a comment
Collaborator
There was a problem hiding this comment.
tested and looks good.
Collaborator
|
merging after testing. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR syncs changes from the develop branch into
mainup to #1084. The branch preserves the changes made onmainin #1105 and #1106.