human
I wrote the below code

    from PyQt5.QtCore import QCoreApplication
    app = QCoreApplication([])
    result = []
    def callback(dismissed, unlocked):
        result.append(dismissed)
        result.append(unlocked)
        app.quit()
    exec_prompt(bus, prompt, callback)
    app.exec_()
    return (result[0], result[1])

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def exec_prompt_qt(bus, prompt):