Fix some language in messages, comments, and docstrings #9
Annotations
10 errors and 1 warning
Run jakebailey/pyright-action@v2:
patroni/api.py#L678
Type of "site_switches" is partially unknown
Type of "site_switches" is "Unknown | None" (reportUnknownMemberType)
|
Run jakebailey/pyright-action@v2:
patroni/api.py#L678
Argument type is partially unknown
Argument corresponds to parameter "args" in function "format"
Argument type is "Unknown | None" (reportUnknownArgumentType)
|
Run jakebailey/pyright-action@v2:
patroni/api.py#L678
Cannot access attribute "site_switches" for class "SingleSiteController"
Attribute "site_switches" is unknown (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
patroni/api.py#L1196
Return type, "Unknown | None", is partially unknown (reportUnknownParameterType)
|
Run jakebailey/pyright-action@v2:
patroni/api.py#L1202
Type of "_write_response" is unknown (reportUnknownMemberType)
|
Run jakebailey/pyright-action@v2:
patroni/api.py#L1202
Return type is unknown (reportUnknownVariableType)
|
Run jakebailey/pyright-action@v2:
patroni/api.py#L1202
Cannot access attribute "_write_response" for class "RestApiHandler*"
Attribute "_write_response" is unknown (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
patroni/api.py#L1209
Type of "dcs" is partially unknown
Type of "dcs" is "AbstractDCS | Unknown" (reportUnknownMemberType)
|
Run jakebailey/pyright-action@v2:
patroni/api.py#L1209
Type of "manual_failover" is partially unknown
Type of "manual_failover" is "((leader: str | None, candidate: str | None, scheduled_at: datetime | None = None, target_site: str | None = None, version: Any | None = None) -> bool) | Unknown" (reportUnknownMemberType)
|
Run jakebailey/pyright-action@v2:
patroni/api.py#L1209
Cannot access attribute "dcs" for class "SingleSiteController"
Attribute "dcs" is unknown (reportAttributeAccessIssue)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading