feat: optimize processing of records in RecordUpdateListener subclasses by bdraco · Pull Request #1231 · python-zeroconf/python-zeroconf

These classes used to process a single record at a time, but since we now process them all in batches, we can remove all the breakout functions. This will also fix futures not resolving since the legacy backcompat was partially broken in info.py

This removes the legacy update_record as its been a few years now from info.py (it was never called anyways except in tests), but leaves the one in _updates.py for back-compat as it appears some libs are not updated yet

def update_record( # pylint: disable=no-self-use

def update_record(self, zc: 'Zeroconf', now: float, record: Optional[DNSRecord]) -> None: