forked-synapse/synapse
Patrick Cloke 690cb4f3b3
Allow for ignoring some arguments when caching. (#12189)
* `@cached` can now take an `uncached_args` which is an iterable of names to not use in the cache key.
* Requires `@cached`, @cachedList` and `@lru_cache` to use keyword arguments for clarity.
* Asserts that keyword-only arguments in cached functions are not accepted. (I tested this briefly and I don't believe this works properly.)
2022-03-09 18:07:41 +00:00
..
_scripts Move synctl into synapse._scripts and expose as an entrypoint (#12140) 2022-03-04 11:58:49 +00:00
api Fix PushRuleEvaluator and Filter to work on frozendicts (#12100) 2022-02-28 17:40:24 +00:00
app Use importlib.metadata to read requirements (#12088) 2022-03-01 17:44:41 +00:00
appservice Rename various ApplicationServices interested methods (#11915) 2022-03-03 18:14:09 +00:00
config Move scripts directory inside synapse, exposing as setuptools entry_points (#12118) 2022-03-02 13:00:16 +00:00
crypto Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
events Merge remote-tracking branch 'origin/release-v1.54' into develop 2022-03-04 22:40:51 +00:00
federation Spread out sending device lists to remote hosts (#12132) 2022-03-04 11:48:15 +00:00
groups Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
handlers Skip attempt to get state at backwards-extremities (#12173) 2022-03-09 11:00:48 +00:00
http Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
logging Use ParamSpec in type hints for synapse.logging.context (#12150) 2022-03-08 15:58:14 +00:00
metrics Use version string helper from matrix-common (#11979) 2022-02-14 13:12:22 +00:00
module_api Correctly register deactivation and profile update module callbacks (#12141) 2022-03-03 11:39:58 +01:00
push Fix PushRuleEvaluator and Filter to work on frozendicts (#12100) 2022-02-28 17:40:24 +00:00
replication Retry some http replication failures (#12182) 2022-03-09 14:53:28 +00:00
res Fetch images when previewing Twitter URLs. (#11985) 2022-02-22 07:11:39 -05:00
rest Use ParamSpec in type hints for synapse.logging.context (#12150) 2022-03-08 15:58:14 +00:00
server_notices Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Fix type of events in StateGroupStorage and StateHandler (#12156) 2022-03-04 10:25:18 +00:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Allow for ignoring some arguments when caching. (#12189) 2022-03-09 18:07:41 +00:00
streams Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
util Allow for ignoring some arguments when caching. (#12189) 2022-03-09 18:07:41 +00:00
__init__.py Merge branch 'master' into develop 2022-03-08 15:37:35 +00:00
event_auth.py Remove excess condition on knock->leave check (#11900) 2022-02-22 18:35:01 +00:00
notifier.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
python_dependencies.py Use ParamSpec in type hints for synapse.logging.context (#12150) 2022-03-08 15:58:14 +00:00
server.py Fix incorrect type hints for txredis. (#12042) 2022-03-08 07:26:05 -05:00
types.py Add type hints to synapse/storage/databases/main (#11984) 2022-02-21 16:03:06 +00:00
visibility.py Update client-visibility filtering for outlier events (#12155) 2022-03-04 10:31:19 +00:00