F

Flyte enables you to build & deploy data & ML pipelines, hassle-free. The infinitely scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks. Explore and Join the Flyte Community!

TypeError with Flyte and dataclass usage

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.

Status
resolved
Tags
    Source
    #ask-the-community