Hi, using flyte again after a long break. What is ...
# ask-the-community
l
Hi, using flyte again after a long break. What is the current equivalent of
from flytekit.sdk.types import Types
the
Types.Generic
? This used to be the type for arbitrary dict/json objects but it doesn't seem to be here anymore?
nevermind, it seems like its just native
dict
support now
y
so native dictionaries do work, if the generic is what you want yeah.
but flytekit also supports
typing.Dict[str, T]
if you want instead your output to be interpreted as a dictionary in Flyte.
and for bundling of structs we typically use dataclass_json internally
154 Views