As a followup to #347, even if I do set a __name__ to the partial function it is not correctly detected as async.
Since this problem was fixed in Python 3.8 that's no longer the case but we do support older Python 3 versions as well so we should backport this check.
As a followup to #347, even if I do set a
__name__to the partial function it is not correctly detected as async.Since this problem was fixed in Python 3.8 that's no longer the case but we do support older Python 3 versions as well so we should backport this check.