
    f                    F    d Z ddlmZ ddlmZmZ ddlmZ  G d de      Zy)z
Contains writer base class.
    )annotations)ListUnicode)NbConvertBasec                  h     e Zd ZdZ e e       d      j                  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)configc                (    t        |   dd|i| y)z
        Constructor
        r
   N )super__init__)selfr
   kw	__class__s      Q/var/www/cvtools/html/venv/lib/python3.12/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      s9     	)
 
cc 
.$r   r   N)	r   
__future__r   	traitletsr   r   nbconvert.utils.baser   r   r   r   r   <module>r#      s!    # # . $  $r   