Go to file
Stephen Finucane f1ce4022d6 Handle missing endpoint, region, service
SDK will not return 'ResourceNotFound' for a list operation (like
'services'): it will only do that for a fetch operation (like
'get_service'):

  >>> import openstack
  >>> conn = openstack.connect(cloud='devstack-admin')
  >>> set(conn.identity.services(name='foo'))
  []
  >>> conn.identity.get_service('foo')
  Traceback (most recent call last):
    ...
  openstack.exceptions.NotFoundException: No Service found for foo: Client Error for url: http://example.com/identity/v3/services/foo, Could not find service: foo.

Correct our assumptions here.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I21bfa283c95ace092bc154e28f5d584d027c29f9
2025-11-26 13:01:49 +00:00
2025-11-16 13:11:16 +00:00
2018-05-17 18:06:06 +08:00
2020-03-03 14:52:45 +01:00
2019-04-19 19:29:49 +00:00
2018-05-17 18:06:06 +08:00
2018-05-17 18:06:06 +08:00
2018-06-21 21:39:22 +08:00
2018-05-17 18:06:06 +08:00
2025-11-17 15:24:27 +00:00
2025-11-21 22:03:45 +09:00
2025-11-16 13:11:16 +00:00
2025-11-16 13:11:16 +00:00

oslo.limit

image

Latest Version

Downloads

Oslo.limit is the limit enforcement library to assist with quota calculation. It aims to provide support for quota enforcement across all OpenStack services.

Description
Limit enforcement library to assist with quota calculation.
Readme 2 MiB
Languages
Python 100%