class_docstr: Gets all element names for all specs in the set.
class_docstr_tok: ["Gets","all","element","names","for","all","specs","in","the","set","."]
code: def transform(self, spec_set: InstanceSpecSet) -> Set[str]:  # noqa: D
      return (
          {x.element_name for x in spec_set.metric_specs}
          .union({x.element_name for x in spec_set.measure_specs})
          .union({x.element_name for x in spec_set.dimension_specs})
          .union(
              {x.element_name for x in spec_set.time_dimension_specs}
          )
          .union({x.element_name for x in spec_set.entity_specs})
      )
  
imports: from __future__ import annotations
  from typing import Set
  from metricflow.specs.specs import InstanceSpecSet, InstanceSpecSetTransform
label_desc: Use image node_id 1 for calling the ToElementNameSet obj's underlying member method code with example usage: obj.transform(spec_set) and returns: unknown