mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 16:27:42 -02:30
Enable the export of several relation field types
This commit is contained in:
@@ -273,7 +273,7 @@ class Page(object):
|
||||
def get(self, all_pages=False, **query_parameters):
|
||||
r = self.connection.get(self.endpoint, query_parameters)
|
||||
page = self.page_identity(r)
|
||||
if all_pages and page.next:
|
||||
if all_pages and getattr(page, 'next', None):
|
||||
paged_results = [r.json()['results']]
|
||||
while page.next:
|
||||
r = self.connection.get(self.next, query_parameters)
|
||||
|
||||
Reference in New Issue
Block a user