lace.engine.Engine.save

Engine.save(path: str | bytes | PathLike)

Save the Engine metadata to path.

Examples

Save a copy of an engine

>>> from lace import Engine  
>>> engine = Engine(metadata="metadata.lace")  
>>> engine.save("metadata-copy.lace")