code: def export_parameters(output_file):
      input = json.loads(os.environ.get("METAFLOW_PARAMETERS", "{}"))
      params = json.loads(
          os.environ.get("METAFLOW_DEFAULT_PARAMETERS", "{}")
      )
      params.update(input)
      with open(output_file, "w") as f:
          for k in params:
              # Replace `-` with `_` is parameter names since `-` isn't an
              # allowed character for environment variables. cli.py will
              # correctly translate the replaced `-`s.
              f.write(
                  "export METAFLOW_INIT_%s=%s\n"
                  % (k.upper().replace("-", "_"), json.dumps(params[k]))
              )
      os.chmod(output_file, 509)
  
imports: import json
  import os
  import sys
  from .dynamo_db_client import DynamoDbClient
label_desc: Use image node_id 1 for calling a global function with example usage: export_parameters(output_file) without return types