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

Add DatasetQuery #18

Open
chasleslr opened this issue Dec 5, 2021 · 0 comments
Open

Add DatasetQuery #18

chasleslr opened this issue Dec 5, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@chasleslr
Copy link
Owner

We should create a class that helps with creating queries as expected by the query argument in Dataset.create() (see POST /api/dataset).

This would, at least, serialize to dict (i.e. DatasetQuery(type='query', 'query'={'database': 1, ...}, ...) -> {'type': 'query', 'query': {'database': 1, ...}, ...}), but ideally help with building valid MBQL.

@chasleslr chasleslr added the enhancement New feature or request label Dec 5, 2021
@chasleslr chasleslr linked a pull request Feb 24, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant