/opt/cloudlinux/venv/lib/python3.11/site-packages/mako/__pycache__
NameSizeModeActions
ast.cpython-311.pyc84940644editdlrm
cache.cpython-311.pyc89110644editdlrm
cmd.cpython-311.pyc42170644editdlrm
codegen.cpython-311.pyc629570644editdlrm
compat.cpython-311.pyc32730644editdlrm
exceptions.cpython-311.pyc162360644editdlrm
filters.cpython-311.pyc73990644editdlrm
lexer.cpython-311.pyc206170644editdlrm
lookup.cpython-311.pyc143500644editdlrm
parsetree.cpython-311.pyc327600644editdlrm
pygen.cpython-311.pyc119150644editdlrm
pyparser.cpython-311.pyc119460644editdlrm
runtime.cpython-311.pyc416370644editdlrm
template.cpython-311.pyc279550644editdlrm
util.cpython-311.pyc210650644editdlrm
_ast_util.cpython-311.pyc410670644editdlrm
__init__.cpython-311.pyc2260644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/mako/__pycache__/cache.cpython-311.pyc (8911B)
§ Jðo^>ðÚãóŽ—ddlmZejd¦«ZejZeddd¦«Gd„d¦«ZGd„d ¦«Zd S) é)Úutilz mako.cacheÚbeakerzmako.ext.beaker_cacheÚBeakerCacheImplcól—eZdZdZdZ dZ dZ d„Zd„Zd„Z d„Z d„Z e Z 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|rdS||_|jj|_|jj|_i|_|  |jj ¦«|_ dS©N) Ú isinstanceÚstrÚtemplateÚmoduleÚ__name__ÚidÚ_modified_timeÚ starttimeÚ _def_regionsÚ _load_implÚ cache_implÚimpl)Úselfr Úargss ú\/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/mako/cache.pyÚ__init__zCache.__init__Ase€õ �h¥Ñ $Ô $ð ¨ð Ø ˆFØ ˆŒ Ø”/Ô*ˆŒØ!œÔ7ˆŒØˆÔØ—O’O D¤MÔ$<Ñ=Ô=ˆŒ ˆ ˆ ócóF—t |¦«|¦«Sr )Ú_cache_pluginsÚload©rÚnames rrzCache._load_implLs€Ý×"Ò" 4Ñ(Ô(¨Ñ.Ô.Ð.rc ó"—|j||dfi|¤ŽS)úcRetrieve a value from the cache, using the given creation function to generate a new value.N)Ú_ctx_get_or_create©rÚkeyÚcreation_functionÚkws rÚ get_or_createzCache.get_or_createOs$€ð'ˆtÔ& sÐ,=¸tÐJÐJÀrÐJÐJÐJrc ó~—|jjs |¦«S|jj||fi| ||¦«¤ŽS)r!)r Ú cache_enabledrr'Ú _get_cache_kw)rr$r%Úcontextr&s rr"zCache._ctx_get_or_createUs\€ðŒ}Ô*ð 'Ø$Ð$Ñ&Ô&Ð &à&ˆtŒyÔ&Ø Ð"ð ð Ø&*×&8Ò&8¸¸WÑ&EÔ&Eð ð ð rc óV—|jj||fi| |d¦«¤ŽdS)ú¡Place a value in the cache. :param key: the value's key. :param value: the value. :param \**kw: cache configuration arguments. N)rÚsetr*©rr$Úvaluer&s rr.z Cache.set`s8€ð ˆŒ Œ �c˜5ÐAÐA D×$6Ò$6°r¸4Ñ$@Ô$@ÐAÐAÐAÐAÐArc óP—|jj|fi| |d¦«¤ŽS)aFRetrieve a value from the cache. :param key: the value's key. :param \**kw: cache configuration arguments. The backend is configured using these arguments upon first request. Subsequent requests that use the same series of configuration values will use that same backend. N)rÚgetr*©rr$r&s rr2z Cache.getrs0€ðˆtŒyŒ}˜SÐAÐA D×$6Ò$6°r¸4Ñ$@Ô$@ÐAÐAÐArc óT—|jj|fi| |d¦«¤ŽdS)aFInvalidate a value in the cache. :param key: the value's key. :param \**kw: cache configuration arguments. The backend is configured using these arguments upon first request. Subsequent requests that use the same series of configuration values will use that same backend. N)rÚ invalidater*r3s rr5zCache.invalidate~s7€ð ˆŒ Ô˜SÐAÐA D×$6Ò$6°r¸4Ñ$@Ô$@ÐAÐAÐAÐAÐArcó4—| dd¬¦«dS)zWInvalidate the cached content of the "body" method for this template. Ú render_body©Ú __M_defnameN©r5)rs rÚinvalidate_bodyzCache.invalidate_bodyŠs €ð �Š˜ °=ˆÑAÔAÐAÐAÐArcó@—| d|zd|z¬¦«dS)z`Invalidate the cached content of a particular ``<%def>`` within this template. z render_%sr8Nr:rs rÚinvalidate_defzCache.invalidate_def‘s*€ð �Š˜  dÑ*¸ ÀdÑ8JˆÑKÔKÐKÐKÐKrcó4—| ||¬¦«dS)aNInvalidate a nested ``<%def>`` within this template. Caching of nested defs is a blunt tool as there is no management of scope -- nested defs that use cache tags need to have names unique of all other nested defs in the template, else their content will be overwritten by each other. r8Nr:rs rÚinvalidate_closurezCache.invalidate_closure™s €ð �Š˜¨$ˆÑ/Ô/Ð/Ð/Ð/rcó¶—| dd¦«}|s4|jj ¦«}| |¦«nT||jvr|j|}n=|jj ¦«}| |¦«||j|<|r6|jjr*| ¦«}| d|¦«|S)Nr9r+) Úpopr Ú cache_argsÚcopyÚupdaterrÚ pass_contextÚ setdefault)rr&r+ÚdefnameÚtmpl_kws rr*zCache._get_cache_kw¦sրؗ&’&˜¨Ñ-Ô-ˆØð 1Ø”mÔ.×3Ò3Ñ5Ô5ˆGØ �NŠN˜2Ñ Ô Ð Ð Ø ˜Ô)Ð )Ð )ØÔ'¨Ô0ˆGˆGà”mÔ.×3Ò3Ñ5Ô5ˆGØ �NŠN˜2Ñ Ô Ð Ø)0ˆDÔ ˜gÑ &Ø ð 3�t”yÔ-ð 3Ø—l’l‘n”nˆGØ × Ò ˜y¨'Ñ 2Ô 2Ð 2؈r)rÚ __module__Ú __qualname__Ú__doc__rrrrrr'r"r.Úputr2r5r;r=r?r*©rrrrs€€€€€ððð$ €Dðð €Bðð€Ið ð >ð >ð >ð/ð/ð/ðKðKðKð  ð  ð  ð Bð Bð Bð €Cðð Bð Bð Bð Bð Bð BðBðBðBðLðLðLð 0ð 0ð 0ðððððrrcó6—eZdZdZd„ZdZ d„Zd„Zd„Zd„Z dS) Ú CacheImplz:Provide a cache implementation for use by :class:`.Cache`.có—||_dSr )Úcache)rrQs rrzCacheImpl.__init__»s €ØˆŒ ˆ ˆ rFc ó—t¦«‚)a7Retrieve a value from the cache, using the given creation function to generate a new value. This function *must* return a value, either from the cache, or via the given creation function. If the creation function is called, the newly created value should be populated into the cache under the given key before being returned. :param key: the value's key. :param creation_function: function that when called generates a new value. :param \**kw: cache configuration arguments. ©ÚNotImplementedErrorr#s rr'zCacheImpl.get_or_createÃs€õ "Ñ#Ô#Ð#rc ó—t¦«‚)r-rSr/s rr.z CacheImpl.setÕs€õ"Ñ#Ô#Ð#rc ó—t¦«‚)z…Retrieve a value from the cache. :param key: the value's key. :param \**kw: cache configuration arguments. rSr3s rr2z CacheImpl.getßó€õ"Ñ#Ô#Ð#rc ó—t¦«‚)z…Invalidate a value in the cache. :param key: the value's key. :param \**kw: cache configuration arguments. rSr3s rr5zCacheImpl.invalidateèrWrN) rrIrJrKrrEr'r.r2r5rMrrrOrO·sq€€€€€àDÐDðððð€Lðð$ð$ð$ð$$ð$ð$ð$ð$ð$ð$ð$ð$ð$ð$rrON)ÚmakorÚ PluginLoaderrÚregisterÚregister_pluginrrOrMrrúr]s¬ððÐÐÐÐÐà"�Ô" <Ñ0Ô0€à Ô)€Ø€�Ð1Ð3DÑEÔEÐEðeðeðeðeðeñeôeðeðP8$ð8$ð8$ð8$ð8$ñ8$ô8$ð8$ð8$ð8$r