MCPcopy
hub / github.com/wechatpy/wechatpy / __base64_decode

Method __base64_decode

wechatpy/fields.py:280–281  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

278class Base64DecodeField(StringField):
279
280 def __base64_decode(self, text):
281 return to_text(base64.b64decode(to_binary(text)))
282
283 converter = __base64_decode
284

Callers

nothing calls this directly

Calls 2

to_textFunction · 0.90
to_binaryFunction · 0.90

Tested by

no test coverage detected