Replace the existing rdataset at the name with the specified rdataset, or add the specified rdataset if there was no existing rdataset. The arguments may be: - rrset - name, rdataset... - name, ttl, rdata... Note that if you wa
(self, *args: Any)
| 172 | self._add(False, args) |
| 173 | |
| 174 | def replace(self, *args: Any) -> None: |
| 175 | """Replace the existing rdataset at the name with the specified |
| 176 | rdataset, or add the specified rdataset if there was no existing |
| 177 | rdataset. |
| 178 | |
| 179 | The arguments may be: |
| 180 | |
| 181 | - rrset |
| 182 | |
| 183 | - name, rdataset... |
| 184 | |
| 185 | - name, ttl, rdata... |
| 186 | |
| 187 | Note that if you want to replace the entire node, you should do |
| 188 | a delete of the name followed by one or more calls to add() or |
| 189 | replace(). |
| 190 | """ |
| 191 | self._check_ended() |
| 192 | self._check_read_only() |
| 193 | self._add(True, args) |
| 194 | |
| 195 | def delete(self, *args: Any) -> None: |
| 196 | """Delete records. |
no test coverage detected