관리-도구
편집 파일: beaker_cache.cpython-311.pyc
� �܋f � �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 ��f/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-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<