PatchProcessor
PatchProcessor()-> None
An operation on a patch, written out by hand.
Subclasses declare their parameters as fields and say what a patch has to carry for the operation to mean anything. They exist where an operation wants a seam a whole function does not have – a kernel to dispatch, a plan to reuse – and are registered with register_implementation so that the patch function’s name reaches them.
Methods
| Name | Description |
|---|---|
| check | Refuse a patch which does not carry what the operation needs. |
| derive_meta | Return what the result’s metadata is. |
| new | Create new instance with some attributed updated. |
| plan_kernel | Return the array function this call is, or None to touch no data. |
| reconcile | Return the metadata the data actually turned out to have. |
| run | Run the operation against a patch. |