code: def test_add_contrib_callback_args(
      sys_argv: Sequence[str], expected: List[Type]
  ):
      parser = argparse.ArgumentParser()
      add_contrib_callback_args(parser)
      args = parser.parse_args(sys_argv)
      callbacks = args.callbacks or []
  
      assert len(callbacks) == len(expected)
      for callback, expected_cls in zip(callbacks, expected):
          assert isinstance(callback, expected_cls)
  
file_path: ludwig/tests/ludwig/contrib/test_contrib.py
imports: import argparse
  from typing import List, Sequence, Type
  import pytest
  from ludwig.contrib import add_contrib_callback_args
  from ludwig.contribs.aim import AimCallback
  from ludwig.contribs.comet import CometCallback
  from ludwig.contribs.mlflow import MlflowCallback
  from ludwig.contribs.wandb import WandbCallback
label_desc: Use image node_id 1 for calling a global function with example usage: test_add_contrib_callback_args(sys_argv, expected) without return types