Format slot args and run unless/onlyif function.
(self, entry)
| 1112 | return ret |
| 1113 | |
| 1114 | def _run_check_function(self, entry): |
| 1115 | """Format slot args and run unless/onlyif function.""" |
| 1116 | fun = entry.pop("fun") |
| 1117 | args = entry.pop("args") if "args" in entry else [] |
| 1118 | cdata = {"args": args, "kwargs": entry} |
| 1119 | self.format_slots(cdata) |
| 1120 | return self.functions[fun](*cdata["args"], **cdata["kwargs"]) |
| 1121 | |
| 1122 | def _run_check_onlyif(self, low: LowChunk, cmd_opts) -> dict[str, Any]: |
| 1123 | """ |
no test coverage detected