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

Method cache

suds/reader.py:159–168  ·  view source on GitHub ↗

Get the cache. @return: The I{options} when I{cachingpolicy} = B{1}. @rtype: L{Cache}

(self)

Source from the content-addressed store, hash-verified

157 return d
158
159 def cache(self):
160 """
161 Get the cache.
162 @return: The I{options} when I{cachingpolicy} = B{1}.
163 @rtype: L{Cache}
164 """
165 if self.options.cachingpolicy == 1:
166 return self.options.cache
167 else:
168 return NoCache()

Callers 1

openMethod · 0.95

Calls 1

NoCacheClass · 0.90

Tested by

no test coverage detected