Actions
Task #129
openupdate deprecated sqlAlchemy query method
Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
04/04/2026
Due date:
% Done:
0%
Estimated time:
Engineering Effort:
small
App Component:
Database
Feature:
Description
query(...).get(id) is legacy. Modern SQLAlchemy prefers session.get(model_class, id). Current code will function but is forward-incompatible.
The most clear examples are in the BaseRepository and UserOwnedRepository , but there are 64 total examples across the entire project.
Updated by Sam Pearson 3 months ago
This doesn't appear to be deprecated but rather "legacy", and I see people complaining online that it hasn't been officially deprecated; so it's probably not going to matter in the lifetime of this project.
Updated by Sam Pearson 23 days ago
- Engineering Effort set to small
- App Component set to Database
Probably an easy swap out but as mentioned, not really urgent.
Actions