API up and running.

This commit is contained in:
Yaro Kasear 2025-09-04 15:05:09 -05:00
parent d9ed6d5cd7
commit 207e3f5b51
3 changed files with 40 additions and 7 deletions

View file

@ -8,5 +8,6 @@ class Program(Dbref):
id = Column(Integer, ForeignKey("dbref.id"), primary_key=True)
__mapper_args__ = {
"polymorphic_identity": ObjectType.PROGRAM
"polymorphic_identity": ObjectType.PROGRAM,
"inherit_condition": id == Dbref.id
}