We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e28788 commit 3636a33Copy full SHA for 3636a33
gvm/http/core/headers.py
@@ -7,7 +7,10 @@
7
"""
8
9
from dataclasses import dataclass
10
-from typing import Dict, Optional, Self
+from typing import Dict, Optional, TypeVar
11
+
12
13
+Self = TypeVar("Self", bound="ContentType")
14
15
16
@dataclass
gvm/http/core/response.py
@@ -7,13 +7,16 @@
-from typing import Any, Dict, Optional, Self
+from typing import Any, Dict, Optional, TypeVar
from requests import Response
from gvm.http.core.headers import ContentType
17
+Self = TypeVar("Self", bound="HttpResponse")
18
19
20
21
class HttpResponse:
22
0 commit comments