From 1c01821eba3864431e37ecdfe17c92bf2217ee7f Mon Sep 17 00:00:00 2001 From: Anton Burnashev Date: Thu, 11 Apr 2024 14:48:17 +0300 Subject: [PATCH] Import `Request` and `Response` directly from `requests` in client.py (#1211) --- dlt/sources/helpers/rest_client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlt/sources/helpers/rest_client/client.py b/dlt/sources/helpers/rest_client/client.py index 027afc7cbb..1c3e4d97b6 100644 --- a/dlt/sources/helpers/rest_client/client.py +++ b/dlt/sources/helpers/rest_client/client.py @@ -12,11 +12,11 @@ from urllib.parse import urlparse from requests import Session as BaseSession # noqa: I251 +from requests import Response, Request from dlt.common import logger from dlt.common import jsonpath from dlt.sources.helpers.requests.retry import Client -from dlt.sources.helpers.requests import Response, Request from .typing import HTTPMethodBasic, HTTPMethod, Hooks from .paginators import BasePaginator