Prepare a batch of actions. This is useful for `PreImage` actions that are more efficient when their actions are applied to several images in bulk. Returns an arbitrary output that is passed to `PreImage.run`.
(cls, instances: list["PreImage"])
| 525 | |
| 526 | @classmethod |
| 527 | def prepare_batch(cls, instances: list["PreImage"]) -> Any: |
| 528 | """Prepare a batch of actions. |
| 529 | |
| 530 | This is useful for `PreImage` actions that are more efficient when |
| 531 | their actions are applied to several images in bulk. |
| 532 | |
| 533 | Returns an arbitrary output that is passed to `PreImage.run`. |
| 534 | """ |
| 535 | pass |
| 536 | |
| 537 | def run(self, prep: Any) -> None: |
| 538 | """Perform the action. |
no outgoing calls
no test coverage detected