From 742f9f306c82e17c2dbefbe5badea874ae567c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lennart=20Frid=C3=A9n?= Date: Fri, 1 Mar 2024 15:23:13 +0100 Subject: [PATCH] Import Protocol from typing instead of requiring an additional package --- src/requtests/fake_adapter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/requtests/fake_adapter.py b/src/requtests/fake_adapter.py index 69319a3..d145c44 100644 --- a/src/requtests/fake_adapter.py +++ b/src/requtests/fake_adapter.py @@ -1,6 +1,5 @@ from itertools import cycle -from typing import Any, List, Union -from typing_extensions import Protocol +from typing import Any, List, Protocol, Union from requests.adapters import BaseAdapter from requests.models import Response, PreparedRequest