code: def _expand_reqs(extras: dict, keys: list) -> list:
      return list(chain(*[extras[ex] for ex in keys]))
  
file_path: lightning-flash/setup.py
imports: import glob
  import os
  import re
  from functools import partial
  from importlib.util import module_from_spec, spec_from_file_location
  from itertools import chain
  from setuptools import find_packages, setup
label_desc: Use image node_id 5 for calling a global function with example usage: _expand_reqs(extras, keys) and returns: list