-
Notifications
You must be signed in to change notification settings - Fork 30
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
Feature Request: Migrate Database to MongoDB Atlas and Create Interoperable Functions #9
Comments
🚀 Here's the PR! #15See Sweep's progress at the progress dashboard! ⚡ Sweep Basic Tier: I'm using GPT-4. You have 2 GPT-4 tickets left for the month and 0 for the day. (tracking ID:
02e294631b )For more GPT-4 tickets, visit our payment portal. For a one week free trial, try Sweep Pro (unlimited GPT-4 tickets). Install Sweep Configs: Pull Request
Tip I can email you next time I complete a pull request if you set up your email here! Actions (click)
GitHub Actions✓Here are the GitHub Actions logs prior to making any changes: Sandbox logs for
|
🚀 Here's the PR! #14See Sweep's progress at the progress dashboard! ⚡ Sweep Basic Tier: I'm using GPT-4. You have 4 GPT-4 tickets left for the month and 2 for the day. (tracking ID:
c97f02c7cc )For more GPT-4 tickets, visit our payment portal. For a one week free trial, try Sweep Pro (unlimited GPT-4 tickets). Install Sweep Configs: Pull Request
Tip I can email you next time I complete a pull request if you set up your email here! Actions (click)
GitHub Actions✓Here are the GitHub Actions logs prior to making any changes: Sandbox logs for
|
Feature Request: Migrate Database to MongoDB Atlas and Create Interoperable Functions
Description
We need to migrate our current local MongoDB database to MongoDB Atlas. This will allow us to leverage the benefits of a cloud database, such as scalability, reliability, and accessibility from anywhere.
In addition, we need to create functions that can be used interchangeably with either the local MongoDB or MongoDB Atlas. This will provide flexibility in our development and testing processes. However, the
recognise_face()
API endpoint will exclusively use MongoDB Atlas as it requires features available only on the cloud.Expected Behavior
The functions should be able to operate with either the local MongoDB or MongoDB Atlas based on a configuration setting. The
recognise_face()
API endpoint should always use MongoDB Atlas.Benefits
This feature will allow us to leverage the benefits of a cloud database while maintaining the ability to use a local database for certain operations. It will also simplify the codebase by providing a consistent interface for database operations.
Tasks
Database
class indatabase.py
to support both local MongoDB and MongoDB Atlas.recognise_face()
API endpoint to use MongoDB Atlas.Checklist
API/database.py
✓ 828c526 EditAPI/database.py
✓ EditAPI/route.py
✓ 9e19287 EditAPI/route.py
✓ EditREADME.md
✓ d4efcd0 EditREADME.md
✓ EditThe text was updated successfully, but these errors were encountered: