Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lesson_3/additions/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def getUserId(user, id_type="email"):
return user.get('user_id', '')

if id_type == "custom":
# implement your own user_id creation and getting algorythm
# implement your own user_id creation and getting algorithm
# this is just a sample that queries datastore for an existing profile
# and generates an id if profile does not exist for an email
profile = Conference.query(Conference.mainEmail == user.email())
Expand Down