Example #1
0
    def _parse_features(self, query):
        features = query.get_required_list('features')

        for value in features:
            Query.check_float('features_value', value)

        return features
Example #2
0
    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
Example #3
0
    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