I have a followup question to my previous thread: Python script to let stockfish selfplay 10 games from a given position
There are some engines that allow you to set a command that imposes that the hash memory is never cleared among games. For instance the Sugar program by Marco Zerbinati has this UCI command that can be done from the command line:
setoption name NeverClearHash value true
I tried to do this command in python-chess library but apparently it doesn't work:
engine.options["NeverClearHash"]
How can I set the option "NeverClearHash" to "true" in Python?