code: def reduce_requirements(key):
      # Resolve recursive requirements notation (-r)
      reqs = requirements[key]
      resolved_reqs = []
      for req in reqs:
          if req.startswith("-r"):
              depend_key = req[2:].lstrip()
              reduce_requirements(depend_key)
              resolved_reqs += requirements[depend_key]
          else:
              resolved_reqs.append(req)
      requirements[key] = resolved_reqs
  
imports: import os
  import pkg_resources
  import sys
  from setuptools import setup
  import chainerx_build_helper
label_desc: Use image node_id 1 for calling a global function with example usage: reduce_requirements(key) without return types