Skip to content

Commit

Permalink
Merge pull request #11 from octoenergy/fix-readme-typo
Browse files Browse the repository at this point in the history
Fix minor typo in readme example
  • Loading branch information
meshy authored May 7, 2024
2 parents 77ce147 + 6ec5213 commit fe258d9
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 @@ -81,7 +81,7 @@ def create_user(email: str) -> User:
EmailMustBeLowerCase: If the email had a non-lowercase character.
"""
rules = {
conversion.Unique(model=User, fields=("email",): UserAlreadyExists,
conversion.Unique(model=User, fields=("email",)): UserAlreadyExists,
conversion.NotNull(model=User, field="email"): EmailCannotBeNull,
conversion.Named(name="constraint_islowercase"): EmailMustBeLowerCase,
}
Expand Down

0 comments on commit fe258d9

Please sign in to comment.