mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 18:04:49 -04:00
Add type hints to the push module. (#8901)
This commit is contained in:
parent
a8eceb01e5
commit
5d34f40d49
9 changed files with 159 additions and 86 deletions
|
@ -31,6 +31,8 @@ class SynapsePlugin(Plugin):
|
|||
) -> Optional[Callable[[MethodSigContext], CallableType]]:
|
||||
if fullname.startswith(
|
||||
"synapse.util.caches.descriptors._CachedFunction.__call__"
|
||||
) or fullname.startswith(
|
||||
"synapse.util.caches.descriptors._LruCachedFunction.__call__"
|
||||
):
|
||||
return cached_function_method_signature
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue