§
    ¹³Ùg–	  ã                   ó0   — d Z ddlmZ  G d„ d¦  «        ZdS )zClass for job status.é    )Údeprecate_funcc                   óh   — e Zd ZdZi Z edddd¬¦  «        d„ ¦   «         Zed„ ¦   «         Zd	„ Z	d
„ Z
dS )Ú	JobStatusz£Model for JobStatus.

    Attributes:
        job_id (str): backend job_id.
        status (str): status of the job.
        status_msg (str): status message.
    z1.4zin the 2.0 releasea!  The models in ``qiskit.providers.models`` and related objects are part of the deprecated `BackendV1` workflow,  and no longer necessary for `BackendV2`. If a user workflow requires these representations it likely relies on deprecated functionality and should be updated to use `BackendV2`.é   )ÚsinceÚremoval_timelineÚadditional_msgÚ
stacklevelc                 ór   — i | _         || _        || _        || _        | j                              |¦  «         d S )N)Ú_dataÚjob_idÚstatusÚ
status_msgÚupdate)Úselfr   r   r   Úkwargss        úW/granary/edev/quantum/lib/python3.11/site-packages/qiskit/providers/models/jobstatus.pyÚ__init__zJobStatus.__init__   s<   € ð ˆŒ
ØˆŒØˆŒØ$ˆŒØŒ
×Ò˜&Ñ!Ô!Ð!Ð!Ð!ó    c                 ó   —  | di |¤ŽS )aX  Create a new JobStatus object from a dictionary.

        Args:
            data (dict): A dictionary representing the JobStatus to create.
                         It will be in the same format as output by
                         :meth:`to_dict`.

        Returns:
            JobStatus: The ``JobStatus`` from the input dictionary.
        © r   )ÚclsÚdatas     r   Ú	from_dictzJobStatus.from_dict-   s   € ð ˆsˆ{ˆ{�Tˆ{ˆ{Ðr   c                 ód   — | j         | j        | j        dœ}|                     | j        ¦  «         |S )zŽReturn a dictionary format representation of the JobStatus.

        Returns:
            dict: The dictionary form of the JobStatus.
        )r   r   r   )r   r   r   r   r   )r   Úout_dicts     r   Úto_dictzJobStatus.to_dict;   s:   € ð ”kØ”kØœ/ð
ð 
ˆð
 	�Š˜œ
Ñ#Ô#Ð#Øˆr   c                 ój   — 	 | j         |         S # t          $ r}t          d|› d�¦  «        |‚d }~ww xY w)Nz
Attribute z is not defined)r   ÚKeyErrorÚAttributeError)r   ÚnameÚexs      r   Ú__getattr__zJobStatus.__getattr__I   sT   € ð	MØ”:˜dÔ#Ð#øÝð 	Mð 	Mð 	MÝ Ð!C¨dÐ!CÐ!CÐ!CÑDÔDÈ"ÐLøøøøð	Møøøs   ‚ �
2™-­2N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Úclassmethodr   r   r#   r   r   r   r   r      s    € € € € € ðð ð €Eà€^ØØ-ð0ð ðñ ô ð"ð "ñô ð"ð ðð ñ „[ððð ð ðMð Mð Mð Mð Mr   r   N)r'   Úqiskit.utilsr   r   r   r   r   ú<module>r*      s[   ðð Ð à 'Ð 'Ð 'Ð 'Ð 'Ð 'ð;Mð ;Mð ;Mð ;Mð ;Mñ ;Mô ;Mð ;Mð ;Mð ;Mr   