OpenSlides/openslides-backend

Create commit protection for migration connection

开放

#3,657 创建于 2026年7月8日

 (0 条评论) (0 个反应) (0 位负责人)Python (39 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (8 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Currently if a dev was to commit on the connection stored in the cursor it could potentially damage data. To prevent that my idea is to subclass the psycopg connection/cursor and pass this object to the migration functions. This subclassed connection/cursor could then prevent any commit or retrieval of the connection.

贡献者指南