Seems like a good idea to me / exactly what display data is for. I'm kind of surprised this does not already exist.
Kenn On Wed, Sep 17, 2025 at 2:42 PM Joey Tran <[email protected]> wrote: > Hey all, > > I'd like to add a human readable element type string for pcollections as a > piece of display data. Currently, if any kind of dashboard wants to display > what type of elements are in a pcollection, the best it can do with the > pipeline proto afaict is to try to infer it from the associated coder, > which may not always have very specific information. For example, any > user-defined python class is just encoded with the pickle coder whose type > hint is just `Any`. > > Does anyone have any thoughts on this? This could be done with a new > standard displaydata type and then every SDK could optionally add it during > pipeline construction/serialization time. If we're not sure of its > usefulness, we could limit it to the python SDK to trial it. > > Best, > Joey >
