def __init__()

in resources/code/scenario0/api/app.py [0:0]


    def __init__(self):
        self.is_data_set = False
        self.create_db()
        self.conn = mysql.connector.connect(host=db_host, user=db_user, passwd=db_passwd, database=db_name)
        print(f'Successfully created DB connection for database <{db_name}>.')
        self.create_table_threads()
        self.create_table_users()
        self.create_table_posts()