Skip to content

Commit

Permalink
Fix: backend_name should be backend.name in example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
boyd-bit-io authored and nijel committed Mar 2, 2021
1 parent 602311f commit ab73dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/developer_intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ logic, you have to make your pipeline steps smart enough to skip the step if it
is not relevant. This is as simple as::

def my_custom_step(strategy, backend, request, details, *args, **kwargs):
if backend_name != 'my_custom_backend':
if backend.name != 'my_custom_backend':
return
# otherwise, do the special steps for your custom backend

Expand Down

0 comments on commit ab73dc4

Please sign in to comment.