MCPcopy Index your code
hub / github.com/lincolnloop/python-qrcode / save

Method save

qrcode/image/svg.py:51–53  ·  view source on GitHub ↗
(self, stream, kind=None)

Source from the content-addressed store, hash-verified

49 return f"{units}mm"
50
51 def save(self, stream, kind=None):
52 self.check_kind(kind=kind)
53 self._write(stream)
54
55 def to_string(self, **kwargs):
56 return ET.tostring(self._img, **kwargs)

Callers

nothing calls this directly

Calls 2

_writeMethod · 0.95
check_kindMethod · 0.80

Tested by

no test coverage detected