Skip to content

Commit

Permalink
Fixed import typo: with_job is located in root flow module (#158)
Browse files Browse the repository at this point in the history
* Fixed import typo: with_job is located in root flow module

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
javierbg and pre-commit-ci[bot] committed Dec 16, 2021
1 parent 4b21d78 commit f142d10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/flow-project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,11 @@ If we implemented and integrated the operation and condition functions correctly

.. code-block:: python
from flow import with_job
@MyProject.operation
@MyProject.post(greeted)
@MyProject.with_job
@with_job
def hello(job):
with open('hello.txt', 'w') as file:
file.write('world!\n')
Expand Down

0 comments on commit f142d10

Please sign in to comment.