code: def _flags_for_click_params(params):
      flags = {}
      for param in params:
          _maybe_apply_flag(param, flags)
      return flags
  
imports: import argparse
  import json
  import logging
  import os
  import subprocess
  import sys
  import click
  from guild import python_util
  from guild import util
  from .None import import_argparse_flags_main
  from .None import python_script
label_desc: Use image node_id 8 for calling a global function with example usage: _flags_for_click_params(params) and returns: flags