Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/apache/caldera
/ _encode_command
Function
_encode_command
tests/objects/test_operation.py:73–74 ·
view source on GitHub ↗
(command_str)
Source
from the content-addressed store, hash-verified
71
@pytest.fixture
72
def
encoded_command():
73
def
_encode_command(command_str):
74
return
b64encode(command_str.encode(
'utf-8'
)).decode()
75
return
_encode_command
76
77
Callers
nothing calls this directly
Calls
2
decode
Method · 0.45
encode
Method · 0.45
Tested by
no test coverage detected