MCPcopy Create free account
hub / github.com/Boris-code/feapder / get_base64

Function get_base64

feapder/utils/tools.py:1933–1936  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

1931
1932
1933def get_base64(data):
1934 if data is None:
1935 return data
1936 return base64.b64encode(str(data).encode()).decode("utf8")
1937
1938
1939def get_uuid(key1="", key2=""):

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected