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

[Premium Feature] run_sql #78

Merged
merged 4 commits into from
Sep 8, 2023
Merged

[Premium Feature] run_sql #78

merged 4 commits into from
Sep 8, 2023

Conversation

bh2smith
Copy link
Collaborator

@bh2smith bh2smith commented Sep 7, 2023

Closes #77

Adds run_sql method which creates a query, executes, gets results and optionally archives the query (by default).

Test Plan

This can't be tested with any API key that I have. But the test is there (skipped) and pretty straightforward to follow. Given that all the other routes are tested, it should be fine.

cc @TheEdgeOfRage & @diegoximenes for additional review.

@bh2smith bh2smith changed the base branch from main to split-client-class September 7, 2023 09:09
@bh2smith bh2smith requested a review from msf September 7, 2023 09:11
@bh2smith bh2smith force-pushed the feature_run_sql branch 2 times, most recently from 4603c36 to eeb48ad Compare September 7, 2023 12:25
@diegoximenes
Copy link

Approved but e2e-tests are failing though 🤔

@bh2smith
Copy link
Collaborator Author

bh2smith commented Sep 7, 2023

Approved but e2e-tests are failing though 🤔

This is partially because I have no more credits to test with. And also because upload CSV requires premium subscription which I also don't have.

@diegoximenes
Copy link

This is partially because I have no more credits to test with. And also because upload CSV requires premium subscription which I also don't have.

I will check internally how Dune can give you access to an API key related to a premium subscription :)

Base automatically changed from split-client-class to main September 8, 2023 10:33
@bh2smith bh2smith merged commit 044dbc9 into main Sep 8, 2023
@bh2smith bh2smith deleted the feature_run_sql branch September 8, 2023 11: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.

Add run_sql as premium helper
3 participants