Summary
The user faced a TypeError
related to typing.Union
while using dataclass
in a Flyte workflow, which had previously run without issues. They tested an example from GitHub that worked with pyflyte
but encountered errors when running it directly. The user was integrating Hydra for configuration management and sought clarification on running Flyte workflows through the main function and using dataclasses with Hydra. Ultimately, they found a workaround by not using the dataclass and are currently using flytekitplugins-omegaconf
. They mentioned they would reach out again if further issues arise.