def _copy_scalars(self, other):
        for name, val in other.__dict__.items():
            if not hasattr(self, name):
                setattr(self, name, val)
Copy scalars from `other` to self.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/datatypes/domain/flow.py/FlowSolution._copy_scalars