fix(typing): complete unparametrized generics #5923
Annotations
5 errors
|
disnake/ext/commands/bot_base.py#L170
Type "Self@BotBase[CogT@BotBase]" cannot be assigned to type variable "BotT@Context"
Type "BotBase[CogT@BotBase]" is incompatible with bound type "Bot[Any] | AutoShardedBot[Any]" for type variable "BotT@Context"
Type "BotBase[CogT@BotBase]" cannot be assigned to type "Bot[Any] | AutoShardedBot[Any]"
"BotBase[CogT@BotBase]" is incompatible with "Bot[Any]"
"BotBase[CogT@BotBase]" is incompatible with "AutoShardedBot[Any]" (reportGeneralTypeIssues)
|
disnake/ext/commands/bot_base.py#L170
Unnecessary "# pyright: ignore" rule: "reportInvalidTypeArguments"
|
disnake/ext/commands/core.py#L162
Argument of type "Context[Any]" cannot be assigned to parameter "message" of type "Message" in function "release"
"Context[Any]" is incompatible with "Message" (reportGeneralTypeIssues)
|
|
The logs for this run have expired and are no longer available.
Loading