cillow.patch
add_patches
¶
Add new patches to be used by all Interpreter instances.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
patches
|
PatchProtocol | StreamCapturePatchProtcol
|
The context manager callables to add |
()
|
Source code in cillow/patch/__init__.py
load_patches
¶
Load the patches inside a context.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
on_stream
|
Callable[[Stream | ByteStream], Any]
|
The callback to capture streaming output. |
required |