def validate_type()

in pulsar/schema/definition.py [0:0]


    def validate_type(self, name, val):
        if val is None:
            return None

        super(Array, self).validate_type(name, val)

        for x in val:
            if type(x) != self.array_type.python_type():
                raise TypeError('Array field ' + name + ' items should all be of type ' +
                                _string_representation(self.array_type.type()))
        return val