class_docstr: Function to use for transforming instance sets.
  
  This function interface should be used instead of manually modifying the members of an instance set so that it's
  easy to track, through "Find Usages", all transformations required for instance sets. This should make adding new
  fields (e.g. WeirdDimensionInstance) to instance sets easier to find and reason about.
class_docstr_tok: ["Function","to","use","for","transforming","instance","sets",".","This","function","interface","should","be","used","instead","of","manually","modifying","the","members","of","an","instance","set","so","that","it's","easy","to","track",",","through","``","Find","Usages","''",",","all","transformations","required","for","instance","sets",".","This","should","make","adding","new","fields","(","e.g",".","WeirdDimensionInstance",")","to","instance","sets","easier","to","find","and","reason","about","."]
code: def transform(
      self, instance_set: InstanceSet
  ) -> TransformOutputT:  # noqa: D
      pass
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from dataclasses import dataclass
  from typing import Generic, List, Tuple, TypeVar
  from dbt_semantic_interfaces.dataclass_serialization import SerializableDataclass
  from dbt_semantic_interfaces.references import MetricModelReference, SemanticModelElementReference
  from metricflow.aggregation_properties import AggregationState
  from metricflow.specs.column_assoc import ColumnAssociation
  from metricflow.specs.specs import DimensionSpec, EntitySpec, InstanceSpec, InstanceSpecSet, MeasureSpec, MetadataSpec, MetricSpec, TimeDimensionSpec
label_desc: Use image node_id 1 for calling the InstanceSetTransform obj's underlying member method code with example usage: obj.transform(instance_set) without return types