diff --git a/flytekit/extras/pydantic/custom.py b/flytekit/extras/pydantic/custom.py index 9e0033f425..caf9466647 100644 --- a/flytekit/extras/pydantic/custom.py +++ b/flytekit/extras/pydantic/custom.py @@ -26,7 +26,9 @@ def serialize_flyte_file(self) -> Dict[str, str]: @model_validator(mode="after") def deserialize_flyte_file(self, info) -> FlyteFile: if info.context is None or info.context.get("deserialize") is not True: + print("@@@@ initializing flyte file") return self + print("@@@@ convert to flyte file") pv = FlyteFilePathTransformer().to_python_value( FlyteContextManager.current_context(), Literal(