original_docstring: Perform listing of entries returned from API endpoint - respect pagination if configured.
docstring: Perform listing of entries returned from API endpoint - respect pagination if configured.
docstring_tokens: Perform listing of entries returned from API endpoint - respect pagination if configured .
code: def _do_listing(cls, base_uri: str, query_string: str = None, page: int = 0, method: str = None):
          """Perform listing of entries returned from API endpoint - respect pagination if configured."""
          while True:
              uri = '{!s}?page={!s}&{!s}'.format(base_uri, page, query_string if query_string else "")
              response, headers = cls._call(uri, method=method or 'GET')
  
              for entry in response:
                  yield entry, headers
  
              if not Configuration().pagination:
                  return
  
              page = next_pagination_page(headers)
              if page is None:
                  return
code_tokens: def _do_listing ( cls , base_uri : str , query_string : str = None , page : int = 0 , method : str = None ) : while True : uri = '{!s}?page={!s}&{!s}' . format ( base_uri , page , query_string if query_string else "" ) response , headers = cls . _call ( uri , method = method or 'GET' ) for entry in response : yield entry , headers if not Configuration ( ) . pagination : return page = next_pagination_page ( headers ) if page is None : return
short_docstring: Perform listing of entries returned from API endpoint - respect pagination if configured.
short_docstring_tokens: Perform listing of entries returned from API endpoint - respect pagination if configured .
comment: """Perform listing of entries returned from API endpoint - respect pagination if configured."""