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

Raise an exception in create_test_db() if test data contains a key that is not a valid column #143

Open
vingkan opened this issue Jul 30, 2021 · 2 comments
Labels
api Work for backend API enhancement New feature or request

Comments

@vingkan
Copy link
Contributor

vingkan commented Jul 30, 2021

This would save a lot of headaches when creating test data for SQL queries.

@vingkan vingkan added enhancement New feature or request api Work for backend API labels Jul 30, 2021
@wpj0110
Copy link
Collaborator

wpj0110 commented Jul 30, 2021

create_test_db() is in transithealth/api/utils/testing.py for the curious

@wpj0110
Copy link
Collaborator

wpj0110 commented Jul 30, 2021

Sample usage of create_test_db() in your jupyter notebooks for your "My Example Notebook"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Work for backend API enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants