|
|
@@ -26,6 +26,15 @@ |
|
|
|
# SUCH DAMAGE. |
|
|
|
# |
|
|
|
|
|
|
|
# Documentation for orm: |
|
|
|
# https://github.com/encode/orm |
|
|
|
# |
|
|
|
# To interactively work with a database: |
|
|
|
# import bitelab.data |
|
|
|
# import databases |
|
|
|
# database = databases.Database('sqlite:///' + dbpath) |
|
|
|
# data = bitelab.data.make_orm(database) |
|
|
|
|
|
|
|
from typing import Optional, Union, Dict, Any |
|
|
|
from pydantic import BaseModel, Field |
|
|
|
from datetime import datetime |
|
|
|