def add_postfix_to_keys(d: dict, postfix: str) -> dict:  # pylint:disable=invalid-name
    """Update keys of a dictionary from "key" to "key_postfix"""
    d_ = {}  # pylint:disable=invalid-name
    postfix = str(postfix)
    for key, value in d.items():
        d_[key + '_' + postfix] = value

    return d_