
    b                     6    d Z ddlmZ ddlmZ  G d de      Zy)z
Contains writer base class.
    )List   )NbConvertBasec                   ^     e Zd ZdZ eg 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      8/usr/lib/python3/dist-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      s7     
)
 
cc 
.$r   r   N)r   	traitletsr   
utils.baser   r   r   r   r   <module>r!      s     & $  $r   