Skip to content

Commit

Permalink
Import Request and Response directly from requests (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
burnash authored Apr 11, 2024
1 parent aabc320 commit d48942f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dlt/sources/helpers/rest_client/detector.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import re
from typing import List, Dict, Any, Tuple, Union, Optional, Callable, Iterable

from dlt.sources.helpers.requests import Response
from requests import Response

from .paginators import (
BasePaginator,
Expand Down
2 changes: 1 addition & 1 deletion dlt/sources/helpers/rest_client/paginators.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Optional
from urllib.parse import urlparse, urljoin

from dlt.sources.helpers.requests import Response, Request
from requests import Response, Request
from dlt.common import jsonpath


Expand Down
2 changes: 1 addition & 1 deletion dlt/sources/helpers/rest_client/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Callable,
Any,
)
from dlt.sources.helpers.requests import Response
from requests import Response


HTTPMethodBasic = Literal["GET", "POST"]
Expand Down

0 comments on commit d48942f

Please sign in to comment.