Files
2024-01-13 12:59:19 +02:00

11 lines
436 B
Python

from .connection import MONGODB_CONFIG, MongoDbHandler
mongo_db_handler = MongoDbHandler(**MONGODB_CONFIG)
mongo_db_handler.connect()
'''
The 'mongodb_database' package contains the definition of the 'MongoDbHandler' class which connects to the MongoDB
database used for storing the messages between the clients.
The object 'mongo_db_handler' is created inside this file and can be used throughout the lifetime of the application
'''