Skip to content

Commit

Permalink
set default paginator (#14678)
Browse files Browse the repository at this point in the history
  • Loading branch information
girarda authored Jul 13, 2022
1 parent 8dc558d commit a4c51cd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import requests
from airbyte_cdk.models import SyncMode
from airbyte_cdk.sources.declarative.extractors.http_selector import HttpSelector
from airbyte_cdk.sources.declarative.requesters.paginators.no_pagination import NoPagination
from airbyte_cdk.sources.declarative.requesters.paginators.paginator import Paginator
from airbyte_cdk.sources.declarative.requesters.requester import Requester
from airbyte_cdk.sources.declarative.retrievers.retriever import Retriever
Expand All @@ -30,7 +31,7 @@ def __init__(
):
self._name = name
self._primary_key = primary_key
self._paginator = paginator
self._paginator = paginator or NoPagination()
self._requester = requester
self._record_selector = record_selector
super().__init__(self._requester.get_authenticator())
Expand Down

0 comments on commit a4c51cd

Please sign in to comment.