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 2eb305f commit e8a8d37Copy full SHA for e8a8d37
1 file changed
stubs/httpretty/httpretty/__init__.pyi
@@ -25,14 +25,14 @@ disable = httpretty.disable
25
is_enabled = httpretty.is_enabled
26
reset = httpretty.reset
27
Response = httpretty.Response
28
-GET: Literal["GET"]
29
-PUT: Literal["PUT"]
30
-POST: Literal["POST"]
31
-DELETE: Literal["DELETE"]
32
-HEAD: Literal["HEAD"]
33
-PATCH: Literal["PATCH"]
34
-OPTIONS: Literal["OPTIONS"]
35
-CONNECT: Literal["CONNECT"]
+GET: Final = "GET"
+PUT: Final = "PUT"
+POST: Final = "POST"
+DELETE: Final = "DELETE"
+HEAD: Final = "HEAD"
+PATCH: Final = "PATCH"
+OPTIONS: Final = "OPTIONS"
+CONNECT: Final = "CONNECT"
36
37
def last_request() -> HTTPrettyRequest | HTTPrettyRequestEmpty: ...
38
def latest_requests() -> list[HTTPrettyRequest]: ...
0 commit comments