Skip to Content
Nov 15 at 02:59 PM

Python class sharing with pipelines


Within SAP Data Intelligence, using the Python 3 operator: how can I share a self-developed class within many different pipelines?

For example, I have a class bundling all the pre-processing, post-processing, etc.

Then, I have 2 training pipelines, using the pre-processing and post-processing methods, but differ within the ML model itself.

How can I share the class code for both pipelines without code duplication?