Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wechatpy/wechatpy
/ __base64_encode
Method
__base64_encode
wechatpy/fields.py:272–273 ·
view source on GitHub ↗
(self, text)
Source
from the content-addressed store, hash-verified
270
class
Base64EncodeField(StringField):
271
272
def
__base64_encode(self, text):
273
return
to_text(base64.b64encode(to_binary(text)))
274
275
converter = __base64_encode
276
Callers
nothing calls this directly
Calls
2
to_text
Function · 0.90
to_binary
Function · 0.90
Tested by
no test coverage detected