Merge "Fix some reST field lists in docstrings"

This commit is contained in:
Jenkins 2017-06-27 12:54:28 +00:00 committed by Gerrit Code Review
commit 45b13c503a
2 changed files with 4 additions and 5 deletions

View File

@ -29,10 +29,9 @@ class Inspector(object):
:param cache: cache passed from the pollster :param cache: cache passed from the pollster
:param extra_metadata: extra dict to be used as metadata :param extra_metadata: extra dict to be used as metadata
:param param: a dict of inspector specific param :param param: a dict of inspector specific param
:return: an iterator of (value, metadata, extra) :return: an iterator of (value, metadata, extra) containing the sample
:return value: the sample value value, metadata dict to construct sample's metadata, and
:return metadata: dict to construct sample's metadata extra dict of extra metadata to help constructing sample
:return extra: dict of extra metadata to help constructing sample
""" """
def prepare_params(self, param): def prepare_params(self, param):

View File

@ -84,7 +84,7 @@ class GenericHardwareDeclarativePollster(plugin_base.PollsterBase):
as metadata. as metadata.
:param res: URL or dict containing all resource info. :param res: URL or dict containing all resource info.
:return parsed_url, resource_id, metadata: Returns parsed URL used for :return: parsed_url, resource_id, metadata Returns parsed URL used for
SNMP query, unique identifier of the resource and metadata SNMP query, unique identifier of the resource and metadata
of the resource. of the resource.
""" """