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

Superset 3.0.0 Compatibility Proof-of-Concept #246

Closed
wants to merge 8 commits into from

Conversation

oliverlambson
Copy link

@oliverlambson oliverlambson commented Oct 9, 2023

Note

Superceeded by #267

As per #244, the superset-cli command appears to be incompatible with Superset 3.0.0.

In running superset-cli with loglevel=debug, this seems to be to due redirects causing some weirdness with the Auth header. See my post on that issue for the logs: #244 (comment).

I don't know a lot about http or redirects, but I knew I could prevent them by modifying the generated request URLs to exactly match the Superset API docs—this is because the yarl.URL() constructor removes all trailing /, which are specified in the Superset docs. (e.g. /api/v1/database?q=... will redirect to /api/v1/database/?q=...)

I don't know if this is the real fix (using the exact endpoints as defined in the superset docs) or if the fix would be to continue relying on redirects and fixing that somehow?

@oliverlambson oliverlambson changed the title Superset 3.0 Compatibility Proof-of-Concept Superset 3.0.0 Compatibility Proof-of-Concept Oct 9, 2023
@oliverlambson oliverlambson deleted the superset-3.0-poc branch March 14, 2024 10:40
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

Successfully merging this pull request may close these issues.

1 participant