MCPcopy Create free account
hub / github.com/DeepL/deepl-python / __exit__

Method __exit__

tests/conftest.py:257–263  ·  view source on GitHub ↗
(self, exc_type, exc_val, exc_tb)

Source from the content-addressed store, hash-verified

255 return self._created_glossary
256
257 def __exit__(self, exc_type, exc_val, exc_tb):
258 try:
259 self._translator.delete_glossary(
260 self._created_glossary.glossary_id
261 )
262 except deepl.DeepLException:
263 pass
264
265
266class ManagedMultilingualGlossary:

Callers

nothing calls this directly

Calls 1

delete_glossaryMethod · 0.80

Tested by

no test coverage detected