botbuilder-python icon indicating copy to clipboard operation
botbuilder-python copied to clipboard

bot_state.clear_state(turn_context) is different in python

Open EricDahlvang opened this issue 5 years ago • 1 comments

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]

EricDahlvang avatar Jul 18 '20 02:07 EricDahlvang

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.

tracyboehrer avatar Sep 21 '20 20:09 tracyboehrer