Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1933
def
get_base64(data):
1934
if
data is None:
1935
return
data
1936
return
base64.b64encode(str(data).encode()).decode(
"utf8"
)
1937
1938
1939
def
get_uuid(key1=
""
, key2=
""
):
Callers
nothing calls this directly
Calls
1
encode
Method · 0.80
Tested by
no test coverage detected