googleapis / googleapis/google-cloud-python

Update type hints for credentials in the async client layer

オープン
#16,268 コメント 1 件 リアクション 0 件 担当者 1 名 @ohmayr が担当を希望しています GitHub で見る
priority: p2 type: cleanup
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
122

説明

Update the credentials type hint in the async client constructor to include asynchronous credentials i.e. async credentials should also support `google.auth.aio.credentials.Credentials` which are required by the async rest transport.

For now, the type hint isn't updated in the client layer and mypy warnings are silenced by adding `# type: ignore` in the async rest transport constructor. This can be looked up by searching for this issue.

Related issue: https://github.com/googleapis/google-cloud-python/issues/16269

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

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

評価

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

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

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