read

Engine.read_conjugation_key(file_path)
Creates a conjugation key by reading data from a file.
  • Input:
    • file_path: str or pathlib.Path
      • Can be an absolute or relative path.
  • Output:
    • ConjugationKey

Examples

Using an absolute path

from desilofhe import Engine

engine = Engine()
conjugation_key = engine.read_conjugation_key("/opt/desilo/conjugation_key")

Using a relative path

from desilofhe import Engine

engine = Engine()
conjugation_key = engine.read_conjugation_key("conjugation_key")