id_translation.Translator.restore#

classmethod Translator.restore(path)[source]#

Restore a serialized Translator.

Parameters:

path – Path to a serialized Translator.

Returns:

A Translator.

Raises:

TypeError – If the object at path is not a Translator or a subtype thereof.

See also

The go_offline() method.