fast-nail-55400
12/06/2020, 4:29 AME Exception: No installed QueryRules can compute WrappedTarget given input Params(str), but it can be produced using:
E Params(Address)
I already have QueryRule(WrappedTarget, (Address,)),
in the RuleRunner
setup and my code goes from Address
to WrappedTarget
, unclear where Params(str)
is coming from, maybe not my plugin’s rules?hundreds-father-404
12/06/2020, 4:48 AMrule_runner.request(WrappedTarget)
- it’s likely you’re not passing an Address
like you may be thinking
(Or is this not test code?)fast-nail-55400
12/06/2020, 5:05 AMfast-nail-55400
12/06/2020, 5:06 AMgo_binary_target = rule_runner.get_target(":bin")
fast-nail-55400
12/06/2020, 5:07 AMfast-nail-55400
12/06/2020, 5:07 AMfast-nail-55400
12/06/2020, 5:08 AM./pants typecheck
…hundreds-father-404
12/06/2020, 5:08 AMAddress("", target_name="bin")
)