diff options
author | Nisha Yadav <ynisha11@gmail.com> | 2016-08-19 19:31:17 +0530 |
---|---|---|
committer | Nisha Yadav <ynisha11@gmail.com> | 2016-08-19 19:31:17 +0530 |
commit | 20bfbf1cc4fee08669dd02b7807ea46d4787a897 (patch) | |
tree | a4922008241b7d849226830d6797584e82341c99 /keystoneclient/v3 | |
parent | 04b5534b7c43d4ff7edfbed46c88fcdca6f691d8 (diff) | |
download | python-keystoneclient-20bfbf1cc4fee08669dd02b7807ea46d4787a897.tar.gz |
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
Diffstat (limited to 'keystoneclient/v3')
-rw-r--r-- | keystoneclient/v3/policies.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/keystoneclient/v3/policies.py b/keystoneclient/v3/policies.py index 6eb1aa5..a9be680 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( |