def allowed_args(**kwargs):
    """Returns the keyword arguments allowed for proto_library().

    Args:
      **kwargs: the specified keyword arguments.
    Returns:
      the allowed keyword arguments.
    """
    result = dict(kwargs)
    result.pop("cc_api_version", None)
    return result