From 20bfbf1cc4fee08669dd02b7807ea46d4787a897 Mon Sep 17 00:00:00 2001 From: Nisha Yadav Date: Fri, 19 Aug 2016 19:31:17 +0530 Subject: [PATCH] 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 --- keystoneclient/v3/policies.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/keystoneclient/v3/policies.py b/keystoneclient/v3/policies.py index 6eb1aa5c3..a9be680d5 100644 --- a/keystoneclient/v3/policies.py +++ b/keystoneclient/v3/policies.py @@ -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(