def handle(self, *args, **options): MeasuringRod.get_synchronizer().synchronize() Unit.get_synchronizer().synchronize() KRWStatus.get_synchronizer().synchronize() KRWWatertype.get_synchronizer().synchronize() MeasureType.get_synchronizer().synchronize() Organization.get_synchronizer().synchronize()
def run_sync_aquo(logger=None): """Synchronize domaintables to aquo standards.""" MeasuringRod.get_synchronizer(log=logger).synchronize() Unit.get_synchronizer(log=logger).synchronize() KRWStatus.get_synchronizer(log=logger).synchronize() KRWWatertype.get_synchronizer(log=logger).synchronize() MeasureType.get_synchronizer(log=logger).synchronize() Organization.get_synchronizer(log=logger).synchronize()