mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2026-02-13 22:17:38 +01:00
checkpoint
This commit is contained in:
1 parent
b05088c966
commit
a81d3638c5
1 file changed
+3
-1
@@ -41,5 +41,7 @@ class MongoConnector:
|
||||
Args:
|
||||
connection (MongoConnection): Wrapper for connection string
|
||||
"""
|
||||
self.client = pymongo.MongoClient(connection.get_conn_string())
|
||||
self.client: pymongo.MongoClient = pymongo.MongoClient(
|
||||
connection.get_conn_string()
|
||||
)
|
||||
self.database = self.client[connection.database]
|
||||
Reference in new issue
Block a user