Skip to content

Commit

Permalink
style: 🎨 fix code style issues with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Oct 10, 2023
1 parent ac52ce6 commit 563baf8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion model/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ def from_data(data: dict):

def update(self, data):
self.email_address = data["email_address"]
self.username = data["username"] if "username" in data else data["email_address"]
self.username = (
data["username"] if "username" in data else data["email_address"]
)
# self.email_verified = data["email_verified"]
# self.username = data["username"]
# self.hash = data["hash"]
Expand Down

0 comments on commit 563baf8

Please sign in to comment.