Exemple #1
0
def check_if_table_exists():
    return UserListModel.exists()
Exemple #2
0
def create_table():
    if not UserListModel.exists():
        UserListModel.create_table(
            read_capacity_units=1, write_capacity_units=1, wait=True
        )