You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/13 20:33:15 UTC

[GitHub] [airflow-client-python] fredthomsen commented on issue #39: Handle pagination for client code

fredthomsen commented on issue #39:
URL: https://github.com/apache/airflow-client-python/issues/39#issuecomment-1012494113


   After some digging around looks like there is a lot of debate around this feature, and understandably so given the different ways pagination can be handled across different APIs.
   
   Some of the main issues I looked into for reference:
   - https://github.com/OAI/OpenAPI-Specification/issues/1835
   - https://github.com/OAI/OpenAPI-Specification/issues/1706
   
   Looks like Transposit has created an OpenAPI extension to handle some of the most common types of pagination to address this issue: https://www.transposit.com/blog/2019.12.10-using-extensions-to-support-pagination-in-openapi/, but this implementation isn't open sourced.  How it's done there is how I envisioned something like this working.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org