class_docstr: Removes metrics and measures from the spec set.
class_docstr_tok: ["Removes","metrics","and","measures","from","the","spec","set","."]
code: def transform(
      self, spec_set: InstanceSpecSet
  ) -> InstanceSpecSet:  # noqa: D
      return InstanceSpecSet(
          metric_specs=(),
          measure_specs=(),
          dimension_specs=spec_set.dimension_specs,
          time_dimension_specs=spec_set.time_dimension_specs,
          entity_specs=spec_set.entity_specs,
      )
  
file_path: metricflow/metricflow/plan_conversion/spec_transforms.py
imports: from __future__ import annotations
  from typing import List, Sequence
  from metricflow.plan_conversion.select_column_gen import SelectColumnSet
  from metricflow.plan_conversion.sql_expression_builders import make_coalesced_expr
  from metricflow.specs.column_assoc import ColumnAssociation, ColumnAssociationResolver
  from metricflow.specs.specs import InstanceSpecSet, InstanceSpecSetTransform
  from metricflow.sql.sql_plan import SqlSelectColumn
label_desc: Use image node_id 1 for calling the SelectOnlyLinkableSpecs obj's underlying member method code with example usage: obj.transform(spec_set) and returns: InstanceSpecSet