chore: fix voice doc title #13
Merged
Annotations
10 errors and 1 warning
Run Pyright:
discord_http/commands.py#L326
Argument of type "Any | type[Union]" cannot be assigned to parameter "value" of type "type[Member] | type[User]" in function "__setitem__"
Type "Any | type[Union]" is not assignable to type "type[Member] | type[User]"
Type "type[Union]" is not assignable to type "type[Member] | type[User]"
Type "type[Union]" is not assignable to type "type[Member]"
Type "type[Union]" is not assignable to type "type[User]" (reportArgumentType)
|
Run Pyright:
discord_http/commands.py#L341
Argument of type "Any | type[Union]" cannot be assigned to parameter "key" of type "type[BaseChannel] | type[TextChannel] | type[VoiceChannel] | type[CategoryChannel] | type[NewsChannel] | type[StoreChannel] | type[NewsThread] | type[PublicThread] | type[PrivateThread] | type[StageChannel] | type[DirectoryChannel] | type[ForumChannel] | type[Thread]" in function "__getitem__"
Type "Any | type[Union]" is not assignable to type "type[BaseChannel] | type[TextChannel] | type[VoiceChannel] | type[CategoryChannel] | type[NewsChannel] | type[StoreChannel] | type[NewsThread] | type[PublicThread] | type[PrivateThread] | type[StageChannel] | type[DirectoryChannel] | type[ForumChannel] | type[Thread]"
Type "type[Union]" is not assignable to type "type[BaseChannel] | type[TextChannel] | type[VoiceChannel] | type[CategoryChannel] | type[NewsChannel] | type[StoreChannel] | type[NewsThread] | type[PublicThread] | type[PrivateThread] | type[StageChannel] | type[DirectoryChannel] | type[ForumChannel] | type[Thread]"
Type "type[Union]" is not assignable to type "type[BaseChannel]"
Type "type[Union]" is not assignable to type "type[TextChannel]"
Type "type[Union]" is not assignable to type "type[VoiceChannel]"
Type "type[Union]" is not assignable to type "type[CategoryChannel]"
Type "type[Union]" is not assignable to type "type[NewsChannel]"
Type "type[Union]" is not assignable to type "type[StoreChannel]" (reportArgumentType)
|
Run Pyright:
discord_http/commands.py#L354
Cannot access attribute "type" for class "type[Union]"
Attribute "type" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
discord_http/commands.py#L358
Cannot access attribute "type" for class "type[Union]"
Attribute "type" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
discord_http/commands.py#L359
Cannot access attribute "type" for class "type[Union]"
Attribute "type" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
discord_http/commands.py#L361
Cannot access attribute "min" for class "type[Union]"
Attribute "min" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
discord_http/commands.py#L362
Cannot access attribute "max" for class "type[Union]"
Attribute "max" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
discord_http/commands.py#L366
Cannot access attribute "min" for class "type[Union]"
Attribute "min" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
discord_http/commands.py#L367
Cannot access attribute "max" for class "type[Union]"
Attribute "max" is unknown (reportAttributeAccessIssue)
|
Run Pyright
9 errors
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading