Skip to content

Commit 343f4f4

Browse files
[gunicorn] Fix validate_post_request annotation
1 parent 448c4bb commit 343f4f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/gunicorn/gunicorn/config.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def validate_class(val: object) -> object: ...
184184
def validate_callable(arity: int) -> Callable[[str | _HookType], _HookType]: ...
185185
def validate_user(val: int | str | None) -> int: ...
186186
def validate_group(val: int | str | None) -> int: ...
187-
def validate_post_request(val: str | _ValidatorType) -> _PostRequestHookType: ...
187+
def validate_post_request(val: str | _HookType) -> _PostRequestHookType: ...
188188
def validate_chdir(val: str) -> str: ...
189189
@overload
190190
def validate_statsd_address(val: str) -> _AddressType: ...

0 commit comments

Comments
 (0)