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
662 stars 58 forks source link

LIN-628: Fix error handling around input_parameter variable #808

Closed andycui97 closed 1 year ago

andycui97 commented 1 year ago

Description

Better error handling of the following cases.

Error messages should contain the parameter in question.

Last case of only non literal assignments fixed. The old error message was unreachable.

Tests updated to check the error message.

Fixes # LIN-628

Type of change

How Has This Been Tested?

test_function has been updated to check the error message being returned in each case as well.