Skip to content

Commit

Permalink
fix-test
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed May 22, 2024
1 parent 5147435 commit 01b8842
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flytekit/core/type_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 01b8842

Please sign in to comment.