code: def render_requirements(filename):
      pinned = get_pinned_packages()
      with open(filename) as fin:
          contents = "".join(fin.readlines())
  
      return contents.format(**pinned)
  
imports: import argparse
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: render_requirements(filename) and returns: contents