Skip to content

Commit 36fb49d

Browse files
authored
Merge pull request #1 from ravenappdev/zk/fix-readme-example
Update User instantiation in readme
2 parents da919e4 + d0bf89d commit 36fb49d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,15 @@ This SDK also includes an async client, which supports the `await` syntax:
4141

4242
```python
4343
from ravendev.client import AsyncRavenApi
44+
from ravendev import User
4445

4546
raven = AsyncRavenApi(auth_key="YOUR_AUTH_KEY")
4647

4748
async def send_event() -> None:
4849
await raven.send(
4950
app_id="<raven_app_id>",
5051
event="event",
51-
user={
52-
53-
},
52+
user=User(email="[email protected]"),
5453
data={},
5554
)
5655
```

0 commit comments

Comments
 (0)