Skip to content

Commit da76533

Browse files
Update BEFORE_SEND.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 55babfa commit da76533

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

BEFORE_SEND.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ def scrub_pii(event: dict[str, Any]) -> Optional[dict[str, Any]]:
8787
```python
8888
from typing import Optional, Any
8989

90+
from datetime import datetime
91+
from typing import Optional, Any
92+
9093
def add_context(event: dict[str, Any]) -> Optional[dict[str, Any]]:
9194
"""Add custom properties to all events."""
9295
if "properties" not in event:

0 commit comments

Comments
 (0)