aws / aws/amazon-redshift-python-driver
Feature request: `autocommit` as connector `__init__` property
Ouverte
enhancement
- Langage dominant
- Python
- Étoiles
- 220
- Forks
- 86
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Currently, to set `autocommit` to `True`, we have to explicitly run:
```
connection.autocommit = True
```
Is there a way to pass `autocommit` as a property to the connector constructor? Something like:
```
redshift_connector.connect({
autocommit=True,
**connection_params
})
```
We are trying to build an SQL client for our customers with Redshift as one of the underlying data-sources. It would be much cleaner this way avoiding unnecessary if-else conditioning.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.