Add missing arguments to show_by_obj in add

This commit is contained in:
Danny Robson 2020-05-21 10:57:13 +10:00
parent 0f55007a60
commit 8dd54cccdc

View File

@ -13,7 +13,7 @@ def add(session: sa.orm.Session, title: str):
obj = Task(title=title)
session.add(obj)
session.commit()
show_by_obj(obj)
show_by_obj(session, obj)
# -----------------------------------------------------------------------------