Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for OAuth2Authentication for Trino magic doesn't work #82

Open
IceS2 opened this issue Mar 7, 2023 · 2 comments
Open

Support for OAuth2Authentication for Trino magic doesn't work #82

IceS2 opened this issue Mar 7, 2023 · 2 comments

Comments

@IceS2
Copy link

IceS2 commented Mar 7, 2023

Hello folks!

I'm testing the extension a little bit. For now I'm just trying to connect to a Trino database through OAuth2Authentication without testing the other features (autocompletion/syntax highlighting).
When I try to configure that auth I get a pickle error:

%config Trino.auth=trino.auth.OAuth2Authentication() -> ERROR:root:cannot pickle '_thread.lock' object

Any ideas on how I could deal with it?

@govindhi
Copy link

Any update here? I am also seeing the same issue.

@IceS2
Copy link
Author

IceS2 commented Jul 12, 2024

Since I couldn't solve it and had no answer here I ended up not using this repository, but taking it as inspiration to develop what we needed from ipython-sql directly by creating our own magic command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants