When used filter(), you should have a space between the field name and the operator. For your call to filter()work as intended, you just need to insert a space before the equal sign:
randy_res = Vote.all().filter('created_by =', randy).fetch(limit=10)