Skip to content

Feat/gateway (v2) merge into master #3

Feat/gateway (v2) merge into master

Feat/gateway (v2) merge into master #3

Triggered via pull request December 22, 2024 15:53
Status Failure
Total duration 26s
Artifacts

pyright_pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
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)
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)
pyright: discord_http/commands.py#L354
Cannot access attribute "type" for class "type[Union]"   Attribute "type" is unknown (reportAttributeAccessIssue)
pyright: discord_http/commands.py#L358
Cannot access attribute "type" for class "type[Union]"   Attribute "type" is unknown (reportAttributeAccessIssue)
pyright: discord_http/commands.py#L359
Cannot access attribute "type" for class "type[Union]"   Attribute "type" is unknown (reportAttributeAccessIssue)
pyright: discord_http/commands.py#L361
Cannot access attribute "min" for class "type[Union]"   Attribute "min" is unknown (reportAttributeAccessIssue)
pyright: discord_http/commands.py#L362
Cannot access attribute "max" for class "type[Union]"   Attribute "max" is unknown (reportAttributeAccessIssue)
pyright: discord_http/commands.py#L366
Cannot access attribute "min" for class "type[Union]"   Attribute "min" is unknown (reportAttributeAccessIssue)
pyright: discord_http/commands.py#L367
Cannot access attribute "max" for class "type[Union]"   Attribute "max" is unknown (reportAttributeAccessIssue)
pyright
9 errors
pyright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636