API up and running.
This commit is contained in:
parent
d9ed6d5cd7
commit
207e3f5b51
3 changed files with 40 additions and 7 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue