diff options
author | Brant Knudson <bknudson@us.ibm.com> | 2014-10-12 19:11:39 -0500 |
---|---|---|
committer | Brant Knudson <bknudson@us.ibm.com> | 2014-10-15 12:24:52 -0500 |
commit | 3f1ba9f007528a7ddad7cb53ef75f7bb1026a4d1 (patch) | |
tree | e0f520f36ec6312e0cf3b3f417fcb197ebb1e490 /keystoneclient/adapter.py | |
parent | 8b267842a701970d4e1aae2f115afe4d73bc5ee6 (diff) | |
download | python-keystoneclient-3f1ba9f007528a7ddad7cb53ef75f7bb1026a4d1.tar.gz |
Docstring cleanup for return type
The :returns: directive doesn't take an argument. To specify the
return type, use the :rtype: directive.
Change-Id: I3aaab824792333b3f75a10af92f5b712cc9b4ff6
Diffstat (limited to 'keystoneclient/adapter.py')
-rw-r--r-- | keystoneclient/adapter.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/keystoneclient/adapter.py b/keystoneclient/adapter.py index 3d65d78..b75b713 100644 --- a/keystoneclient/adapter.py +++ b/keystoneclient/adapter.py @@ -95,7 +95,8 @@ class Adapter(object): :raises AuthorizationFailure: if a new token fetch fails. - :returns string: A valid token. + :returns: A valid token. + :rtype: string """ return self.session.get_token(auth or self.auth) @@ -108,7 +109,8 @@ class Adapter(object): :raises MissingAuthPlugin: if a plugin is not available. - :returns string: An endpoint if available or None. + :returns: An endpoint if available or None. + :rtype: string """ self._set_endpoint_filter_kwargs(kwargs) return self.session.get_endpoint(auth or self.auth, **kwargs) |