rotifer.db.uniprot.webapi.idmapping.get_batch#
- rotifer.db.uniprot.webapi.idmapping.get_batch(batch_response, file_format, compressed)[source]#
Iterate over the remaining pages of a paginated results response.
- Parameters:
- batch_responserequests.Response
Response for the first page already fetched.
- file_formatstr
One of
json,tsv,xlsxorxml.- compressedbool
Whether the response bodies are gzip-compressed.
- Yields:
- object
Decoded contents of each subsequent page, as returned by
decode_results().