Re: [openstack-dev] [Heat] About the DEFAULT_PAGE_SIZE
Thanks qiming! On Fri, Nov 28, 2014 at 12:14 AM, Qiming Teng 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@lists.openstack.org > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Best wishes! Baohua ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Heat] About the DEFAULT_PAGE_SIZE
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@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Heat] About the DEFAULT_PAGE_SIZE
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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev