Commit Graph

3 Commits

Author SHA1 Message Date
Vishakha Agarwal 4530041931 Remove six usage
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.

Change-Id: Icba56808f38277b27af2ae5aac4b8507dee71b3b
2020-01-30 06:06:51 +00:00
wangxiyuan d027dd2ba9 Add hint back
When do Flask refactor, some list APIs missed "hints"
for wrap_collection.

Add them back for list resource so that filters can work as
before

Change-Id: If32ca8d798c95436f72aa55ac7060e8eb7540de7
Partial-Bug: #1776504
2018-09-20 14:58:43 +08:00
Morgan Fainberg 3bad4cdbb7 Convert limits and registered limits to flask dispatching
Convert limits and registered limits to flask native dispatching.

NOTE: A minor test change was needed. The limit JSON Home data
      was incorrectly formatted and did not properly isolate the
      singular forms of "limit" and "registered_limit" from the
      plural (list) APIs.

Change-Id: Ib3ceeb0a249ccc73c143730fac78d9f54c67174e
Partial-Bug: #1776504
2018-08-06 12:37:49 -07:00