def _parse_features(self, query): features = query.get_required_list('features') for value in features: Query.check_float('features_value', value) return features
def _get_signs(self, query): signs = query.get_required_list('signs') for sign_id in signs: Query.check_float('sign_id', sign_id) return signs
def _parse_features(self, query): features = query.get_optional_list('features') if features == None: return list() for value in features: Query.check_float('features_value', value) return features