code: def set_dict_keys(d: dict, key_list: list):
      """Return a new dictionary with specified key order"""
      assert set(d) == set(key_list)
      return {k: d[k] for k in key_list}
  
imports: import math
  import itertools
  from dataclasses import replace
  from typing import Mapping, Any, Sequence, Iterable, Iterator, Union, Tuple, Dict, Set
label_desc: Use image node_id 7 for calling a global function with example usage: set_dict_keys(d, key_list) and returns: unknown