Server IP : 192.158.238.246 / Your IP : 3.17.166.43 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib64/python3.11/site-packages/mako/__pycache__/ |
Upload File : |
� ��bg � � � d dl mZ ej d� � Zej Z eddd� � G d� d� � Z G d� d � � Zd S )� )�utilz mako.cache�beakerzmako.ext.beaker_cache�BeakerCacheImplc �l � e Zd ZdZdZ dZ dZ d� Zd� Zd� Z d� Z d� ZeZ d� Z d � Zd � Zd� Zd� Zd � ZdS )�Cachea� Represents a data content cache made available to the module space of a specific :class:`.Template` object. .. versionadded:: 0.6 :class:`.Cache` by itself is mostly a container for a :class:`.CacheImpl` object, which implements a fixed API to provide caching services; specific subclasses exist to implement different caching strategies. Mako includes a backend that works with the Beaker caching system. Beaker itself then supports a number of backends (i.e. file, memory, memcached, etc.) The construction of a :class:`.Cache` is part of the mechanics of a :class:`.Template`, and programmatic access to this cache is typically via the :attr:`.Template.cache` attribute. Nc �� � t |t � � r|rd S || _ |j j | _ |j j | _ i | _ | � | j j � � | _ d S �N)� isinstance�str�template�module�__name__�id�_modified_time� starttime�_def_regions� _load_impl� cache_impl�impl)�selfr �argss �A/opt/cloudlinux/venv/lib64/python3.11/site-packages/mako/cache.py�__init__zCache.__init__A se � � �h��$�$� �� ��F� �� ��/�*���!��7�������O�O�D�M�$<�=�=�� � � � c �F � t � |� � | � � S r )�_cache_plugins�load�r �names r r zCache._load_implL s � ��"�"�4�(�(��.�.�.r c �"