CADETProcess.optimization.ResultsCache.get

CADETProcess.optimization.ResultsCache.get#

ResultsCache.get(key: Any, close: bool = True) Any[source]#

Get entry from cache.

Parameters:
keyhashable

The key to retrieve the results for.

closebool, optional

If True, database will be closed after operation. The default is True.

Returns:
valueobject

The value corresponding to the key.