Replies: 2 comments 7 replies
|
I didn't have the time to think about that recently to be honest, but I'm always on the lookout for clean, clear and simple ways to simplify this kind of thing. If you (or anyone reading this) have any specific suggestions on possible formats, just post it here in this discussion and I'll take into account in the future when tending to this. |
|
I myself, as I said, don't have much to contribute to this discussion at the moment, since I didn't schedule any time to ponder about this. But something that I have been contemplating from time to time is to allow usage of a typing.TypedDict to define multiple outputs. However, this has some limitations considering future features I want to implement for node outputs, like the ability to "mute" nodes, so even if I accept this I'd not include it right now, but it is definitely something to consider in the future. |
Uh oh!
There was an error while loading. Please reload this page.
Take that mynodepack as example: to define an input, it is
radius:float=1.0; to define an output, it is{'name': 'circle_area', 'type': float}. Could the output defined the same as the input for simplicity?All reactions