MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / put

Method put

suds/cache.py:203–212  ·  view source on GitHub ↗
(self, id, bfr)

Source from the content-addressed store, hash-verified

201 return self
202
203 def put(self, id, bfr):
204 try:
205 fn = self.__fn(id)
206 f = self.open(fn, 'wb')
207 f.write(bfr)
208 f.close()
209 return bfr
210 except:
211 log.debug(id, exc_info=1)
212 return bfr
213
214 def putf(self, id, fp):
215 try:

Callers

nothing calls this directly

Calls 2

__fnMethod · 0.95
openMethod · 0.95

Tested by

no test coverage detected