MCPcopy Create free account
hub / github.com/RetiredWizard/PyDOS / content

Method content

mpython/lib/optional/urequests.py:16–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14
15 @property
16 def content(self):
17 if self._cached is None:
18 try:
19 self._cached = self.raw.read()
20 finally:
21 self.raw.close()
22 self.raw = None
23 return self._cached
24
25 @property
26 def text(self):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected