File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,12 @@ class Worker(worker.Worker):
44
44
:param map_init: initialization function for the map task.
45
45
This function is called once before the task starts.
46
46
47
+ .. deprecated:: 0.4
48
+ *map_init* has not been needed ever since
49
+ :func:`InputStreams <disco.worker.classic.func.InputStream>`
50
+ were introduced.
51
+ Use *map_input_stream* and/or *map_reader* instead.
52
+
47
53
:type map_input_stream: sequence of :func:`disco.worker.classic.func.input_stream`
48
54
:param map_input_stream: The given functions are chained together and the final resulting
49
55
:class:`disco.worker.classic.func.InputStream` object is used
@@ -90,6 +96,12 @@ class Worker(worker.Worker):
90
96
:param reduce_init: initialization function for the reduce task.
91
97
This function is called once before the task starts.
92
98
99
+ .. deprecated:: 0.4
100
+ *reduce_init* has not been needed ever since
101
+ :func:`InputStreams <disco.worker.classic.func.InputStream>`
102
+ were introduced.
103
+ Use *reduce_input_stream* and/or *reduce_reader* instead.
104
+
93
105
:type reduce_input_stream: sequence of :func:`disco.worker.classic.func.output_stream`
94
106
:param reduce_input_stream: The given functions are chained together and the last
95
107
returned :class:`disco.worker.classic.func.InputStream` object is
You can’t perform that action at this time.
0 commit comments