| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/IPython/core/__pycache__/ |
Upload File : |
�
�@�cP � �n � d Z ddlZddlmZ ddlmZ ddlmZ G d� de� � Z G d � d
e� � Z dS )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�Zdddd�dd�Zd
d �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 �H �� || _ t � � j |i |�� d S �N)�shell�super�__init__)�selfr �args�kwargs� __class__s ��9/usr/lib/python3/dist-packages/IPython/core/displaypub.pyr
zDisplayPublisher.__init__'