Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
CacheEntry Class Reference

Public Member Functions

 __init__ (self, Link link, bool persistent)
 

Data Fields

 link
 
 persistent
 
 origin
 

Detailed Description

Definition at line 186 of file cache.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self,
Link  link,
bool  persistent 
)

Definition at line 187 of file cache.py.

191 ):
192 self.link = link
193 self.persistent = persistent
194 self.origin: Optional[DirectUrl] = None
195 origin_direct_url_path = Path(self.link.file_path).parent / ORIGIN_JSON_NAME
197 try:
198 self.origin = DirectUrl.from_json(
199 origin_direct_url_path.read_text(encoding="utf-8")
200 )
201 except Exception as e:
203 "Ignoring invalid cache entry origin file %s for %s (%s)",
204 origin_direct_url_path,
206 e,
207 )
208
209
for i

Referenced by Protocol.__init_subclass__().

Here is the caller graph for this function:

Field Documentation

◆ link

◆ origin

origin

Definition at line 198 of file cache.py.

◆ persistent

persistent

Definition at line 193 of file cache.py.


The documentation for this class was generated from the following file: