@commands.check
and @error
method typings/docs are not entirely accurate
#1181
Labels
bug
Something isn't working
t: documentation
Improvements or additions to documentation/examples
t: refactor/typing/lint
Refactors, typing changes and/or linting changes
This is sort of a rehash of #614 (and #1045).
There are still a couple issues, mainly when used in cogs, many owing to the fact that overloads and generic callables don't really mix well :/
@check
/@error
decorators in cogs trip up pyright already in fairly simple configurationsbool
vsCoro[bool]
CheckAnyFailure
attribute docs are the wrong way aroundAnyContext
in some decorator annotations is somewhat inconsistentCallable[[A | B], C]
vsCallable[[A], C] | Callable[[B], C]
The text was updated successfully, but these errors were encountered: