Skip to content

Commit 20a2ace

Browse files
committed
docs: update readme
1 parent e7b306e commit 20a2ace

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

readme.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ external_data = {
5353

5454
top_level = TopLevel(**external_data)
5555

56-
print(top_level.dict(exclude_unset=True))
56+
print(top_level.model_dump(exclude_unset=True))
5757
"""
5858
{
5959
"data": [
@@ -98,6 +98,10 @@ print(top_level.data)
9898
"""
9999
```
100100

101+
## Examples
102+
103+
More examples can be found [here](https://github.com/impocode/jsonapi-pydantic/tree/master/examples).
104+
101105
## License
102106

103107
See [license.md](https://github.com/impocode/jsonapi-pydantic/blob/master/license.md).

0 commit comments

Comments
 (0)