diff --git a/cylc/flow/network/client_factory.py b/cylc/flow/network/client_factory.py index 8231523ec35..161bbcbbc82 100644 --- a/cylc/flow/network/client_factory.py +++ b/cylc/flow/network/client_factory.py @@ -51,7 +51,7 @@ def get_runtime_client( if comms_method == CommsMeth.SSH: from cylc.flow.network.ssh_client import WorkflowRuntimeClient else: - from cylc.flow.network.client import ( # type: ignore[no-redef] + from cylc.flow.network.client import ( # type: ignore[assignment] WorkflowRuntimeClient ) return WorkflowRuntimeClient(workflow, timeout=timeout)