diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-12-04 09:31:03 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-12-04 09:32:37 +0100 |
commit | e1c9e38b9db8761e138b5cb3d674eddc8db185b7 (patch) | |
tree | 8b127f5794f628ef843bdacec59c63ba85e5f0a9 /docs/manual | |
parent | e823beb022e095ab54341c9d8b9062b930848b06 (diff) |
Fix typo and wrong API in manual
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/using/quickstart.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/manual/using/quickstart.rst b/docs/manual/using/quickstart.rst index 0fd97ae..9b16d96 100644 --- a/docs/manual/using/quickstart.rst +++ b/docs/manual/using/quickstart.rst @@ -201,7 +201,7 @@ look like this:: graph = Ufo.TaskGraph() scheduler = Ufo.Scheduler() - graph.read_from_json(manager, "some-graph.json") + graph.read_from_file(manager, "some-graph.json") scheduler.run(graph) Similarly, constructing the graph by hand maps one-to-one to the Python object @@ -209,7 +209,7 @@ and keyword system:: from gi.repository import Ufo - graph = Ufo.Graph() + graph = Ufo.TaskGraph() manager = Ufo.PluginManager() scheduler = Ufo.Scheduler() |