def _set_properties(self, resource):
        resource = resource.copy()
        self._additions = tuple([
            ResourceRecordSet.from_api_repr(added_res, self.zone)
            for added_res in resource.pop('additions', ())])
        self._deletions = tuple([
            ResourceRecordSet.from_api_repr(added_res, self.zone)
            for added_res in resource.pop('deletions', ())])
        self._properties = resource
Edit watch list
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/dns/changes.py/Changes._set_properties--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/users/views.py/edit_watch_list