static Client.is_solver_handled(solver)[source]

Determine if the specified solver should be handled by this client.

This predicate function overrides superclass to allow only remote software solvers.

Current implementation allows only D-Wave software clients with solver IDs prefixed with c4-sw. If needed, update this method to suit your solver naming scheme.


This example filters solvers for those prefixed My_SW_Solver.

def is_solver_handled(solver):
    return solver and solver.id.startswith('My_SW_Solver')