call the method validators.ip_address_validators with arguments protocol, unpack_ipv4, substitute first element of the result for self.default_validators.
self . default_validators = validators . ip_address_validators ( protocol , unpack_ipv4 ) [ 0 ]