ggaughan / pipe2py

A project to compile Yahoo! Pipes into Python (see it hosted on Google App Engine: http://pipes-engine.appspot.com)
http://wiki.github.com/ggaughan/pipe2py
GNU General Public License v2.0
317 stars 51 forks source link

loops with no embedded module/pipe should still parse #13

Open ggaughan opened 13 years ago

ggaughan commented 13 years ago

e.g. 7f08cdb62621f878c6eca74154e502ff currently fails to parse

The if module['type'] == 'loop' test in _parse_pipe should then check for module['conf']['embed'] == None, and then ensure the loop can emit/assign its input stream. Probably best to create a pipe_identity operator that simply returns whatever it is passed and embed that as a default module.

reubano commented 9 years ago

I just made a bunch of updates, can you check and see if the issue is still there?