code: def create_load_action(
      contrib_loader: ContribLoader,
  ) -> argparse.Action:
      class LoadContribAction(argparse.Action):
          def __call__(self, parser, namespace, values, option_string):
              items = getattr(namespace, self.dest) or []
              items.append(contrib_loader.load())
              setattr(namespace, self.dest, items)
  
      return LoadContribAction
  
imports: import argparse
  from ludwig.contribs import contrib_registry, ContribLoader
label_desc: Use image node_id 1 for calling a global function with example usage: create_load_action(contrib_loader) and returns: LoadContribAction