Skip to content

Commit fc10a19

Browse files
Update stubs/httpretty/httpretty/core.pyi
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
1 parent e8a8d37 commit fc10a19

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

stubs/httpretty/httpretty/core.pyi

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ class URIMatcher:
119119
def get_next_entry(self, method: _HTTPMethod, info: URIInfo, request: HTTPrettyRequest) -> Entry: ...
120120

121121
class httpretty(HttpBaseClass):
122-
GET: Literal["GET"]
123-
PUT: Literal["PUT"]
124-
POST: Literal["POST"]
125-
DELETE: Literal["DELETE"]
126-
HEAD: Literal["HEAD"]
127-
PATCH: Literal["PATCH"]
128-
OPTIONS: Literal["OPTIONS"]
129-
CONNECT: Literal["CONNECT"]
122+
GET: Final = "GET"
123+
PUT: Final = "PUT"
124+
POST: Final = "POST"
125+
DELETE: Final = "DELETE"
126+
HEAD: Final = "HEAD"
127+
PATCH: Final = "PATCH"
128+
OPTIONS: Final = "OPTIONS"
129+
CONNECT: Final = "CONNECT"
130130
METHODS: tuple[_HTTPMethod, ...]
131131
latest_requests: list[HTTPrettyRequest]
132132
last_request: HTTPrettyRequest | HTTPrettyRequestEmpty

0 commit comments

Comments
 (0)