File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3434 >>> return {}
3535
3636If patching a method of an attribute, the `is_attr` argument should be set to `True` and
37- the target should include the attribute name and the method name, all separated by
37+ the target should include the attribute name and the method name, all separated by
3838periods, eg. `attribute_name.method_name`.
3939
4040It should be noted that the patched function should have the same signature as the
4343should be the node object itself, which will typically be named `self`.
4444
4545The overridden method or attribute can be accessed within the patched function using the
46- `_patched_{method_name}` attribute of the object, eg. `self._patched_pull_distributed`.
46+ `_patched_{method_name}` attribute of the object, eg. `self._patched_pull_distributed`.
4747The exception to this is when patching an item, in which case the original item is no
4848available to be used within the overriding function.
4949
You can’t perform that action at this time.
0 commit comments