OpenStack Identity Authentication Library
Go to file
Eric Fried 51bfa030b1 raise_exc default in Adapter
It can be annoying to have to say raise_exc=False (or use try/except) on
every call when talking to an API where 4xx response codes are
useful/normal/informative or where the preferred coding style is to use
conditionals rather than try/except.

With this change, the Adapter constructor takes a new kwarg, raise_exc.
It defaults to None, and the existing behavior is unchanged.  If set to
a boolean value, that is used as the default for requests.  Specifying
raise_exc to the primitives (get, head, put, post, patch, delete,
request) at any point along the chain will still take precedence.

Change-Id: Ie291c3cb891467728d8ca33cf62afdab37c82f34
Closes-Bug: #1776501
2018-06-12 10:48:39 -05:00
doc Updated from global requirements 2018-03-23 01:02:37 +00:00
keystoneauth1 raise_exc default in Adapter 2018-06-12 10:48:39 -05:00
releasenotes Add optional support for retrying certain HTTP codes 2018-05-29 14:54:56 +02:00
.coveragerc Update coverage to keystoneauth1 2015-12-09 11:46:00 +11:00
.gitignore Migrate to stestr 2017-09-20 15:47:15 -05:00
.gitreview Initial Split of python-keystoneclient to keystoneauth 2015-04-20 14:49:59 -07:00
.mailmap Add mailmap entry 2014-05-07 12:12:43 -07:00
.stestr.conf Migrate to stestr 2017-09-20 15:47:15 -05:00
.zuul.yaml add lower-constraints job 2018-04-19 09:54:28 +02:00
CONTRIBUTING.rst Use https for *.openstack.org references 2017-02-06 13:45:24 -08:00
HACKING.rst Migrate to stestr 2017-09-20 15:47:15 -05:00
LICENSE Initial Split of python-keystoneclient to keystoneauth 2015-04-20 14:49:59 -07:00
README.rst Trivial: Update pypi url to new url 2018-05-01 15:25:26 +00:00
bindep.txt add lower-constraints job 2018-04-19 09:54:28 +02:00
lower-constraints.txt Implement service_type alias lookups 2018-05-03 15:28:50 -05:00
requirements.txt Implement service_type alias lookups 2018-05-03 15:28:50 -05:00
setup.cfg add lower-constraints job 2018-04-19 09:54:28 +02:00
setup.py Updated from global requirements 2017-03-08 22:46:11 +00:00
test-requirements.txt add lower-constraints job 2018-04-19 09:54:28 +02:00
tox.ini fix tox python3 overrides 2018-06-06 15:27:00 -04:00

README.rst

Team and repository tags

image

keystoneauth

Latest Version

Downloads

This package contains tools for authenticating to an OpenStack-based cloud. These tools include:

  • Authentication plugins (password, token, and federation based)
  • Discovery mechanisms to determine API version support
  • A session that is used to maintain client settings across requests (based on the requests Python library)

Further information: