def SetFunctionCmt(ea, cmt, repeatable):
    func = idaapi.get_func(ea)

    if not func:
        return None
    else:
        return idaapi.set_func_cmt(func, cmt, repeatable)
Get task logs from the DB.  The message could have
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SetFunctionCmt--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/messaging.py/_BaseMessageMethods.task_log_get_all