(self, exc_type, exc_val, exc_tb)
| 284 | return self._created_glossary |
| 285 | |
| 286 | def __exit__(self, exc_type, exc_val, exc_tb): |
| 287 | try: |
| 288 | self.deepl_client.delete_multilingual_glossary( |
| 289 | self._created_glossary.glossary_id |
| 290 | ) |
| 291 | except deepl.DeepLException: |
| 292 | pass |
| 293 | |
| 294 | |
| 295 | class CreateManagedGlossaryFunc(Protocol): |
nothing calls this directly
no test coverage detected