

def moveListFromBoard(self, action):
    data = action['data']
    context = {
        'board_target_name': data['boardTarget']['name'],
        'board_name': data['board']['name'],
        'board_link': data['board']['shortLink'],
        'list_name': data['list']['name'],
    }
    payload = ':incoming_envelope: List moved: "[{list_name}](https://trello.com/b/{board_link})" moved from "[{board_name}](https://trello.com/b/{board_link}) to board "{board_target_name}"'
    return payload.format(**context)

dataset/ETHPy150Open Lujeni/matterllo/matterllo/hook/list.py Hook.moveListFromBoard/original