Update pyright version

This commit is contained in:
Josh authored and GitHub committed 2023-07-01 18:26:27 -04:00
1 parent 0871b34fc8
commit 630b2a1e55
17 files changed
+45 -27

No files matched your search

+1 -1
View File
@@ -197,7 +197,7 @@ class Parameter(inspect.Parameter):
"""
# pre-condition: required is False
if callable(self.default):
return await maybe_coroutine(self.default, ctx) # type: ignore
return await maybe_coroutine(self.default, ctx)
return self.default