mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-21 21:33:55 +02: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