Skip to content

Commit

Permalink
update clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
clydewtt committed Feb 11, 2025
1 parent 44dc44c commit 9eede00
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion morgan_course_data/db.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pymongo.mongo_client import MongoClient
from pymongo.server_api import ServerApi

uri = "mongodb+srv://read:0kS4fcyXXOqWwSpt@coursedatacluster.r4jik.mongodb.net/?retryWrites=true&w=majority&appName=CourseDataCluster"
uri = "mongodb+srv://read:0kS4fcyXXOqWwSpt@clusterfree.r4jik.mongodb.net/?retryWrites=true&w=majority&appName=ClusterFree"

def get_db_connection(db_name):
"""
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
pymongo
bson
pymongo
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="morgan_course_data",
version="0.1.2",
version="0.1.3",
packages=find_packages(),
description="Python package for querying Morgan State University course data.",
long_description=README,
Expand All @@ -20,6 +20,6 @@
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
install_requires=["pymongo", "bson"],
install_requires=["pymongo"],
extras_require={"dev": ["pytest>=6.0.0"]},
)

0 comments on commit 9eede00

Please sign in to comment.