MCPcopy Index your code
hub / github.com/clips/pattern / download

Method download

pattern/web/__init__.py:941–945  ·  view source on GitHub ↗

Download the content at the given URL. By default it will be cached - see URL.download().

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

939 return self.text # Backwards compatibility.
940
941 def download(self, *args, **kwargs):
942 """ Download the content at the given URL.
943 By default it will be cached - see URL.download().
944 """
945 return URL(self.url).download(*args, **kwargs)
946
947 def __getattr__(self, k):
948 return self.get(k, u"")

Callers

nothing calls this directly

Calls 2

URLClass · 0.85
downloadMethod · 0.45

Tested by

no test coverage detected