Path 1: 3 calls (1.0)
→ default True (3)
↩ return Text (3)
1def render_default(self, default: DefaultType) -> Text: 2 """Render the default as (y) or (n) rather than True/False.""" 3 yes, no = self.choices 4 return Text(f"({yes})" if default else f"({no})", style="prompt.default")