OpenSlides/openslides-backend

Create commit protection for migration connection

Ouverte

#3 657 ouverte le 8 juil. 2026

 (0 commentaire) (0 réaction) (0 personne assignée)Python (39 forks)auto 404
enhancementgood first issue

Métriques du dépôt

Stars
 (8 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur