D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
python3
/
dist-packages
/
mako
/
ext
/
__pycache__
/
Filename :
beaker_cache.cpython-312.pyc
back
Copy
� ���e � �^ � d Z ddlmZ ddlmZ ddlmZ dZda G d� d e� Z y# dZY �xY w) z<Provide a :class:`.CacheImpl` for the Beaker caching system.� )� exceptions)� CacheImpl)�cacheTFNc �@ � � e Zd ZdZ� fd�Zd� Zd� Zd� Zd� Zd� Z � xZ S )�BeakerCacheImplz�A :class:`.CacheImpl` provided for the Beaker caching system. This plugin is used by default, based on the default value of ``'beaker'`` for the ``cache_impl`` parameter of the :class:`.Template` or :class:`.TemplateLookup` classes. c �� �� t st j d� �t �Fd|j j v r|j j d ant j � at �| �% |� y )Nz8Can't initialize Beaker plugin; Beaker is not installed.�manager) � has_beakerr �RuntimeException� _beaker_cache�template� cache_args�beaker_cache�CacheManager�super�__init__)�selfr � __class__s ��7/usr/lib/python3/dist-packages/mako/ext/beaker_cache.pyr zBeakerCacheImpl.__init__ se �� ���-�-�J�� � � ��E�N�N�5�5�5� %��� 9� 9�)� D� � ,� 9� 9� ;� � ����� c �V � |j dd � }d|v r|j d� |d<