fast-nail-55400
04/08/2024, 8:20 AMEnvironmentName used by the rule graph in a test? I tried setting up the RuleRunner with:
QueryRule(ProcessResult, [Process, EnvironmentName]),
QueryRule(FallibleProcessResult, [Process, EnvironmentName]),
and then call rule_runner.request(FallibleProcessResult, [process, env_name])
but I get this error:
E Exception: Values used as `Params` must have distinct types, but the following values had the same type (`EnvironmentName`):
E EnvironmentName(val='__local_workspace__')
E EnvironmentName(val=None)fast-nail-55400
04/08/2024, 9:04 AMEnvironmentName from the rule_runner.request call would have overridden whatever was already generated within the rule graph.curved-television-6568
04/08/2024, 1:16 PMfast-nail-55400
04/08/2024, 8:21 PM