code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      parser.add_argument("--withclassinheritence", default="a")
      super().add_cmdline_args(parser, partial_opt=partial_opt)
      return parser
  
file_path: ParlAI/tests/test_ta_inheritence.py
imports: from typing import Optional
  from parlai.core.opt import Opt
  import unittest
  from parlai.core.params import ParlaiParser
  from parlai.core.torch_generator_agent import TorchGeneratorAgent
label_desc: Use image node_id 2 for calling the SubClassA obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser