-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow macro channel labels to be automatically truncated #84
Comments
Example code for discussion, initially I had:
I need the
With this syntax the user has all the flexibility which nodes to make available on the outside and how to link them internally. Using
And the output could be handled in analogy to the node definitions. |
This is a separate and less clean issue, I'm opening something fresh for it so this one can still be closed once the automatic truncation gets implemented. |
@jan-janssen I think what you're asking for is now handled in #134. The actual title here, about truncating macro/workflow labels from However, there I think it may do more harm than good. Workflows are intended to be highly dynamic -- if it's set in stone what you want to do, you might as well make a macro. To support this, workflows dynamically produce their IO on each access call based on user defined maps (if any) and unconnected IO. So what I can imagine happening all the time if we're truncating (i.e. de-scoping) workflow IO labels, is that a user has some node with (in)output I'm super happy with #134, but at this point I just don't see automatic and implicit label truncation being a net win. I'm open to counter-arguments, but if I've convinced you then let's close this issue. |
Per discussion in meeting just now, Jan and I are both happy to close this. |
Ala #80. In the macro class, decorator, or both. For now I still lean towards the default using the full double underscore union of child and channel labels, and only truncating on explicit request, but I can at least imagine a world where the truncation is standard and we cleanly handle channel label conflict by falling back on the more verbose scheme.
The text was updated successfully, but these errors were encountered: