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

Connect to the database from cloud functions #2

Merged
merged 8 commits into from
Jul 29, 2019
Merged

Conversation

jacoblurye
Copy link
Contributor

@jacoblurye jacoblurye commented Jul 26, 2019

This PR implements SQLAlchemy session sharing across cloud functions. Also, adds a database lookup and dry-run output to the uploads.ingest_upload function.

TODO: run migrations on the test database before running the tests. Instead, mocking database functionality for now rather that modifying the database in tests.

@jacoblurye jacoblurye changed the title Connect to the database from cloud functions WIP: Connect to the database from cloud functions Jul 26, 2019
@jacoblurye jacoblurye changed the title WIP: Connect to the database from cloud functions Connect to the database from cloud functions Jul 29, 2019
@jacoblurye jacoblurye merged commit da73261 into master Jul 29, 2019
@jacoblurye jacoblurye deleted the connect-to-db branch July 29, 2019 13:38
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