Skip to content

Make database bulk_ops.py more widely compatible across sqlalchemy+python versions#11839

Merged
comfyanonymous merged 1 commit intomasterfrom
bulk-ops-compat
Jan 13, 2026
Merged

Make database bulk_ops.py more widely compatible across sqlalchemy+python versions#11839
comfyanonymous merged 1 commit intomasterfrom
bulk-ops-compat

Conversation

@Kosinkadink
Copy link
Member

@Kosinkadink Kosinkadink commented Jan 13, 2026

While I was not able to reproduce on 3.10 or 3.11 as originally reported, there appears to be the chance that RETURNING is not supported by sqlite/sqlalchemy on these version of python: #11792

I changed bulk_ops to replace .returning with separate select and insert queries.

@comfyanonymous comfyanonymous merged commit acd0e53 into master Jan 13, 2026
14 checks passed
@comfyanonymous comfyanonymous deleted the bulk-ops-compat branch January 13, 2026 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants