Пример #1
0
 def init_database(self):
     """
     Initializes the database tables and relationships
     :return: None
     """
     init_database(self.engine)
Пример #2
0
 def init_database(self):
     """
     Initializes the database tables and relationships
     :return: None
     """
     init_database(self.engine)
Пример #3
0
from config import DATABASE_URI as engine

from Models import init_database

init_database(engine)
Пример #4
0
 def init_database(self):
     """ Initializes database tables and relationships """
     init_database(self.engine)