New RunLLM response generated: >>>*# Question* He...
# runllm-flyte-trial
a
New RunLLM response generated: >>>*# Question* Hey all, noticed I can't really use a Dict type with Union of different values. is this a known bug or am I doing something wrong? # Answer Yes, this is a known limitation in Flyte. The Flyte type system currently does not support dictionaries with mixed value types directly. This is because Flyte's type system needs to map to a known type on the FlyteIDL side, and the only known type that can handle Python's
Any
is currently a pickled object. For example, using a dictionary with
Union
types can lead to issues during type checking and serialization. This is discussed in various GitHub issues and community discussions. Would you like more detailed steps on how to work around this issue or further explanation on the underlying mechanics? Sources: - GitHub Issue #4740 - Flyte Community Discussion Slack Link https://flyte-org.slack.com/archives/CP2HDHKE1/p1722186596.253609 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.