Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_replacement
Function · 0.45
_key_id
Function · 0.45
encode_viewer_context
Function · 0.45
_get_signature
Function · 0.45
compute_thread_key
Method · 0.45
get_test_notification_event_data
Function · 0.45
fingerprint_resource_span
Function · 0.45
fingerprint_http_spans
Function · 0.45
fingerprint_spans
Function · 0.45
fingerprint_span
Function · 0.45
_fingerprint
Method · 0.45
_fingerprint
Method · 0.45
Calls
no outgoing calls
Tested by
15
test_expired_token_rejected
Method · 0.36
test_leeway_accepts_nearly_expired
Method · 0.36
test_associate_identity
Method · 0.36
test_compute_thread_key_matches_expected_format
Method · 0.36
test_encoding_support
Method · 0.36
test_codec
Function · 0.36
test_codec_chaining
Function · 0.36
test_fnv1a_32_with_mris
Function · 0.36
token
Function · 0.36
rsa_token
Function · 0.36
test_decode
Function · 0.36
test_decode_audience
Function · 0.36