xoa.misc.SmallCache.get_or_create

xoa.misc.SmallCache.get_or_create#

SmallCache.get_or_create(key, factory)[source]#

Get the item of a key, or create and store it with the factory callable