code: def dwell_axes(self, axes):
          '''
          Sets motors to low current, for when they are not moving.
  
          Dwell for XYZA axes is only called after HOMING
          Dwell for BC axes is called after both HOMING and MOVING
  
          axes:
              String containing the axes to set to low current (eg: 'XYZABC')
          '''
          axes = ''.join(set(axes) & set(AXES) - set(DISABLE_AXES))
          dwelling_currents = {
              ax: self._dwelling_current_settings['now'][ax]
              for ax in axes
              if self._active_axes[ax] is True
          }
          if dwelling_currents:
              self._save_current(dwelling_currents, axes_active=Falsef dwell_axes(self, axes):
          '''
          Sets motors to low current, for when they are not moving.
  
          Dwell for XYZA axes is only called after HOMING
          Dwell for BC axes is called after both HOMING and MOVING
  
          axes:
              String containing the axes to set to low current (eg: 'XYZABC')
          '''
          axes = ''.join(set(axes) & set(AXES) - set(DISABLE_AXES))
          dwelling_currents = {
              ax: self._dwelling_current_settings['now'][ax]
              for ax in axes
              if self._active_axes[ax] is True
          }
          if dwelling_currents:
              self._save_current(dwelling_currents, axes_active=False)
docs: Sets motors to low current, for when they are not moving.
  
          Dwell for XYZA axes is only called after HOMING
          Dwell for BC axes is called after both HOMING and MOVING
  
          axes:
              String containing the axes to set to low current (eg: 'XYZABC')