Go to file
Brian Curtin 50dd5bc5d3 Set Resource.page limit to None
Setting the Resource.page limit to None, which is how it gets used by
default from Resource.list, allows it to be used directly with the same
ease as Resource.list. For APIs which return lists but don't support
pagination, this allows us to provide users the same iteration behavior
across the board.

For an example of where this comes into play, a GET on /types in the
volume service returns a list of types in a single response with
no pagination support. If we call Types.list(session) it will be an
infinite loop. With this change, Types.page(session) allows the Type
proxy to yield type objects out of that one page.

Change-Id: I242a9fd0cd6d21b891d91e2fe69006a1f0ec3a15
2015-02-08 19:09:45 -06:00
2015-02-08 19:09:45 -06:00
2014-04-21 09:31:52 -06:00
2014-10-07 16:03:53 -06:00
2015-02-02 19:56:56 -06:00
2014-11-13 08:11:58 -07:00
2014-06-16 14:03:30 -07:00
2015-01-26 12:27:53 -07:00

OpenStack Python SDK

python-openstacksdk is a new Python library and SDK for OpenStack clouds. It is very young, and not yet usable, but it's under active development.

Our goal is to provide a Python library which is:

  • Pleasant to use
  • Well documented
  • Complete (works with any OpenStack project)

Building Documentation

This documentation is written by contributors, for contributors.

The source is maintained in the doc/source/ folder using reStructuredText and built by Sphinx

To build the docs locally:

$ python setup.py build_sphinx

Results are in the doc/build/html/ directory.

Requirements

  • Python 2.6+, Python 3.3+
  • pbr
  • requests
  • iso8601
  • stevedore

License

Apache 2.0

Description
RETIRED, further work has moved to Debian project infrastructure
Readme 3 MiB