Open
Description
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 configurations- The documented parameter/return types of checks are slightly off in many cases, especially
bool
vsCoro[bool]
- Tangentially related, the
CheckAnyFailure
attribute docs are the wrong way around
- Tangentially related, the
- The usage of
AnyContext
in some decorator annotations is somewhat inconsistent Callable[[A | B], C]
vsCallable[[A], C] | Callable[[B], C]