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

Sweep: Feature Request: Migrate Database to MongoDB Atlas and Create Interoperable Functions (βœ“ Sandbox Passed) #13

Closed
wants to merge 4 commits into from

Conversation

sweep-ai[bot]
Copy link

@sweep-ai sweep-ai bot commented Mar 12, 2024

PR Feedback (click)

  • πŸ‘ Sweep Did Well
  • πŸ‘Ž Sweep Needs Improvement

Description

This pull request migrates the database to MongoDB Atlas and creates interoperable functions. It also updates the README file to include instructions for configuring the database connection. Additionally, it adds a new section in the README file explaining the dual database setup and how to switch between a local MongoDB instance and MongoDB Atlas. The recognise_face() API endpoint is configured to exclusively use MongoDB Atlas.

Summary

  • Added DB_CONFIG dictionary in API/config.py to store database connection configurations.
  • Updated API/database.py to use the DB_CONFIG dictionary for the database connection.
  • Updated API/route.py to instantiate the Database class with the use_atlas parameter set to True for the update_employees() function.
  • Updated README.md to include instructions for configuring the database connection and a new section explaining the dual database setup.

Fixes #9.


πŸŽ‰ Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

πŸ’‘ To get Sweep to edit this pull request, you can:

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

Copy link
Author

sweep-ai bot commented Mar 12, 2024

Rollback Files For Sweep

  • Rollback changes to API/route.py
  • Rollback changes to API/database.py
  • Rollback changes to README.md
  • Rollback changes to API/config.py

This is an automated message generated by Sweep AI.

@sweep-ai sweep-ai bot added the sweep label Mar 12, 2024
Copy link

Hi there! πŸ‘‹ Thanks for opening a PR. πŸŽ‰ To get the most out of Senior Dev, please sign up in our Web App, connect your GitHub account, and add/join your organization devansh-shah-11. After that, you will receive code reviews beginning on your next opened PR. πŸš€

@Devasy23 Devasy23 closed this Jun 4, 2024
@Devasy23 Devasy23 deleted the sweep/feature_request_migrate_database_to_mong branch October 29, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Migrate Database to MongoDB Atlas and Create Interoperable Functions
1 participant