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

Method cache

suds/reader.py:102–111  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

100 return sax.parse(string=content)
101
102 def cache(self):
103 """
104 Get the cache.
105 @return: The I{options} when I{cachingpolicy} = B{0}.
106 @rtype: L{Cache}
107 """
108 if self.options.cachingpolicy == 0:
109 return self.options.cache
110 else:
111 return NoCache()
112
113
114class DefinitionsReader(Reader):

Callers 1

openMethod · 0.95

Calls 1

NoCacheClass · 0.90

Tested by

no test coverage detected