bitter-ability-3219004/08/2022, 1:20 PM
in it, but didn't want to go through the hoops of a dedicated
? ⚡ Behold, the mighty
. ⚡ Does what it says on the tin! Allows you to split some code off of your
in it without the overhead of another rule. Example:
@rule_helper async def _collect_thingamabobs(x, y, z): a = await Get(A, B, x) if y: a += await Get(C, D, z) return a @rule async def my_rule(...): ... a = await _collect_thingamabobs(x, y, z) ....