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

Replace pymongo with Mongo Engine #57

Merged
merged 25 commits into from
Nov 22, 2023
Merged

Replace pymongo with Mongo Engine #57

merged 25 commits into from
Nov 22, 2023

Conversation

dragid10
Copy link
Owner

Description

In order to make maintenance easier, we're going to start using an Object Document Manager (ODM) called MongoEngine to make calls to the mongodb easier

Motivation and Context

This change will enable us to make updates to the bot easier in the future. Python native objects make it a lot easier to add features hitting the database

How Has This Been Tested?

  • tested via the pytests

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@dragid10 dragid10 self-assigned this Nov 11, 2023
@dragid10 dragid10 added the enhancement New feature or request label Nov 22, 2023
@dragid10 dragid10 merged commit e7ebea4 into main Nov 22, 2023
1 check passed
@dragid10 dragid10 deleted the sqlalchemize branch November 22, 2023 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant