zulip/zerver/tornado
Zixuan James Li 9d448e73d2 decorator: Remove cachify in favor of lru_cache.
`cachify` is essentially caching the return value of a function using only
the non-keyword-only arguments as the key.

The use case of the function in the backend can be sufficiently covered by
`functools.lru_cache` as an unbound cache. There is no signficant difference
apart from `cachify` overlooking keyword-only arguments, and
`functools.lru_cache` being conveniently typed.

Signed-off-by: Zixuan James Li <359101898@qq.com>
2022-04-14 12:44:35 -07:00
..
__init__.py
application.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
autoreload.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
descriptors.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
django_api.py python: Replace requests.packages.urllib3 alias with urllib3. 2022-01-23 22:14:17 -08:00
event_queue.py decorator: Remove cachify in favor of lru_cache. 2022-04-14 12:44:35 -07:00
exceptions.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
handlers.py request: Refactor ZulipRequestNotes to RequestNotes. 2021-09-03 08:48:45 -07:00
ioloop_logging.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
sharding.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
views.py request: Add a var_name parameter to converter. 2022-03-15 13:02:02 -07:00