You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "test-recurly.py", line 13, in <module>
for page in pages:
File "recurly/pager.py", line 40, in __next__
page = self.__client._make_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "recurly/base_client.py", line 51, in _make_request
self._validate_options(options)
File "recurly/base_client.py", line 103, in _validate_options
raise ApiError(error, None)
recurly.base_errors.ApiError: Invalid options: limit. Allowed options: body, params, headers
To Reproduce
Create a valid recurly client with a valid API key according to the documentation.
Copy and paste the code examples mentioned above
Note that running it results in an exception with the error: Invalid options: limit. Allowed options: body, params, headers
Expected behavior
The code should run without errors
Your Environment
recurly==4.45.0
Python 3.12
MacOS
The text was updated successfully, but these errors were encountered:
Describe the bug
The documentation shows code examples on how to iterate around a paginated list of accounts/pages:
https://recurly-client-python.readthedocs.io/en/latest/#pagination
per-page
per-item
Both of these code examples fail:
To Reproduce
Invalid options: limit. Allowed options: body, params, headers
Expected behavior
The code should run without errors
Your Environment
The text was updated successfully, but these errors were encountered: