code: def _generate_current_command(self):
          '''
          Returns a constructed GCode string that contains this driver's
          axis-current settings, plus a small delay to wait for those settings
          to take effect.
          '''
          values = ['{}{}'.format(axis, value)
                    for axis, value in sorted(self.current.items())]
          current_cmd = '{} {}'.format(
              GCODES['SET_CURRENT'],
              ' '.join(values)
          )
          command = '{currents} {code}P{seconds}'.format(
              currents=current_cmd,
              code=GCODES['DWELL'],
              seconds=CURRENT_CHANGE_DELAY
          )
          log.debug("_generate_current_command: {}".format(command))
          return commanf _generate_current_command(self):
          '''
          Returns a constructed GCode string that contains this driver's
          axis-current settings, plus a small delay to wait for those settings
          to take effect.
          '''
          values = ['{}{}'.format(axis, value)
                    for axis, value in sorted(self.current.items())]
          current_cmd = '{} {}'.format(
              GCODES['SET_CURRENT'],
              ' '.join(values)
          )
          command = '{currents} {code}P{seconds}'.format(
              currents=current_cmd,
              code=GCODES['DWELL'],
              seconds=CURRENT_CHANGE_DELAY
          )
          log.debug("_generate_current_command: {}".format(command))
          return command
docs: Returns a constructed GCode string that contains this driver's
          axis-current settings, plus a small delay to wait for those settings
          to take effect.