iter_all still includes the attribute keyword arg when short circuiting to iter_cursor
Deconstrained opened this issue · comments
Demitri Morgan commented
This could lead to an error when using iter_all
or any of its wrappers (i.e. list_all
) on an endpoint that supports cursor-based pagination.
It's a very young use case but it is sure to come up and cause issues for users eventually.
See:
https://github.com/PagerDuty/pdpyras/blob/main/pdpyras.py#L1740