salmon-refrigerator-32115
02/04/2023, 12:53 AMdef estimate(test_data: Optional[pd.DataFrame] = None, ...
tall-lock-23197
encoder
is of type that isn't understood by Flyte, whereas pd.DataFrame
is a Flyte native type. But this should be supported. @high-accountant-32689, is this a bug?broad-monitor-993
02/06/2023, 3:12 PMFlytePickle
in cases where the type is not understood, unless this is a known limitation of the Union type, in which case the error message should be more informative. @salmon-refrigerator-32115 can you share a minimally reproducible example?high-accountant-32689
02/06/2023, 3:17 PMsalmon-refrigerator-32115
02/06/2023, 8:02 PMdef estimate(test_data: Optional[pd.DataFrame] = None, ...
def estimate(test_data: pd.DataFrame = None, ...
salmon-refrigerator-32115
02/06/2023, 8:02 PMbroad-monitor-993
02/06/2023, 8:10 PMuser
02/06/2023, 8:10 PMbroad-monitor-993
02/06/2023, 8:11 PMsalmon-refrigerator-32115
02/06/2023, 9:47 PM