
    :Mc                     >    d Z ddlmZ ddlmZ  G d de          ZdS )z
Contains writer base class.
    )List   )NbConvertBasec                   l     e Zd ZdZ eg 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      6lib/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   tagfilesr   r   __classcell__)r   s   @r   r   r      s          D
)  
 
cc 
. . . . . .$ $ $ $ $ $ $r   r   N)r   	traitletsr   
utils.baser   r   r   r   r   <module>r!      si           & & & & & & $  $  $  $  $  $  $  $  $  $r   