docs: def _resolve_service_class(class_name, service_providers):
      """
      **NOTE**: This must be remved once the service_class spec entry is fully
      deprecated
      Retrieves a service plugin class from the class name instead of the
      provider name
      Args:
          class_name(str): Class name of the service plugin to retrieve
          service_providers(dict): provider_name->provider_class of the loaded
              service providers
      Returns:
          class: Class of the plugin that matches that name
      Raises:
          lago.plugins.NoSuchPluginError: if there was no service plugin that
              matched the search
      """
      for plugin in service_providers.itervalues():
          if plugin.__class__.__name__ == class_name:
              return plugin
  
      raise plugins.NoSuchPluginError(
          'No service provider plugin with class name %s found, loaded '
          'providers: %s' % (
              class_name,
              [
                  plugin.__class__.__name__
                  for plugin in service_providers.itervalues()
              ],
          )
      )