def data_record_db_val_from_raw_val(data_hash: str) -> bytes:
    """convert a python record spec into the appropriate lmdb value

    Parameters
    ----------
    data_hash : string
        hash of the data sample

    Returns
    -------
    bytestring
        Byte encoded db record val.
    """
    record_val = f'{data_hash}'.encode()
    return record_val