zulip_bots: Fix get_storage request arguments in StateHandler.

This commit is contained in:
Shubham Dhama 2018-06-28 10:48:34 +05:30 committed by showell
parent 88b649d689
commit 918e63a220
3 changed files with 4 additions and 4 deletions

View file

@ -1006,7 +1006,7 @@ class Client(object):
>>> client.update_storage({'storage': {"entry 1": "value 1", "entry 2": "value 2", "entry 3": "value 3"}})
>>> client.get_storage()
{'result': 'success', 'storage': {"entry 1": "value 1", "entry 2": "value 2", "entry 3": "value 3"}, 'msg': ''}
>>> client.get_storage(keys=('entry 1', 'entry 3'))
>>> client.get_storage({'keys': ["entry 1", "entry 3"]})
{'result': 'success', 'storage': {'entry 1': 'value 1', 'entry 3': 'value 3'}, 'msg': ''}
'''
return self.call_endpoint(