Traceback (most recent call last):


 "2.py", line 3, in <module>

print(cache.has("test"))
AttributeError: 'Cache' object has no attribute 'has'

> Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Users/dejanmaric/Desktop/rasa_core-master/examples/restaurantbot/rasa_core/rasa_core/agent.py", line 61, in load

ensemble = PolicyEnsemble.load(path, featurizer)


 "/Users/dejanmaric/Desktop/rasa_core-master/examples/restaurantbot/rasa_core/rasa_core/policies/ensemble.py", line 129, in load

policy_cls = utils.class_from_module_path(policy_name)


 "/Users/dejanmaric/Desktop/rasa_core-master/examples/restaurantbot/rasa_core/rasa_core/utils.py", line 32, in class_from_module_path

return getattr(m, class_name)
AttributeError: module '__main__' has no attribute 'RestaurantPolicy'