Change import style in example.
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
from bonobo import Graph
|
import bonobo
|
||||||
|
|
||||||
|
|
||||||
def extract():
|
def extract():
|
||||||
@ -14,9 +14,7 @@ def load(s: str):
|
|||||||
print(s)
|
print(s)
|
||||||
|
|
||||||
|
|
||||||
graph = Graph(extract, load)
|
graph = bonobo.Graph(extract, load)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
from bonobo import run
|
bonobo.run(graph)
|
||||||
|
|
||||||
run(graph)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user