diff --git a/flytekit/core/type_engine.py b/flytekit/core/type_engine.py index 6a8bc429b0f..3a679269c8f 100644 --- a/flytekit/core/type_engine.py +++ b/flytekit/core/type_engine.py @@ -1166,7 +1166,7 @@ def to_python_value(cls, ctx: FlyteContext, lv: Literal, expected_python_type: T """ Converts a Literal value with an expected python type into a python value. """ - print("Expected Python Type: ", expected_python_type) + # print("Expected Python Type: ", expected_python_type) transformer = cls.get_transformer(expected_python_type) return transformer.to_python_value(ctx, lv, expected_python_type) @@ -1223,10 +1223,10 @@ def literal_map_to_kwargs( kwargs = {} for i, k in enumerate(lm.literals): try: - print("converting input: ", k, " with value: ", lm.literals[k]) - print("Type 1: ", python_interface_inputs[k]) + # print("converting input: ", k, " with value: ", lm.literals[k]) + # print("Type 1: ", python_interface_inputs[k]) kwargs[k] = TypeEngine.to_python_value(ctx, lm.literals[k], python_interface_inputs[k]) - print("kwargs[k]:", kwargs[k]) + # print("kwargs[k]:", kwargs[k]) except TypeTransformerFailedError as exc: raise TypeTransformerFailedError(f"Error converting input '{k}' at position {i}:\n {exc}") from exc