12 lines
487 B
Python
12 lines
487 B
Python
from .connection import POSTGRESQL_CONFIG, PostgreSQLHandler
|
|
|
|
postgresql_db_handler = PostgreSQLHandler(**POSTGRESQL_CONFIG)
|
|
postgresql_db_handler.connect()
|
|
|
|
'''
|
|
The 'postgresql_database' package contains the definition of the 'PostgreSQlHandler' class which connects to the MongoDB
|
|
database used for storing information about the users and the existing chats
|
|
|
|
The object 'postgresql_db_handler' is created inside this file and can be used throughout the lifetime
|
|
of the application
|
|
''' |