File: //lib/python3.9/site-packages/certbot/display/__pycache__/util.cpython-39.opt-1.pyc
a
}|�gd �
@ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ejZej Z dZ
edd �d
d�Zd$ee
e
e
e
dd�dd�Zd%eeee eeeef f ee ee e
eeef d�dd�Zd&eee ee e
eeef d�dd�Zd'eeeee
ee e
e
d�dd�Zd(eee eee ee e
eeee f d�dd�Zd)eee ee e
eeef d�dd �Zeeee
dd!�d"d#�ZdS )*a$ Certbot display.
This module (`certbot.display.util`) or its companion `certbot.display.ops`
should be used whenever:
- Displaying status information to the user on the terminal
- Collecting information from the user via prompts
Other messages can use the `logging` module. See `log.py`.
� )�List)�Optional)�Tuple)�Union)�obj�H N)�msg�returnc C s t �� j| dddd� dS )zMDisplay a basic status message.
:param str msg: message to display
F)�pause�decorate�wrapN�r �get_display�notification)r � r �8/usr/lib/python3.9/site-packages/certbot/display/util.py�notify s r TF)�messager
r �force_interactiver r c C s t �� j| ||||d� dS )a� Displays a notification and waits for user acceptance.
:param str message: Message to display
:param bool pause: Whether or not the program should pause for the
user's confirmation
:param bool wrap: Whether or not the application should wrap text
:param bool force_interactive: True if it's safe to prompt the user
because it won't cause any workflow regressions
:param bool decorate: Whether to surround the message with a
decorated frame
)r
r r r Nr
)r r
r r r r r r r &