mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 12:00:21 +00:00
Olddeps syntax
This commit is contained in:
parent
fb6fd6c5ca
commit
f3f1952174
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ class DescriptorTestCase(unittest.TestCase):
|
||||||
|
|
||||||
class Cls:
|
class Cls:
|
||||||
@descriptors.cached()
|
@descriptors.cached()
|
||||||
def fn(self, arg1: int) -> Deferred[int]:
|
def fn(self, arg1: int) -> "Deferred[int]":
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def inner_fn() -> Generator["Deferred[Any]", Any, int]:
|
def inner_fn() -> Generator["Deferred[Any]", Any, int]:
|
||||||
with PreserveLoggingContext():
|
with PreserveLoggingContext():
|
||||||
|
|
Loading…
Reference in a new issue