code: def _get_output_cwl_keys(fnargs):
      
      for d in utils.flatten(fnargs):
          if isinstance(d, dict) and d.get("output_cwl_keys"):
              return d["output_cwl_keys"]
      raise ValueError("Did not find output_cwl_keys in %s" % (pprint.pformat(fnargs)))
docs: Retrieve output_cwl_keys from potentially nested input arguments.