def record_metadata(self, root):

        for recorder in self._recorders:
            # If the recorder does not support parallel recording
            # we need to make sure we only record on rank 0.
            if recorder._parallel or self.rank == 0:
                if recorder.options['record_metadata']:
                    recorder.record_metadata(root)
WARNING: this function will not work in Python 2.4 and earlier!
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/recorders/recording_manager.py/RecordingManager.record_metadata--crossover with--dataset/ETHPy150Open foundit/Piped/contrib/status_testing/piped_status_testing/util.py/inlineCallbacks