ó
    Ñ]jã  ã                   ó6   • S r SSKJr  SSKJr   " S S\5      rg)zHPayload system for IPython.

Authors:

* Fernando Perez
* Brian Granger
é    )ÚConfigurable)ÚListc                   óF   • \ rS rSr% \" / 5      r\\S'   SS jrS rS r	Sr
g)	ÚPayloadManageré   Ú_payloadc                 ó"  • [        U[        5      (       d  [        SU-  5      eU(       aJ  SU;   aD  US   n[        U R                  5       H&  u  pESU;   d  M  US   U:X  d  M  XR                  U'     g   U R                  R                  U5        g)z¸Include or update the specified `data` payload in the PayloadManager.

If a previous payload with the same source exists and `single` is True,
it will be overwritten with the new one.
z*Each payload write must be a dict, got: %rÚsourceN)Ú
isinstanceÚdictÚ	TypeErrorÚ	enumerater   Úappend)ÚselfÚdataÚsingler
   ÚiÚpls         ÚQ/home/mande/repo/quber/.venv/lib/python3.13/site-packages/IPython/core/payload.pyÚwrite_payloadÚPayloadManager.write_payload   s   € ô ˜$¤×%Ñ%ÜÐHÈ4ÑOÓPÐPæ�h $Ó&Ø˜(‘^ˆFÜ" 4§=¡=Ö1‘�Ø˜r•> b¨¡l°fÕ&<Ø'+—M‘M !Ñ$Ùñ 2ð
 	�‰×Ñ˜TÕ"ó    c                 ó   • U R                   $ ©N©r   ©r   s    r   Úread_payloadÚPayloadManager.read_payload2   s   € Ø�}‰}Ðr   c                 ó   • / U l         g r   r   r   s    r   Úclear_payloadÚPayloadManager.clear_payload5   s	   € Øˆ�r   r   N)T)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   Ú__annotations__r   r   r    Ú__static_attributes__© r   r   r   r      s   ‡ Ù˜"“X€HˆdÓô#ò&õr   r   N)Ú__doc__Útraitlets.config.configurabler   Ú	traitletsr   r   r(   r   r   Ú<module>r,      s   ðñõ& 7Ý ô�\õ r   