def prepare(self):
		"""Prepare the ordered list of transformers and reset context state to initial."""
		self.scope = 0
		self.mapping = deque([0])
		self._handler = [i() for i in sorted(self.handlers, key=lambda handler: handler.priority)]
def prepare ( self ) : self . scope = 0 self . mapping = deque ( [ 0 ] ) self . _handler = [ i ( ) for i in sorted ( self . handlers , key = lambda handler : handler . priority ) ]
Prepare the ordered list of transformers and reset context state to initial.