code: def get_query_options_to_defer_immutable_duplicates() -> (
      List[strategy_options.Load]
  ):
      """Returns the query options that defer loading of attributes that are duplicated
      on each trial (like search space attributes and metrics). These attributes do not
      need to be loaded for experiments with immutable search space and optimization
      configuration.
      """
      options = [
          lazyload(f"generator_runs.{col}")
          for col in GR_PARAMS_METRICS_COLS
      ]
      return options
  
imports: from typing import List
  from ax.storage.sqa_store.sqa_classes import SQAGeneratorRun
  from sqlalchemy.orm import defaultload, lazyload, strategy_options
  from sqlalchemy.orm.attributes import InstrumentedAttribute
label_desc: Use image node_id 1 for calling a global function with example usage: get_query_options_to_defer_immutable_duplicates() and returns: options