a
    Æ7Ub­  ã                   @   s$   d Z ddlmZ G dd„ deƒZdS )z
Contains CheesePreprocessor
é   )ÚPreprocessorc                       s(   e Zd ZdZ‡ fdd„Zdd„ Z‡  ZS )ÚCheesePreprocessorz3
    Adds a cheese tag to the resources object
    c                    s   t ƒ jf i |¤Ž dS )z$
        Public constructor
        N)ÚsuperÚ__init__)ÚselfÚkw©Ú	__class__© ú?lib/python3.9/site-packages/nbconvert/exporters/tests/cheese.pyr      s    zCheesePreprocessor.__init__c                 C   s   d|d< ||fS )aR  
        Sphinx preprocessing to apply on each notebook.

        Parameters
        ----------
        nb : NotebookNode
            Notebook being converted
        resources : dictionary
            Additional resources used in the conversion process.  Allows
            preprocessors to pass variables into the Jinja engine.
        ÚrealZcheeser
   )r   ZnbZ	resourcesr
   r
   r   Ú
preprocess#   s    zCheesePreprocessor.preprocess)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__classcell__r
   r
   r   r   r      s   r   N)r   Zpreprocessors.baser   r   r
   r
   r
   r   Ú<module>   s   