MCPcopy Create free account
hub / github.com/getsentry/sentry / encode

Method encode

src/sentry/utils/codecs.py:22–23  ·  view source on GitHub ↗
(self, value: TDecoded)

Source from the content-addressed store, hash-verified

20
21 @abstractmethod
22 def encode(self, value: TDecoded) -> TEncoded:
23 raise NotImplementedError
24
25 @abstractmethod
26 def decode(self, value: TEncoded) -> TDecoded:

Callers 15

_constraint_replacementFunction · 0.45
_key_idFunction · 0.45
encode_viewer_contextFunction · 0.45
_get_signatureFunction · 0.45
compute_thread_keyMethod · 0.45
fingerprint_http_spansFunction · 0.45
fingerprint_spansFunction · 0.45
fingerprint_spanFunction · 0.45
_fingerprintMethod · 0.45
_fingerprintMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_encoding_supportMethod · 0.36
test_codecFunction · 0.36
test_codec_chainingFunction · 0.36
test_fnv1a_32_with_mrisFunction · 0.36
tokenFunction · 0.36
rsa_tokenFunction · 0.36
test_decodeFunction · 0.36
test_decode_audienceFunction · 0.36