fix: use pg_insert on_conflict_do_nothing in wire_push_objects
session.add() raises UniqueViolationError when a prior partial push left rows in musehub_objects for object IDs that are now being re-uploaded. Replace with pg_insert(...).on_conflict_do_nothing() so duplicate object IDs from any previous partial push are silently skipped rather than crashing the endpoint. pg_insert was already imported.
sha256:e8cd4c8668c81dd52a09d100778e67949e9830b16b01244406948835531fa0d7
sha
sha256:d8aece2dc4b8a07079377382c47d49863ab304eab2d0331ef42d48793c3b545f
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:e8cd4c8668c81dd52a09d100778e67949e9830b16b01244406948835531fa0d7 --body "your comment"
No comments yet. Be the first to start the discussion.