

def insert(self, project, taskid, obj={
    
}):
    if (project not in tablename.projects):
        self._create_project(project)
        self._list_project()
    obj = dict(obj)
    obj['taskid'] = taskid
    obj['project'] = project
    obj['updatetime'] = time.time()
    tablename = self._tablename(project)
    return self._insert(tablename, **self._stringify(obj))

dataset/ETHPy150Open binux/pyspider/pyspider/database/sqlite/taskdb.py TaskDB.insert/VarMisuse@26/28 `self`->`tablename`