How to remove the limits in python code for Dremio Rest API get

I am currently using python to connect Dremio Rest API to select Dremio metadata table, the expected result for my query is 2000+ items of data, but I found there is limitation for this way to access Dremio data, the maximum of returned data is 500 items, and default set is 100 items, how can I make my code can return all result of my query?
Thank you.