MCPcopy
hub / github.com/getsentry/sentry / serialize_anonymous_user

Function serialize_anonymous_user

src/sentry/notifications/utils/tasks.py:62–67  ·  view source on GitHub ↗
(arg: AnonymousUser, key: str | None = None)

Source from the content-addressed store, hash-verified

60
61
62def serialize_anonymous_user(arg: AnonymousUser, key: str | None = None) -> dict[str, Any]:
63 return {
64 "type": ANONYMOUS_USER_KEY,
65 "data": {},
66 "key": key,
67 }
68
69
70@cell_silo_function

Callers 1

async_send_notificationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected