python-zulip-api/zulip_bots/zulip_bots
Константин С. Новокрещенов d7d2f6bbd6 lib: Make StateHandler lazy.
Change StateHandler implementation to the following:
- do not fetch state in __init__();
- fetch every key only once on demand and cache it.

Fixes #359
2018-05-08 11:56:26 -07:00
..
bots link_shortener: Print help when no links found. 2018-05-04 05:09:07 +05:30
bots_unmaintained bots: Refactor Youtube bot. 2017-12-09 03:56:33 -08:00
.gitignore bots: Move all bots and the bots API to separate package. 2017-07-18 02:20:27 -02:30
__init__.py bots: Move all bots and the bots API to separate package. 2017-07-18 02:20:27 -02:30
custom_exceptions.py bots: Add magic method validate_config(). 2018-02-13 11:02:17 -08:00
game_handler.py game_handler: Support single player games and enforce 'rules' command. 2018-03-25 12:53:15 -04:00
lib.py lib: Make StateHandler lazy. 2018-05-08 11:56:26 -07:00
lib_tests.py lib: Make StateHandler lazy. 2018-05-08 11:56:26 -07:00
provision.py zulip_bots setup.py: Install deps from the bots' requirements.txt files. 2018-01-06 16:39:52 +01:00
request_test_lib.py bot testing: Allow mocking PATCH HTTP requests. 2018-03-08 07:38:35 -05:00
run.py run.py: Remove unused name_and_path_match(). 2018-03-23 15:31:14 -04:00
simple_lib.py bots: Clean up terminal.py for running bots directly. 2017-11-29 10:05:06 -08:00
terminal.py mypy: Amend import_module_from_source, to pass with strict-optional. 2018-01-02 14:05:33 -05:00
test_file_utils.py zulip_bots: Use utf-8 when reading fixtures. 2017-12-14 05:56:55 -05:00
test_lib.py test_lib : Add helper for connection test 2018-03-08 08:27:32 -05:00
test_run.py zulip_bots: Move six imports. 2018-01-06 16:39:52 +01:00