InMemModel#
- class InMemModel(lifetime=-1)#
Bases:
object
Deprecated class. To cache models use the ModelCacheClient instead.
In Memory support class
- lifetime#
Maximum number of hours to maintain the model in the memory. -1 = forever (default)
- Type:
int, 2
Methods Summary
get_model
(model_id[, fallback_model])store_model
(model_id, model)Methods Documentation
- get_model(model_id, fallback_model=None)#
- store_model(model_id, model)#