def get_properties_of_kind(kind, start=None, end=None):
 q = Property.all(keys_only=True)
 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))
 return [Property.key_to_property(x) for x in q.run()]

def get_properties_of_kind ( kind , start = None , end = None ) : q = Property . all ( keys_only = True ) 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 ) ) return [ Property . key_to_property ( x ) for x in q . run ( ) ]
return all properties of kind in the specified range .