Skip to content

Commit 669a7d2

Browse files
committed
feat(python): Add missing sensitive data examples
1 parent df21655 commit 669a7d2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```python
2+
sentry_sdk.set_tag("birthday", checksum_or_hash("08/12/1990"))
3+
```
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
```python
2+
sentry_sdk.set_user({"id": user.id})
3+
4+
# or
5+
6+
sentry_sdk.set_user({"username": user.username})
7+
```

0 commit comments

Comments
 (0)