Fix another bug where db query was getting arguments in the wrong order. #90
Annotations
10 errors and 1 warning
exts/notifications/aci_notifications.py#L148
Argument of type "_SpecialForm" cannot be assigned to parameter "class_or_tuple" of type "_ClassInfo" in function "isinstance"
Type "_SpecialForm" is incompatible with type "_ClassInfo"
"_SpecialForm" is incompatible with "type"
"_SpecialForm" is incompatible with "UnionType"
"_SpecialForm" is incompatible with "tuple[_ClassInfo, ...]" (reportArgumentType)
|
exts/notifications/aci_notifications.py#L154
Type of "message" is partially unknown
Type of "message" is "Message | Unknown" (reportUnknownVariableType)
|
exts/notifications/aci_notifications.py#L154
Type of "fetch_message" is partially unknown
Type of "fetch_message" is "((id: int, /) -> Coroutine[Any, Any, Message]) | Unknown" (reportUnknownMemberType)
|
exts/notifications/aci_notifications.py#L154
Cannot access attribute "fetch_message" for class "PrivateChannel"
Attribute "fetch_message" is unknown (reportAttributeAccessIssue)
|
exts/notifications/aci_notifications.py#L166
Type of "author" is partially unknown
Type of "author" is "User | Member | Unknown" (reportUnknownMemberType)
|
exts/notifications/aci_notifications.py#L166
Type of "mention" is partially unknown
Type of "mention" is "str | Unknown" (reportUnknownMemberType)
|
exts/notifications/aci_notifications.py#L167
Type of "content" is partially unknown
Type of "content" is "str | Unknown" (reportUnknownMemberType)
|
exts/notifications/aci_notifications.py#L171
Type of "author" is partially unknown
Type of "author" is "User | Member | Unknown" (reportUnknownMemberType)
|
exts/notifications/aci_notifications.py#L171
Argument type is partially unknown
Argument corresponds to parameter "object" in function "__new__"
Argument type is "User | Member | Unknown" (reportUnknownArgumentType)
|
exts/notifications/aci_notifications.py#L171
Type of "author" is partially unknown
Type of "author" is "User | Member | Unknown" (reportUnknownMemberType)
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/setup-node@v3, jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading