let get_target t ~id = match t with | `Standalone s -> let open Standalone in Ketrew_engine.get_target s.engine id | `Http_client c -> Http_client.get_target c ~id