Skip to content

Commit

Permalink
fix for broken formatting in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Bernhardsson committed Jan 21, 2015
1 parent f66eeeb commit 4fb345f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api_overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,15 @@ simple Target object that is created externally you can wrap it in a
Task class like this:

.. code:: python
class LogFiles(luigi.Task):
def output(self):
return luigi.hdfs.HdfsTarget('/log')
This also makes it easier to add parameters:

.. code:: python
class LogFiles(luigi.Task):
date = luigi.DateParameter()
def output(self):
Expand Down

0 comments on commit 4fb345f

Please sign in to comment.