pyiron / pyiron_workflow

Graph-and-node based workflows
BSD 3-Clause "New" or "Revised" License
14 stars 1 forks source link

Settings as input #505

Open liamhuber opened 1 day ago

liamhuber commented 1 day ago

@JNmpi would like to have each node's IO be implicitly modified to accept a Settings object as actual input on the graph, where this dataclass holds stuff we'd otherwise find in Node.__init__ or as node attributes, like checkpoint or use_cache.

I see places where this would be useful, but also have reservations. For now the purpose of this issue is to make sure the idea doesn't get lost rather than a commitment to implement it.