Defining custom class as argument to @asset metadata #21009
Unanswered
cody-scott
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have a class that implements
__str__
and__repr__
and i would like to show this as part of the asset decorator in my asset catalog.basically i want this
to show properly in the UI.
right now it just shows as
[MyClass] (unserializable)
I make use of the metadata in my custom IO manager, but also want to surface this then to the users to see what the contents of the class is. In this case its conforming my SQL types to load, so i want to make it visible the columns + types.
Beta Was this translation helpful? Give feedback.
All reactions