This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlite3 | |
from people import create_employee, create_customer | |
from transactions import create_transaction | |
from datetime import date, datetime | |
from random import choice, randint | |
class DatabaseSession: | |
def __init__(self, db_name: str): | |
self._db_name = db_name | |
self.connection = None |