[openstack-dev] [Heat] About the DEFAULT_PAGE_SIZE

Baohua Yang yangbaohua at gmail.com
Fri Nov 28 01:39:56 UTC 2014


Thanks qiming!


On Fri, Nov 28, 2014 at 12:14 AM, Qiming Teng <tengqim at linux.vnet.ibm.com>
wrote:

> 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
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Best wishes!
Baohua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141128/c71d24ab/attachment.html>


More information about the OpenStack-dev mailing list