Skip to content

Instantly share code, notes, and snippets.

@wethinkagile
Last active August 29, 2015 14:07
Show Gist options
  • Save wethinkagile/564968bad1eee14b3748 to your computer and use it in GitHub Desktop.
Save wethinkagile/564968bad1eee14b3748 to your computer and use it in GitHub Desktop.
mr() is deprecated and will be removed in v0.6.0. Use mrjob.step.MRStep directly instead.
from mrjob.job import MRJob
from mrjob.step import MRStep
def steps(self):
return [
MRStep(mapper=self.myMapper,
combiner=self.myCombiner,
reducer=self.myReducer)
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment