Skip to content

Commit

Permalink
Remove paginate import (#1154)
Browse files Browse the repository at this point in the history
  • Loading branch information
burnash authored Mar 27, 2024
1 parent ab31329 commit 7e8eed7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions dlt/sources/helpers/requests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@
from requests.exceptions import ChunkedEncodingError
from dlt.sources.helpers.requests.retry import Client
from dlt.sources.helpers.requests.session import Session
from dlt.sources.helpers.rest_client import paginate
from dlt.common.configuration.specs import RunConfiguration

client = Client()

get, post, put, patch, delete, options, head, request, paginate = (
get, post, put, patch, delete, options, head, request = (
client.get,
client.post,
client.put,
Expand All @@ -29,7 +28,6 @@
client.options,
client.head,
client.request,
paginate,
)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

from dlt.sources.helpers.requests import paginate
from dlt.sources.helpers.rest_client import paginate
from dlt.sources.helpers.rest_client.paginators import JSONResponsePaginator
from .conftest import assert_pagination

Expand Down

0 comments on commit 7e8eed7

Please sign in to comment.