The cached decorators always return a Deferred, which was not properly propagated. It was close enough when wrapping coroutines, but failed if a bare function was wrapped.
check_schema_delta
presence
federation_client
scripts-dev
mypy --disallow-untyped-defs