Пример #1
0
 def prompt(self,
            what: str,
            how: Optional[Callable[..., str]] = None) -> str:
     raise exceptions.NonInteractive(f"Credential not found for {what}.")
Пример #2
0
def raises_noninteractive_exc(message):
    raise exceptions.NonInteractive(message)