hundreds-motorcycle-57551
03/31/2025, 9:48 AMself.a = inputs[0].a
because there are lots of these attributes I want to set. and the code just get tedious.
what's a good alternative way here?square-wire-39606
03/31/2025, 3:36 PMhundreds-motorcycle-57551
04/01/2025, 1:25 AMhundreds-motorcycle-57551
04/02/2025, 1:52 AMsquare-wire-39606
04/02/2025, 4:02 PMfirst = inputs[0]
self.first_input_attrs = {k: getattr(first, k) for k in first._datastore}