code: def _get_recursive_parents(dtype: DType) -> Set[DType]:
      return (
          set.union(
              *[
                  _get_recursive_parents(d)
                  for d in promo_lattice[dtype]
              ],
              {dtype},
          )
          if dtype != dtypes.float64
          else {dtypes.float64}
      )
  
imports: from typing import Final, Optional, ClassVar, Set, Tuple, Dict
  from dataclasses import dataclass
  import numpy
  import functools
label_desc: Use image node_id 1 for calling a global function with example usage: _get_recursive_parents(dtype) and returns: unknown