code: def generate_py_buffs(data):
      """Generate the list of buffs in buffs.py."""
      print(" buffs.py ".center(60, "-"))
      print("class Buffs(enum.IntEnum):")
      print('  """The list of buffs, as returned from RequestData."""')
      for buff in sorted(data.buffs, key=lambda a: a.name):
          if buff.name and buff.buff_id in static_data.BUFFS:
              print("  %s = %s" % (buff.name, buff.buff_id))
      print("\n")
  
file_path: pysc2/pysc2/bin/gen_data.py
imports: import collections
  from absl import app
  from pysc2 import maps
  from pysc2 import run_configs
  from pysc2.lib import static_data
  from s2clientprotocol import common_pb2
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 3 for calling a global function with example usage: generate_py_buffs(data) without return types