cuddly-jelly-27016
05/25/2025, 12:11 AMTypeError: No constructor defined .
I can see the underlying ValidationError exception but also see During handling of the above exception, another exception occurred:
This TypeError happens at flytekit/exceptions/scopes.py:user_entry_point at this line216
raise type(exc)(f"Error encountered while executing '{fn_name}':\n {exc}") from exc
E TypeError: No constructor defined
it looks like pydantic v2 we need to raise specific error like https://github.com/pydantic/pydantic/issues/8026|this.
I think we can just raise the original exception here right?
except Exception as exc:
raise exc
flyteorg/flytecuddly-jelly-27016
05/25/2025, 12:11 AM