[openstack-dev] [Heat] About the DEFAULT_PAGE_SIZE

Qiming Teng tengqim at linux.vnet.ibm.com
Thu Nov 27 16:14:15 UTC 2014


It looks like some constants not yet used in pagination.

(refer to: heatclient/v1/stacks.py: StackManager.list())

Regards,
  Qiming

On Thu, Nov 27, 2014 at 03:56:07PM +0800, Baohua Yang wrote:
> Hi, all
>      Just notice there're several DEFAULT_PAGE_SIZE=20 lines inside the
> latest python-heatclient package, e.g.,
> 
> $ grep DEFAULT_PAGE_SIZE . -r
> ./heatclient/v1/actions.py:DEFAULT_PAGE_SIZE = 20
> ./heatclient/v1/events.py:DEFAULT_PAGE_SIZE = 20
> ./heatclient/v1/resources.py:DEFAULT_PAGE_SIZE = 20
> 
>       What is that for? I checked the source code, but no where utilizes
> that.
>       From google, it seems some Java things?
> 
>       Thanks!
> 
> -- 
> Best wishes!
> Baohua

> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list