diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-08-19 20:26:47 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-08-19 20:26:47 +0000 |
commit | fe14c8435376733bc678ee478221ed0b4b1b69e0 (patch) | |
tree | 3094236d377cda3de433808073781d6d7de8e7c5 | |
parent | 7a3726b1b88c6dc915818e06778c2adbfb6975ac (diff) | |
parent | 20bfbf1cc4fee08669dd02b7807ea46d4787a897 (diff) | |
download | python-keystoneclient-fe14c8435376733bc678ee478221ed0b4b1b69e0.tar.gz |
Merge "Follow up patch for Improve docs for v3 policies"
-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( |