Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/webpy/webpy
/ __contains__
Method
__contains__
web/session.py:269–271 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
267
return
os.path.join(self.root, key)
268
269
def
__contains__(self, key):
270
path = self._get_path(key)
271
return
os.path.exists(path)
272
273
def
__getitem__(self, key):
274
path = self._get_path(key)
Callers
nothing calls this directly
Calls
1
_get_path
Method · 0.95
Tested by
no test coverage detected