Decode binary data to span attributes.
(binary_data: bytes)
| 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: |
no outgoing calls