Revert "pipeline.py"

This reverts commit f3d3d0e734b7fba903476875294baa2014c8b739.