Channels
datahub-flyte
scipy-2023-workshop
flyte-school
agent-support-memverge
flyte-build
flyte-users-berlin
scipy-2023-sprint
auth
flyte-bazel
large-language-models
contribute
bioinformatics-computational-biology
great-content
in-flyte-conversations
flyte-on-gcp
show-and-tell
shameless-promotion
linkedin-flyte
random
deployment
hacktoberfest-2023
flyte-github
feature-discussions
linen-test
flytelab
flytekit-java
integrations
ray-on-flyte
conference-talks
release
flyte-ui-ux
workflow-building-ui-proj
writing-w-sfloris
jobs
hacktoberfest-2022
torch-elastic
flyte-console
engineeringlabs
helsing-flyte
flyte-documentation
konan-integration
databricks-integration
ray-integration
wg-gpu-types
flytekit
ecosystem-unionml
scipy-2022-sprint
announcements
ask-the-community
flyte-deployment
introductions
events
Powered by
#ask-the-community
Title
# ask-the-community
l
Laura Lin
10/17/2022, 6:04 PM
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
Yee
10/17/2022, 6:57 PM
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
Post