
    Mh                    N    d Z ddlmZ ddlmZmZ ddlmZ  G d de          ZdS )z
Contains writer base class.
    )annotations)ListUnicode)NbConvertBasec                  |     e Zd ZdZ e e            d                              d          Zd	 fd	Zd Z	 xZ
S )

WriterBasezWConsumes output from nbconvert export...() methods and writes to a
    useful location.zm
        List of the files that the notebook references.  Files will be
        included with written output.)helpT)configNc                >     t                      j        dd|i| dS )z
        Constructor
        r
   N )super__init__)selfr
   kw	__class__s      V/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/nbconvert/writers/base.pyr   zWriterBase.__init__   s-     	---"-----    c                    t                      )a  
        Consume and write Jinja output.

        Parameters
        ----------
        output : string
            Conversion results.  This string contains the file contents of the
            converted file.
        resources : dict
            Resources created and filled by the nbconvert conversion process.
            Includes output from preprocessors, such as the extract figure
            preprocessor.
        )NotImplementedError)r   output	resourcesr   s       r   writezWriterBase.write   s     "###r   )N)__name__
__module____qualname____doc__r   r   tagfilesr   r   __classcell__)r   s   @r   r   r      s          D		)  
 
cc 
. . . . . .$ $ $ $ $ $ $r   r   N)	r   
__future__r   	traitletsr   r   nbconvert.utils.baser   r   r   r   r   <module>r#      s     # " " " " " # # # # # # # # . . . . . . $  $  $  $  $  $  $  $  $  $r   