Browse Source

Document what ORM we use, and how to manually manipulate data..

main
John-Mark Gurney 4 years ago
parent
commit
5fc747a9d4
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      bitelab/data.py

+ 9
- 0
bitelab/data.py View File

@@ -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


Loading…
Cancel
Save