Closed edwinbalani closed 4 years ago
If uri is None then self.uri is derived from envvar MONGODB_URI, but local variable uri (still None) is used to create the MongoDB client.
uri
self.uri
MONGODB_URI
TODO: eliminate use of self.uri and possibly self.db_name (or make them properties). Have a single source of truth in self.client.uri.
self.db_name
self.client.uri
This is an extension to #29.
If
uri
is None thenself.uri
is derived from envvarMONGODB_URI
, but local variableuri
(still None) is used to create the MongoDB client.TODO: eliminate use of
self.uri
and possiblyself.db_name
(or make them properties). Have a single source of truth inself.client.uri
.This is an extension to #29.