mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-11-24 01:09:14 +01:00
checkpoint
This commit is contained in:
@@ -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