def _ConfigureArgParserForRdfValue(self, parser, value_class):
    for type_descriptor in value_class.type_infos:
      if (not type_descriptor.hidden and
          type_descriptor.proto_type_name in ["string", "bool",
                                              "uint64", "float"]):
        kwargs = dict(help=type_descriptor.description,
                      default=type_descriptor.default,
                      required=type_descriptor.required)

        if type_descriptor.proto_type_name == "bool":
          kwargs["action"] = "store_true"
        else:
          kwargs["type"] = type_descriptor.type

        parser.add_argument("--" + type_descriptor.name, **kwargs)
A wrapper function that calls reduce_data on training data and then
dataset/ETHPy150Open google/grr/grr/tools/export_plugins/plugin.py/OutputPluginBasedExportPlugin._ConfigureArgParserForRdfValue--crossover with--dataset/ETHPy150Open theusual/kaggle-seeclickfix-ensemble/Miroslaw/data_transforms.py/sparse_reduce_and_filter