Watch this video to learn how to use the Code operator in Watson Studio Streams Flows.
Using the Code operator you can write Python code to process tuples, or can also be used as a source operator to produce tuples for processing.

The video also shows how to add custom Python packages for use in your application.

This is the second part of the video series that demonstrates creating a time based billing application.

 

You can also  watch part 1 of this series  to see how the data was ingested from the Watson IoT platform, and download the sample from Github

Learn more about the Code operator

Streams Flows developer Boris Melamed has written a post on Medium describing how to add custom logic in Streams Flows

Visit the Streams Flows roadmap

Join The Discussion