Merge "Fix mappings.Mapping docstring"

This commit is contained in:
Jenkins
2014-10-20 00:51:25 +00:00
committed by Gerrit Code Review

View File

@@ -48,14 +48,11 @@ class MappingManager(base.CrudManager):
:param mapping_id: user defined string identifier of the federation
mapping.
:param rules: a JSON dictionary with list a list
of mapping rules.
:param rules: a list of mapping rules.
Example of the ``rules``::
Example of the ``rules`` parameter::
{
"mapping": {
"rules": [
[
{
"local": [
{
@@ -75,8 +72,6 @@ class MappingManager(base.CrudManager):
]
}
]
}
}
"""
return self._build_url_and_put(
@@ -112,14 +107,12 @@ class MappingManager(base.CrudManager):
:param mapping: a Mapping type object with mapping id
stored inside.
:param rules: a JSON dictionary with list a list
of mapping rules.
:param rules: a list of mapping rules.
Example of the ``rules``::
Example of the ``rules`` parameter::
{
"mapping": {
"rules": [
[
{
"local": [
{
@@ -139,8 +132,6 @@ class MappingManager(base.CrudManager):
]
}
]
}
}
"""
return super(MappingManager, self).update(