tools/metrics/ukm/xml_validations.py
def _getLocalMetricIndexFields(metric_node):
  """Gets a set of metric names being used as local-metric index fields."""
  index_fields = _getIndexFields(metric_node)
  local_metric_fields = set()
  for fields in index_fields:
    local_metric_fields.update(LOCAL_METRIC_RE.findall(fields))
  return local_metric_fields
Gets a set of metric names being used as local-metric index fields.
Gets a set of metric names being used as local-metric index fields.
Gets a set of metric names being used as local - metric index fields .
def _getLocalMetricIndexFields(metric_node):
  index_fields = _getIndexFields(metric_node)
  local_metric_fields = set()
  for fields in index_fields:
    local_metric_fields.update(LOCAL_METRIC_RE.findall(fields))
  return local_metric_fields
def _getLocalMetricIndexFields ( metric_node ) : index_fields = _getIndexFields ( metric_node ) local_metric_fields = set ( ) for fields in index_fields : local_metric_fields . update ( LOCAL_METRIC_RE . findall ( fields ) ) return local_metric_fields
Gets a set of metric names being used as local-metric index fields.
Gets a set of metric names being used as local - metric index fields .
"""Gets a set of metric names being used as local-metric index fields."""
metric_node