def parse_release_id(release_id):
if "<STR_LIT:@>" in release_id:<EOL><INDENT>release, base_product = release_id.split("<STR_LIT:@>")<EOL><DEDENT>else:<EOL><INDENT>release = release_id<EOL>base_product = None<EOL><DEDENT>result = _parse_release_id_part(release)<EOL>if base_product is not None:<EOL><INDENT>result.update(_parse_release_id_part(base_product, prefix="<STR_LIT>"))<EOL><DEDENT>return result<EOL>
Parse release_id to parts:
{short, version, type}
or
{short, version, type, bp_short, bp_version, bp_type}

:param release_id: Release ID string
:type release_id: str
:rtype: dict