Follow up patch for Improve docs for v3 policies

This patch fixes few nits left by the review
I8fef9c2ec54e38648e1000874c6d2381b6fad576

Change-Id: I31ea3ba97c806f9bb01d33c4a5b429d309816117
Partial-Bug: #1330769
This commit is contained in:
Nisha Yadav
2016-08-19 19:31:17 +05:30
parent 04b5534b7c
commit 20bfbf1cc4

View File

@@ -25,7 +25,7 @@ class Policy(base.Resource):
Attributes:
* id: a uuid that identifies the policy
* blob: a policy document (blob)
* type: the mime type of the policy blob
* type: the MIME type of the policy blob
"""
@@ -57,7 +57,7 @@ class PolicyManager(base.CrudManager):
"""Create a policy.
:param str blob: the policy document.
:param str type: the mime type of the policy blob.
:param str type: the MIME type of the policy blob.
:param kwargs: any other attribute provided will be passed to the
server.
@@ -102,7 +102,7 @@ class PolicyManager(base.CrudManager):
:param policy: the policy to be updated on the server.
:type policy: str or :class:`keystoneclient.v3.policies.Policy`
:param str blob: the new policy document.
:param str type: the new mime type of the policy blob.
:param str type: the new MIME type of the policy blob.
:param kwargs: any other attribute provided will be passed to the
server.
@@ -122,7 +122,8 @@ class PolicyManager(base.CrudManager):
:param policy: the policy to be deleted on the server.
:type policy: str or :class:`keystoneclient.v3.policies.Policy`
:returns: Request object with 204 status and None as data.
:returns: Response object with 204 status.
:rtype: :class:`requests.models.Response`
"""
return super(PolicyManager, self).delete(