in mysqloperator/controller/backup/backup_api.py [0:0]
def __eq__(self, other : 'BackupSchedule') -> bool:
assert other is None or isinstance(other, BackupSchedule)
return (other is not None \
and self.cluster_spec.namespace == other.cluster_spec.namespace \
and self.cluster_spec.name == other.cluster_spec.name \
and self.name == other.name \
and self.backupProfileName == other.backupProfileName \
and self.backupProfile == other.backupProfile \
and self.schedule == other.schedule \
and self.deleteBackupData == other.deleteBackupData \
and self.timeZone == other.timeZone \
and self.enabled == other.enabled)