(dest: MutableMapping[str, T], new_item: T)
Update dest to overwrite whatever is at dest[new_item.unique_id] with
    new_itme. There must be an existing value to overwrite, and they two nodes
    must have the same original file path.
Update dest to overwrite whatever is at dest[new_item.unique_id] with
    new_itme. There must be an existing value to overwrite, and they two nodes
    must have the same original file path.
Update dest to overwrite whatever is at dest [ new_item . unique_id ] with new_itme . There must be an existing value to overwrite and they two nodes must have the same original file path .
def _update_into(dest: MutableMapping[str, T], new_item: T):
    """Update dest to overwrite whatever is at dest[new_item.unique_id] with
    new_itme. There must be an existing value to overwrite, and they two nodes
    must have the same original file path.
    """
    unique_id = new_item.unique_id
    if unique_id not in dest:
        raise dbt.exceptions.RuntimeException(
            f'got an update_{new_item.resource_type} call with an '
            f'unrecognized {new_item.resource_type}: {new_item.unique_id}'
        )
    existing = dest[unique_id]
    if new_item.original_file_path != existing.original_file_path:
        raise dbt.exceptions.RuntimeException(
            f'cannot update a {new_item.resource_type} to have a new file '
            f'path!'
        )
    dest[unique_id] = new_item
def _update_into ( dest : MutableMapping [ str , T ] , new_item : T ) : unique_id = new_item . unique_id if unique_id not in dest : raise dbt . exceptions . RuntimeException ( f'got an update_{new_item.resource_type} call with an ' f'unrecognized {new_item.resource_type}: {new_item.unique_id}' ) existing = dest [ unique_id ] if new_item . original_file_path != existing . original_file_path : raise dbt . exceptions . RuntimeException ( f'cannot update a {new_item.resource_type} to have a new file ' f'path!' ) dest [ unique_id ] = new_item