(message: str)
| 153 | |
| 154 | |
| 155 | def prompt_password(message: str) -> str: |
| 156 | if is_notebook(): |
| 157 | print() |
| 158 | return getpass.getpass(message) |
| 159 | else: |
| 160 | return questionary.password(message).ask() |
| 161 | |
| 162 | |
| 163 | def format_duration(seconds: float) -> str: |