The recent change to using a default PAGE_SIZE from app.config causes a KEY_ERROR if the PAGE_SIZE config option is not set, as it is not by default when initializing an API object from an existing Flask app (as is done in most of the documentation).
The simplest fix seems to be to ensure the default page size is set in init in addition to init_app() of the Api class, although the tests and documentation seem split about the preferred way to construct the Api object.
The recent change to using a default PAGE_SIZE from app.config causes a KEY_ERROR if the PAGE_SIZE config option is not set, as it is not by default when initializing an API object from an existing Flask app (as is done in most of the documentation).
The simplest fix seems to be to ensure the default page size is set in init in addition to init_app() of the Api class, although the tests and documentation seem split about the preferred way to construct the Api object.