| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/mako/ext/__pycache__/ |
Upload File : |
�
��sc
� �h � d Z ddlmZ ddlmZ ddlmZ dZn # dZY nxY wda G d� d e� � Z
dS )
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 �4d|j j v r|j j d ant
j � � at � � � |� � d S )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__ sx �� �� ��-�J�� �
� � ��E�N�5�5�5� %�� 9�)� D�
�
� ,� 9� ;� ;�
�
����������� c � � |� dd � � }d|v r|� d� � |d<