Skip to content

Commit

Permalink
doc: use snake case in the code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed May 25, 2024
1 parent 388f076 commit 42d9be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ payload = {
# Pythonize JSON SCIM payload:

user = User.model_validate(payload)
assert user.userName == "[email protected]"
assert user.user_name == "[email protected]"
assert user.meta.created == datetime.datetime(
2010, 1, 23, 4, 56, 22, tzinfo=datetime.timezone.utc
)
Expand Down

0 comments on commit 42d9be1

Please sign in to comment.