Stiivi / bubbles

[NOT MAINTAINED] Bubbles – Python ETL framework
http://bubbles.databrewery.org
Other
452 stars 80 forks source link

Example code not working #11

Closed pjakobsen closed 10 years ago

pjakobsen commented 10 years ago

Running bubbles / examples / hello.py fails because 1) p.source(bubbles.data_object("csv_source", URL, infer_fields=True)) is missing a name parameter. Should be

p.source(bubbles.data_object("csv_source", URL, infer_fields=True),"foo-name")

2) Furthermore, the example doesn't seem to produce any output. What is supposed to happen when p.pretty_print() executes?

pjakobsen commented 10 years ago

Error for 1) is:

p.source(bubbles.data_object("csv_source", URL, infer_fields=True))

TypeError: source() missing 1 required positional argument: 'objname'

Stiivi commented 10 years ago

Thanks. Fixed.