agent-framework/src/db.py
2025-08-11 14:51:24 -04:00

25 lines
332 B
Python

from lib import *
# db = peewee.MySQLDatabase(**conf["db"])
# db.connect()
db = None
"""
$ Base
Inherit from Base to define a new model in the
database. Base is the parent component for all
database models, as it is connected to db. \
"""
class Base(peewee.Model):
class Meta:
database = db