mirror of
https://github.com/ansible/awx.git
synced 2026-06-25 00:18:07 -02:30
* Fix: handle cursor-paginated API responses in get_one() DAB PR #1025 switched role_team_assignments and role_user_assignments endpoints from PageNumberPagination to CursorPagination. Cursor pagination returns {results, next, previous} without a count field, causing get_one() to fail with "The endpoint did not provide count and results". When the response includes results but no count, infer count from len(results). Also guard get_all_endpoint() against missing count.