def METHOD_NAME(
    self,
    pri_prompt_terminator: str = r"#",
    alt_prompt_terminator: str = r"$",
    delay_factor: float = 1.0,
    pattern: Optional[str] = None,
) -> str:
    if not pattern:
        pattern = self.prompt_pattern
    return super().METHOD_NAME(
        pri_prompt_terminator=pri_prompt_terminator,
        alt_prompt_terminator=alt_prompt_terminator,
        delay_factor=delay_factor,
        pattern=pattern,
    )