Merge "Deprecate allow_sorting and allow_pagination options"
This commit is contained in:
@@ -54,9 +54,14 @@ core_opts = [
|
||||
cfg.BoolOpt('allow_bulk', default=True,
|
||||
help=_("Allow the usage of the bulk API")),
|
||||
cfg.BoolOpt('allow_pagination', default=True,
|
||||
help=_("Allow the usage of the pagination")),
|
||||
deprecated_for_removal=True,
|
||||
help=_("Allow the usage of the pagination. This option has "
|
||||
"been deprecated and will now be enabled "
|
||||
"unconditionally.")),
|
||||
cfg.BoolOpt('allow_sorting', default=True,
|
||||
help=_("Allow the usage of the sorting")),
|
||||
deprecated_for_removal=True,
|
||||
help=_("Allow the usage of the sorting. This option has been "
|
||||
"deprecated and will now be enabled unconditionally.")),
|
||||
cfg.StrOpt('pagination_max_limit', default="-1",
|
||||
help=_("The maximum number of items returned in a single "
|
||||
"response, value was 'infinite' or negative integer "
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
deprecations:
|
||||
- The ``allow_sorting`` and ``allow_pagination`` configuration options
|
||||
are deprecated and will be removed in a future release.
|
||||
Reference in New Issue
Block a user