-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLAlchemy 2.0 upgrades (part 2) #16724
Conversation
144289d
to
3df9595
Compare
I wonder if we should just merge the new tool shed backend before you go making lots of changes to the code - that branch already refactors a bunch of stuff. |
I would be very much in favor of that; I wasn't sure how close that was to merging. Is it the full #15639 or a subset of it? (I'll then go through it and review (at least) the db/SA-related code). |
Well we had decided to deploy it and test it first... that is seeming like a mistaken call given how we're not making progress on that. I already found and commented on one issue with the previous DB commit. |
d2796cb
to
6c06a9e
Compare
5b0521e
to
e4fd119
Compare
Rebase and ping me? |
e4fd119
to
91eec8f
Compare
@jmchilton: rebased |
91eec8f
to
dde2a50
Compare
Rebased again - just for the sake of starting a new branch on top of this. The pre-rebase version was all green (except for one unrelated selenium failure). |
…uirements SA2.0: add unique() to joinedload result
Refactor: change from property to "private" method
Only fetch job_id
dde2a50
to
c320836
Compare
Very nice! Thanks for breaking these up into reviewable pieces. |
Follow-up to #16434. Covers ORM usage (ref). This PR is ready for review.
For follow-up PRs:
build_initial_query
and friends (web/framework/*
,webapps/*
)model.DatasetCollection._get_nested_collection_attributes()
model.DatasetCollection.populated_optimized
Ref: #12541
How to test the changes?
(Select all options that apply)
License