

def record_derivatives(self, derivs, metadata):
    '" Records derivatives if requested.\n\n        Args\n        ----\n        derivs : dict\n            Dictionary containing derivatives\n        metadata : dict\n            Metadata for iteration coordinate\n        '
    metadata['timestamp'] = time.time()
    for recorder in self._recorders:
        if recorder.options['record_derivs']:
            if (metadata._parallel or (self.rank == 0)):
                recorder.record_derivatives(derivs, metadata)

dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/recorders/recording_manager.py RecordingManager.record_derivatives/VarMisuse@48/122 `recorder`->`metadata`