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: Switch from SQLite to MySQL (βœ“ Sandbox Passed) #6

Closed
wants to merge 2 commits into from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Dec 29, 2023

PR Feedback (click)

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

Description

This pull request switches the database backend from SQLite to MySQL in the api.py file. It replaces the aiosqlite library with aiomysql and updates the necessary code to work with MySQL. The pull request also includes changes to the database connection setup and shutdown functions.

Summary

  • Switched from SQLite to MySQL in api.py
  • Replaced aiosqlite with aiomysql
  • Updated database connection setup and shutdown functions

Fixes #4.


πŸŽ‰ Latest improvements to Sweep:

  • We just released a dashboard to track Sweep's progress on your issue in real-time, showing every stage of the process – from search to planning and coding.
  • Sweep uses OpenAI's latest Assistant API to plan code changes and modify code! This is 3x faster and significantly more reliable as it allows Sweep to edit code and validate the changes in tight iterations, the same way as a human would.
  • Try using the GitHub issues extension to create Sweep issues directly from your editor! GitHub Issues and Pull Requests.

πŸ’‘ 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
Contributor Author

sweep-ai bot commented Dec 29, 2023

Sandbox Executions

  • Running GitHub Actions for api.py βœ“
Check api.py with contents:

Ran GitHub Actions for 81b9f9e4d234c54eed2871bab36544268de0eb50:

  • Running GitHub Actions for api.py βœ“
Check api.py with contents:

Ran GitHub Actions for 159a27f5026422a627527eded963692f8b3d101a:

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

Rollback Files For Sweep

  • Rollback changes to True

Copy link
Contributor Author

sweep-ai bot commented Dec 29, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

@sweep-ai sweep-ai bot added the sweep label Dec 29, 2023
@sweep-ai sweep-ai bot mentioned this pull request Dec 29, 2023
4 tasks
@HexyeDEV HexyeDEV closed this Dec 30, 2023
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.

Sweep: Switch from SQLite to MySQL
1 participant