xrmx commented on issue #8937:
URL: https://github.com/apache/airflow/issues/8937#issuecomment-704467864


   Looking at the zenpy code it looks like that every endpoint is wrapped in a 
class, see https://github.com/facetoe/zenpy/blob/master/zenpy/__init__.py#L97. 
Can't see a sane way to map the plain path to a class to keep backwards 
compatibility. Said that we can leverage the `BaseApi` class in 
https://github.com/facetoe/zenpy/blob/master/zenpy/lib/api.py to get ratelimit 
handling for free. Do you have any thoughts?
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to