def get_representations_of_kind(kind, start=None, end=None):
 q = Property.all()
 q.ancestor(Property.key_for_kind(kind))
 if ((start is not None) and (start != '')):
  q.filter('__key__ >=', Property.key_for_property(kind, start))
 if (end is not None):
  if (end == ''):
   return {}
  q.filter('__key__ <', Property.key_for_property(kind, end))
 result = {}
 for property in q.run():
  result[property.property_name] = property.property_representation
 return result

def get_representations_of_kind ( kind , start = None , end = None ) : q = Property . all ( ) q . ancestor ( Property . key_for_kind ( kind ) ) if ( ( start is not None ) and ( start != '' ) ) : q . filter ( '__key__ >=' , Property . key_for_property ( kind , start ) ) if ( end is not None ) : if ( end == '' ) : return { } q . filter ( '__key__ <' , Property . key_for_property ( kind , end ) ) result = { } for property in q . run ( ) : result [ property . property_name ] = property . property_representation return result
return all representations of properties of kind in the specified range .