Skip to content
This repository has been archived by the owner on Jun 23, 2018. It is now read-only.

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
lanthias committed Apr 12, 2017
1 parent 014ac4e commit acf02a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ We could write the following workflow:
import Iris.Classify:0.0.1-SNAPSHOT as Classifier;
import Demo:0.0.1-SNAPSHOT as Demo;
def multipleSteps = Sources.http<(Double, Double, Double, Double> { http_path = "/irisendpoint" } | Classifier.predict | Demo.numChars | sinks.log<Integer>;
def multipleSteps = Sources.http<(Double, Double, Double, Double)> { http_path = "/irisendpoint" } | Classifier.predict | Demo.numChars | sinks.log<Integer>;
}
.. note :: ``numChars`` and ``predict`` can be `composed` together because their types -- or schemas -- match. If ``predict`` wasn't configured to output ``Text``, or ``numChars`` wasn't configured to take ``Text`` as input, NStack would not let you build the following workflow.
Expand Down

0 comments on commit acf02a7

Please sign in to comment.