You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across with some problems and requirements while I was trying to use sl.Pipeline html wrapper in scipp/essnmx
documentation.
Wrong name parsing of NewType in python 3.9I just saw that this issue was marked as wontfix...! Sorry
Dict-like representation of Pipeline. So that it's easier to turn them into a html wrapper or other formats.
Pipeline.__repr__. It should be easy if the Dict-like representation is implemented.
Customize Value representation. For example, when I have a function it shows the address of the instance not the name of the module and the function. It'll be useful to pass a customizing function by the type.
i.e.
I'm suggesting this because, we can't handle all different types of providers and values on our own. However, if the Pipeline wrapper doesn't show what I want to show, it's less useful in the documentation.
It mostly do, but these ideas started only because nmx workflow has function object as a parameter.
I didn't want to add instance address in the documentation...
And we have __repr__ for most of important data structures, so... why not for Pipeline...?
It'll make logging much easier.
I came across with some problems and requirements while I was trying to use
sl.Pipeline
html wrapper in scipp/essnmxdocumentation.
Wrong name parsing ofI just saw that this issue was marked as wontfix...! SorryNewType
in python 3.9Pipeline
. So that it's easier to turn them into ahtml
wrapper or other formats.Pipeline.__repr__
. It should be easy if the Dict-like representation is implemented.Value
representation. For example, when I have a function it shows the address of the instance not the name of the module and the function. It'll be useful to pass a customizing function by the type.i.e.
I'm suggesting this because, we can't handle all different types of providers and values on our own. However, if the
Pipeline
wrapper doesn't show what I want to show, it's less useful in the documentation.Maybe it should be discussed together with scipp/scipp#3305
The text was updated successfully, but these errors were encountered: