googleapis / googleapis/google-cloud-python

_ConnectionFairy.connection attribute is deprecated

オープン
#15,678 コメント 1 件 リアクション 0 件 担当者 1 名 @olavloite に割り当て済み GitHub で見る
api: spanner priority: p2 type: bug
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
122

説明

Looks like the library is using the deprecated `dbapi_connection.connection` and should switch to `dbapi_connection.driver_connection`

There are several occurrences in `sqlalchemy_spanner.py`

This recreates when using SQLAlchemy.

```
SADeprecationWarning: The _ConnectionFairy.connection attribute is deprecated; please use 'driver_connection' (deprecated since: 2.0) dbapi_connection = dbapi_connection.connection
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。