PatchProcessor
PatchProcessor()-> None
A task which runs 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. |
| fingerprint_at | Return the fingerprint this task has at a stated version. |
| new | Create new instance with some attributed updated. |
| run | Execute the task. Subclasses must implement this. |
| to_dict | Return a document which describes this task. |
| update | Return a new task with some parameters changed. |