HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/core20/current/usr/share/subiquity/console_conf/__pycache__/core.cpython-38.pyc
U

K��^=�@sZddlZddlmZddlmZddlmZe�d�ZGdd�de�Z	Gdd	�d	e�Z
dS)
�N)�Application)�ConsoleConfModel)�RecoverySystemsModelzconsole_conf.corec@seZdZdZeZdddgZdS)�ConsoleConf�console_confZWelcomeZNetworkZIdentityN)�__name__�
__module__�__qualname__�projectr�
make_model�controllers�r
r
�)/usr/share/subiquity/console_conf/core.pyrs�rcs2eZdZdZdddgZ�fdd�Zdd�Z�ZS)�RecoveryChooserrZRecoveryChooserWelcomeZRecoveryChooserConfirmcs$||_�fdd�|_t��|�dS)zrTakes the options and raw input/output streams for communicating with the
        chooser parent process.
        cs
t���S)N)rZfrom_systems_streamr
��
chooser_inputr
r�<lambda>7s�z*RecoveryChooser.__init__.<locals>.<lambda>N)�_chooser_outputr�super�__init__)�selfZoptsrZchooser_output��	__class__rrr0szRecoveryChooser.__init__cCs|j�||j�dS)z(Produce a response to the parent processN)Z
base_modelZto_response_streamr)rZchoicer
r
r�respond=szRecoveryChooser.respond)rrr	r
rrr�
__classcell__r
r
rrr&s�
r)ZloggingZsubiquitycore.corerZ console_conf.models.console_confrZconsole_conf.models.systemsrZ	getLogger�logrrr
r
r
r�<module>s