In the downloadable code in the file: \code\tasks_proj\src\tasks\ tasksdb_tinydb.py
On line 66, the function’s return mistakenly says it should return a “TasksDB_MongoDB object”
def start_tasks_db(db_path): # type (str) -> TasksDB_MongoDB object
"""Connect to db."""
return TasksDB_TinyDB(db_path)
It should read:
def start_tasks_db(db_path): # type (str) -> TasksDB_TinyDB object
"""Connect to db."""
return TasksDB_TinyDB(db_path)