Hi, I'd like to ask a question of flyte type. I a...
# announcements
Hi, I'd like to ask a question of flyte type. I am using custom class module, Kirin with flyte. Flyte does not return any type error before when I run sample code of flyte, but I have no idea why flyte make this error.
Copy code
ValueError: Type <class 'kirin.api.Kirin'> not supported currently in Flytekit. Please register a new transformer

The above exception was the direct cause of the following exception:
would you give any idea to solve this happening?
Hi @SeungTaeKim can you check these docs https://docs.flyte.org/projects/flytekit/en/latest/design/authoring.html#design-authoring and sections around typetransformers that would make flyte understand the new types that you want to use
@SeungTaeKim Could you share code snippet? Flytekit should be able to convert unknown type to pickle. https://docs.flyte.org/projects/cookbook/en/latest/auto/core/type_system/flyte_pickle.html#sphx-glr-auto-core-type-system-flyte-pickle-py
Ya this should default to using pickle
@SeungTaeKim did this work?
👍 1
I have tried to use
on the custom class, and unified the return type with this custom class, then it worked.
👍 2
thank you for updating this