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

Method find

suds/store.py:568–581  ·  view source on GitHub ↗

Find the specified location in the store. @param location: The I{location} part of a URL. @type location: str @return: An input stream to the document. @rtype: StringIO

(self, location)

Source from the content-addressed store, hash-verified

566 return None
567
568 def find(self, location):
569 """
570 Find the specified location in the store.
571 @param location: The I{location} part of a URL.
572 @type location: str
573 @return: An input stream to the document.
574 @rtype: StringIO
575 """
576 try:
577 content = self.store[location]
578 return StringIO(content)
579 except:
580 reason = 'location "%s" not in document store' % location
581 raise Exception(reason)
582
583 def split(self, url):
584 """

Callers 1

openMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected