def METHOD_NAME(
    cls,
    yaml_data: Dict[str, Any],
    code_model: "CodeModel",
    client: "Client",
) -> "OperationGroup":
    operations = [
        get_operation(o, code_model, client) for o in yaml_data["operations"]
    ]
    api_versions: OrderedSet[str] = {}
    for operation in operations:
        for api_version in operation.api_versions:
            api_versions[api_version] = None
    return cls(
        yaml_data=yaml_data,
        code_model=code_model,
        client=client,
        operations=operations,
        api_versions=list(api_versions.keys()),
    )