diff --git a/bonobo/_api.py b/bonobo/_api.py index e7362dd..7b8edc9 100644 --- a/bonobo/_api.py +++ b/bonobo/_api.py @@ -61,7 +61,7 @@ def register_api_group(*args): @register_graph_api def run(graph, *, plugins=None, services=None, strategy=None): """ - Main entry point of bonobo. It takes a graph and creates all the necessary plumbery around to execute it. + Main entry point of bonobo. It takes a graph and creates all the necessary plumbing around to execute it. The only necessary argument is a :class:`Graph` instance, containing the logic you actually want to execute. diff --git a/bonobo/config/processors.py b/bonobo/config/processors.py index 73c9949..3740192 100644 --- a/bonobo/config/processors.py +++ b/bonobo/config/processors.py @@ -15,10 +15,10 @@ class ContextProcessor(Option): It works like a yielding context manager, and is the recommended way to setup and teardown objects you'll need in the context of one execution. It's the way to overcome the stateless nature of transformations. - The yielded values will be passed as positional arguments to the next context processors (order do matter), and + The yielded values will be passed as positional arguments to the next context processors (order does matter), and finally to the __call__ method of the transformation. - Warning: this may change for a similar but simpler implementation, don't relly too much on it (yet). + Warning: this may change for a similar but simpler implementation, don't rely too much on it (yet). Example: