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

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 adds configuration options for using either local MongoDB or MongoDB Atlas.

Summary

  • Added get_database_config() function to API/config.py to retrieve database configuration based on environment variables.
  • Added from_config() class method to API/database.py to create a Database instance based on the database configuration.
  • Updated API/route.py to use Database.from_config() to create the client instance.
  • Updated README.md to include instructions for setting up environment variables for MongoDB Atlas and added a note about the project now supporting both local MongoDB 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 README.md
  • Rollback changes to API/config.py
  • Rollback changes to API/database.py
  • 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_35af2 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