<#3597 [BUG] Flyte DataclassTransformer does not p...
# flyte-github
a
#3597 [BUG] Flyte DataclassTransformer does not properly use children of FlyteFile Issue created by ggydush Describe the bug I have a custom type that inherits from
FlyteFile
and am using it within a dataclass to run map tasks. What I've found, is that when converting the type, rather than use my classes
to_literal
method, it is converting the custom type to a struct. This makes it act like the normal
FlyteFile
rather than my custom type. Expected behavior The custom type's to_literal method should be used. Additional context to reproduce No response Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte