GoogleCloudPlatform / GoogleCloudPlatform/alloydb-python-connector

Connector.connect should work with context manager

Open
#483 0 comments 0 reactions 1 assignee Claimed by @rhatgadkar-goog View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.