Defining custom class as argument to @asset metadata #21009
Unanswered
cody-scott
asked this question in
Q&A
Replies: 1 comment
-
|
Hi, this is also very important to me, can there be any protocol or something so that we can at least render |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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