code: def create_db_entry(self, tfi):
          
          if tfi.task.department.assetflag:
              comment = self.asset_comment_pte.toPlainText()
          else:
              comment = self.shot_comment_pte.toPlainText()
          return tfi.create_db_entry(comment)
docs: Create a db entry for the given task file info
  
          :param tfi: the info for a TaskFile entry in the db
          :type tfi: :class:`jukeboxcore.filesys.TaskFileInfo`
          :returns: the created taskfile and note
          :rtype: tuple
          :raises: ValidationError