| Server IP : 35.80.110.71 / Your IP : 216.73.216.170 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/IPython/core/__pycache__/ |
Upload File : |
�
}�eP � �` � d Z ddlZddlmZ ddlmZ ddlmZ G d� de� Z G d � d
e� Z y)a� An interface for publishing rich data to frontends.
There are two components of the display system:
* Display formatters, which take a Python object and compute the
representation of the object in various formats (text, HTML, SVG, etc.).
* The display publisher that is used to send the representation data to the
various frontends.
This module defines the logic display publishing. The display publisher uses
the ``display_data`` message type that is defined in the IPython messaging
spec.
� N)�Configurable)�List� )�publish_display_datac �F � � e Zd ZdZd � fd� Zd d�Zd
ddd�dd�Zdd�Z� xZS )
�DisplayPublisherz�A traited class that publishes display data to frontends.
Instances of this class are created by the main IPython object and should
be accessed there.
Nc �2 �� || _ t �| � |i |�� y �N)�shell�super�__init__)�selfr �args�kwargs� __class__s ��9/usr/lib/python3/dist-packages/IPython/core/displaypub.pyr
zDisplayPublisher.__init__'