mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-19 14:30:45 -04:00
Add missing type hints to synapse.logging.context
(#11556)
This commit is contained in:
parent
2519beaad2
commit
0147b3de20
13 changed files with 215 additions and 122 deletions
|
@ -76,6 +76,7 @@ class CachedCall(Generic[TV]):
|
|||
|
||||
# Fire off the callable now if this is our first time
|
||||
if not self._deferred:
|
||||
assert self._callable is not None
|
||||
self._deferred = run_in_background(self._callable)
|
||||
|
||||
# we will never need the callable again, so make sure it can be GCed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue