botbuilder-python
botbuilder-python copied to clipboard
bot_state.clear_state(turn_context) is different in python
Version
current
Describe the bug
While writing this article: https://review.docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-expire-conversation i noticed in dotnet and javascript, it is not necessary to immediately call save_changes with force 'true' for it to actually be cleared. It seems the cache is different only in python.
Expected behavior
Similar behavior to javascript and dotnet.
[bug]
Python "appears" to be doing the same thing as dotnet (resetting the hash). But apparently the "is changed" isn't indicating true in that case.