Skip to content
Snippets Groups Projects

Retrieve transcriptions from local cache in list_transcriptions

Merged Eva Bardou requested to merge retrieve-cached-transcriptions into master
All threads resolved!
5 files
+ 230
62
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 4
0
# -*- coding: utf-8 -*-
import json
import logging
from peewee import (
BooleanField,
@@ -13,6 +14,8 @@ from peewee import (
UUIDField,
)
logger = logging.getLogger(__name__)
db = SqliteDatabase(None)
@@ -65,6 +68,7 @@ def init_cache_db(path):
},
)
db.connect()
logger.info(f"Connected to cache on {path}")
def create_tables():
Loading