Could use filter_by instead `User.query.filter_by(username=entry["username"]).first()