def get_or_create_user(user_id, email):
 user_settings = get_user_settings(user_id, strict=False)
 if (user_settings is None):
  user_settings = _create_user(user_id, email)
 return user_settings

def get_or_create_user ( user_id , email ) : user_settings = get_user_settings ( user_id , strict = False ) if ( user_settings is None ) : user_settings = _create_user ( user_id , email ) return user_settings
get or create user by fullname and email address .