def METHOD_NAME(self):
    # TaskParams is a base class, test that the from_cli_args method behaves as expected
    #   when inherited
    @dataclass(frozen=True)
    class ChildTaskParams(common.TaskParams):
        user_params_schema: ClassVar[str] = "schemas/some_schema.json"
        a: int
        b: Optional[int] = None
    self.mock_read_user_params("schemas/some_schema.json")
    args = deepcopy(TASK_ARGS_WITH_USER_PARAMS)
    params = ChildTaskParams.from_cli_args({**args, "a": 1})
    self.check_attrs(params)
    assert params.a == 1
    assert params.b is None