code: def __init__(self, obj_type):
      msg = (
          "`get_cards` function requires a `Task` object or pathspec as an argument. `task` argument cannot be of type %s."
          % str(obj_type)
      )
      super().__init__(msg=msg, lineno=None)
  
imports: from metaflow.exception import MetaflowException
  import traceback
  import re
label_desc: Use image node_id 1 to create a new IncorrectArgumentException object from inherited base classes: MetaflowException with example: obj = IncorrectArgumentException(obj_type)