Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Albert-Ma/PROP
/ __getitem__
Method
__getitem__
prop/preprocessing_data.py:42–43 ·
view source on GitHub ↗
(self, item)
Source
from the content-addressed store, hash-verified
40
return
len(self.docids)
41
42
def
__getitem__(self, item):
43
return
self.document_shelf[str(item)]
44
45
def
__enter__(self):
46
return
self
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected