Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ set_attr
Method
set_attr
pattern/web/pdf/cmapdb.py:143–145 ·
view source on GitHub ↗
(self, k, v)
Source
from the content-addressed store, hash-verified
141
return
self.attrs.get(
'WMode'
, 0) != 0
142
143
def
set_attr(self, k, v):
144
self.attrs[k] = v
145
return
146
147
def
add_code2cid(self, code, cid):
148
assert isinstance(code, str) and isinstance(cid, int)
Callers
1
do_keyword
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected