<filename>server/models/books_model.py
from server import db


# User table from the database
class BooksModel:
    def __init__(self):
        self.database = db.connection.cursor()

<filename>server/models/books_model.py
from server import db


# User table from the database
class BooksModel:
    def __init__(self):
        self.database = db.connection.cursor()

# User table from the database