from typing import Dict


def parse_group_id(group_id: str) -> Dict:
    """
    解析插件组ID
    :param group_id: sub_1234_host_1
    :return: {
        "subscription_id": 1234,
        "object_type": host,
        "id": 1,
    }
    """
    source_type, subscription_id, object_type, _id = group_id.split("_")
    return {
        "subscription_id": subscription_id,
        "object_type": object_type,
        "id": _id,
    }