Fix some language in messages, comments, and docstrings #10
Annotations
10 errors and 1 warning
|
patroni/api.py#L674
Type of "append_metrics" is partially unknown
Type of "append_metrics" is "(metrics: Unknown, labels: Unknown) -> None" (reportUnknownMemberType)
|
|
patroni/api.py#L1205
Type of "dcs" is partially unknown
Type of "dcs" is "AbstractDCS | Unknown" (reportUnknownMemberType)
|
|
patroni/api.py#L1205
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)
|
|
patroni/api.py#L1205
Cannot access attribute "dcs" for class "SingleSiteController"
Attribute "dcs" is unknown (reportAttributeAccessIssue)
|
|
patroni/ha.py#L364
Argument missing for parameter "leader" (reportCallIssue)
|
|
patroni/ha.py#L567
"get" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
patroni/ha.py#L569
Argument of type "Any | list[str] | str | None" cannot be assigned to parameter "replica_methods" of type "List[str] | None" in function "can_create_replica_without_replication_connection"
Type "Any | list[str] | str | None" is not assignable to type "List[str] | None"
Type "str" is not assignable to type "List[str] | None"
"str" is not assignable to "List[str]"
"str" is not assignable to "None" (reportArgumentType)
|
|
patroni/ha.py#L743
Object of type "None" is not subscriptable (reportOptionalSubscript)
|
|
patroni/ha.py#L743
"get" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
patroni/ha.py#L1580
Type of "on_shutdown" is partially unknown
Type of "on_shutdown" is "(checkpoint_location: Unknown) -> None" (reportUnknownMemberType)
|
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
The logs for this run have expired and are no longer available.
Loading