@defer.inlineCallbacks
    def get_login_tuple_for_user_id(self, user_id):
        user_id, ignored = yield self._find_user_id_and_pwd_hash(user_id)

        logger.info("Logging in user %s", user_id)
        access_token = yield self.issue_access_token(user_id)
        refresh_token = yield self.issue_refresh_token(user_id)
        defer.returnValue((user_id, access_token, refresh_token))
Run the watcher.
dataset/ETHPy150Open matrix-org/synapse/synapse/handlers/auth.py/AuthHandler.get_login_tuple_for_user_id--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/binary_sensor/nx584.py/NX584Watcher.run