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) #15

Closed

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.md file with instructions on how to set up MongoDB Atlas for development.

Summary

  • API/database.py:
    • Added a new parameter use_cloud_db to the Database class constructor to determine whether to use the local MongoDB instance or MongoDB Atlas.
    • Updated the uri variable to the MongoDB Atlas connection string if use_cloud_db is True.
    • Updated the update_one function to instantiate the Database class with the use_cloud_db parameter.
  • API/route.py:
    • Added a new parameter use_cloud_db to the update_employees function to determine whether to use the local MongoDB instance or MongoDB Atlas.
    • Updated the update_result variable to instantiate the Database class with the use_cloud_db parameter.
  • README.md:
    • Added instructions on how to set up MongoDB Atlas for development.
    • Added information on how to switch between using the local MongoDB instance and MongoDB Atlas.

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/database.py
  • Rollback changes to README.md
  • Rollback changes to API/route.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_35c57 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