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

Method put

suds/cache.py:351–356  ·  view source on GitHub ↗
(self, id, object)

Source from the content-addressed store, hash-verified

349 FileCache.purge(self, id)
350
351 def put(self, id, object):
352 if isinstance(object, Element):
353 FileCache.put(self, id, str(object).encode())
354 else:
355 log.warn("WARN: Given object is not an instance of Element. Skipping!")
356 return object
357
358
359class ObjectCache(FileCache):

Callers

nothing calls this directly

Calls 2

putMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected