Skip to content

Commit

Permalink
docs: batch_mode => batch_method (#1890)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanng authored and Tarrasch committed Oct 20, 2016
1 parent 1c53219 commit fc66a79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/luigi_patterns.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,13 @@ Tasks that regularly overwrite the same data source

If you are overwriting of the same data source with every run, you'll
need to ensure that two batches can't run at the same time. You can do
this pretty easily by setting batch_mode to max and setting a unique
this pretty easily by setting batch_method to max and setting a unique
resource:

.. code-block:: python
class A(luigi.Task):
date = luigi.DateParameter(batch_mode=max)
date = luigi.DateParameter(batch_method=max)
resources = {'overwrite_resource': 1}
Expand Down

0 comments on commit fc66a79

Please sign in to comment.