update logging etc

This commit is contained in:
matthias@matsewe.de
2024-06-06 16:22:14 +02:00
parent 7d6c7591dd
commit 9c57123a48
6 changed files with 26 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker, DeclarativeBase
from sqlalchemy.types import PickleType
from sqlalchemy.types import PickleType, JSON
import os
@@ -23,5 +23,5 @@ class Base(DeclarativeBase):
type_annotation_map = {
dict[str, bool]: PickleType,
object: PickleType,
set: PickleType
list[str]: JSON
}