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

Mongo/TinyMongo Integration #9

Open
lockefox opened this issue Apr 19, 2017 · 3 comments
Open

Mongo/TinyMongo Integration #9

lockefox opened this issue Apr 19, 2017 · 3 comments

Comments

@lockefox
Copy link
Contributor

For parallel containers, a shared cache is desired.

  • Switch all TinyDB connections to tinymongo ones
  • Add pymongo connection
  • Default to tiny if/when db connection fails
@lockefox
Copy link
Contributor Author

  • add mongo credentials to scripts/app.cfg (don't forget #SECRET for github)
  • add pymongo connection builder to create_app() in __init__.py
  • Make mongo handle global in config.py
  • switch existing tinyDB connections for *mongo ones
  • add db_close() func to avoid test issues on windows machines

@lockefox
Copy link
Contributor Author

Progress made with #6 adds mongo capability to API key library

@lockefox
Copy link
Contributor Author

Update connect/query to use with rather than open/query/close

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

No branches or pull requests

1 participant