GoogleCloudPlatform / GoogleCloudPlatform/alloydb-python-connector
Connector.connect should work with context manager
Open
priority: p2
type: feature request
- Dominant language
- Python
- Stars
- 38
- Forks
- 8
- Avg merge
- 21m
- Merged PRs (30d)
- 3
Description
``` python
with conn as Connector().connect():
// use conn which is closed on exiting the block
```
This seems to be unsupported presently.
Contributor guide
Assessment
This issue has not been assessed yet.