
    9Ee                    J    d Z ddlmZ ddlmZ ddlmZ  G d de          ZdS )z
Contains writer base class.
    )annotations)List)NbConvertBasec                  x     e Zd ZU dZ eg d                              d          Zded<   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)configz	List[str]filesNc                >     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   tagr
   __annotations__r   r   __classcell__)r   s   @r   r   r      s           t
)  
 
cc 
    . . . . . .$ $ $ $ $ $ $r   r   N)r   
__future__r   	traitletsr   nbconvert.utils.baser   r   r   r   r   <module>r#      s{     # " " " " "       . . . . . . $  $  $  $  $  $  $  $  $  $r   