Details
-
Improvement
-
Status: Resolved
-
P2
-
Resolution: Won't Fix
-
None
-
None
Description
The FunctionSpec payload is opaque outside of the native environment, which can make debugging pipeline protos difficult. It would be very useful if the FunctionSpec had an optional human readable "label", for debugging and presenting in UIs and error messages.
For example, in python, if the payload is an instance of a class, we could attempt to provide a string that represents the dotted path to that class, "mymodule.MyClass". In the case of coders, we could use the label to hold the type hint: "Optional[Iterable[mymodule.MyClass]]".