ral-facilities / inventory-management-system-api

Apache License 2.0
0 stars 0 forks source link

Change database configuration and connection #287

Closed VKTB closed 4 months ago

VKTB commented 4 months ago

At the moment, we use the code below to construct the host value for the MongoClient class but this would not work for replica set connection strings. f"{db_config.protocol}://{db_config.username}:{db_config.password}@{db_config.hostname}:{db_config.port}"

VKTB commented 4 months ago

Closed in #289