You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 2023-12-14T09:53:41.370244 | Although keyring module is installed no backend has been detected, check https://pypi.org/project/keyring/ for more information. ]
Operating System
AWS Sagemaker Notebook
Trino Python client version
0.327.0
Trino Server version
can't connect - not relevant
Python version
Python 3.10.13
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Expected behavior
If an attempt to load keyring module fails, there is a fall back to _OAuth2TokenInMemoryCache.
I think no backends or having
keyring.backends.null.Keyring
backend should be treated the same way.Using
keyring.backends.null.Keyring
backend is the recommended way to disable keyring. SeeDisabling Keyring
at https://pypi.org/project/keyring/Actual behavior
When there is
keyring
package installed but there are no available backends, the following error is generated:Steps To Reproduce
Run the following code on Sagemaker notebook instance:
Log output
[ 2023-12-14T09:53:41.370244 | Although keyring module is installed no backend has been detected, check https://pypi.org/project/keyring/ for more information. ]
Operating System
AWS Sagemaker Notebook
Trino Python client version
0.327.0
Trino Server version
can't connect - not relevant
Python version
Python 3.10.13
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: