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

Method open

suds/store.py:554–566  ·  view source on GitHub ↗

Open a document at the specified url. @param url: A document URL. @type url: str @return: A file pointer to the document. @rtype: StringIO

(self, url)

Source from the content-addressed store, hash-verified

552 }
553
554 def open(self, url):
555 """
556 Open a document at the specified url.
557 @param url: A document URL.
558 @type url: str
559 @return: A file pointer to the document.
560 @rtype: StringIO
561 """
562 protocol, location = self.split(url)
563 if protocol == self.protocol:
564 return self.find(location)
565 else:
566 return None
567
568 def find(self, location):
569 """

Callers 1

downloadMethod · 0.95

Calls 2

splitMethod · 0.95
findMethod · 0.95

Tested by

no test coverage detected