def update_from_db(self, db_translations):
        # If no DB translations are fuzzy, set fuzzy to False.
        # Otherwise, it's true.
        self.fuzzy = any(t for t in db_translations if t.fuzzy)

        if len(db_translations) > 0:
            last_translation = max(
                db_translations,
                key=lambda t: t.date or timezone.make_aware(datetime.min)
            )
            self.last_updated = last_translation.date
            self.last_translator = last_translation.user

        # Replace existing translations with ones from the database.
        self.strings = {
            db.plural_form: db.string for db in db_translations
        }
This method allows a client to reject one or more incoming messages.
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/vcs/models.py/VCSTranslation.update_from_db--crossover with--dataset/ETHPy150Open pika/pika/pika/adapters/blocking_connection.py/BlockingChannel.basic_nack