LineaLabs / lineapy

Move fast from data science prototype to pipeline. Capture, analyze, and transform messy notebooks into data pipelines with just two lines of code.
https://lineapy.org
Apache License 2.0
664 stars 58 forks source link

Expose lineapy.to_module to load the python module directly #880

Closed mingjerli closed 1 year ago

mingjerli commented 1 year ago

Description

Create a new lineapy.get_module API, to allow the user directly load the python module generated when running get_function or to_pipeline directly. This can help users to reuse components.

Fixes # (issue)

LIN-747

Type of change

How Has This Been Tested?

Passing all existing changes, get_function is now using newly created get_module now, so not adding new tests here.