MCPcopy Index your code
hub / github.com/AgentOps-AI/agentops / decode

Method decode

app/api/agentops/api/encoders/spans.py:13–15  ·  view source on GitHub ↗

Decode binary data to span attributes.

(binary_data: bytes)

Source from the content-addressed store, hash-verified

11
12 @staticmethod
13 def decode(binary_data: bytes) -> Dict[str, Any]:
14 """Decode binary data to span attributes."""
15 return pickle.loads(binary_data)
16
17 @staticmethod
18 def encode_to_base64(attributes: Dict[str, Any]) -> str:

Callers 15

upload_objectMethod · 0.80
upload_logfileMethod · 0.80
buildMethod · 0.80
_encodeFunction · 0.80
_decode_strFunction · 0.80
_decode_supabase_jwtFunction · 0.80
_decode_session_cookieFunction · 0.80
auth_callbackFunction · 0.80
auth_sessionFunction · 0.80
verify_jwtFunction · 0.80
verify_jwtFunction · 0.80
v2_update_logsFunction · 0.80

Calls

no outgoing calls