Skip to content

Commit 8ac9fe2

Browse files
committed
mapping
1 parent c0c686f commit 8ac9fe2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/murfey/util/db.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"""
1313
GENERAL
1414
"""
15+
mapper_registry = sqlalchemy.orm.registry()
1516

1617

1718
class MurfeyUser(SQLModel, table=True): # type: ignore
@@ -435,6 +436,7 @@ class DataCollectionGroupModel(SQLModel): # type: ignore
435436
)
436437

437438

439+
@mapper_registry.mapped
438440
class DataCollectionGroup(DataCollectionGroupModel, table=True): # type: ignore
439441
pass
440442

0 commit comments

Comments
 (0)