1
0
Fork 0

[networking] Add PATCH request shortcut (#12884)

Authored by: doe1080
This commit is contained in:
doe1080 2025-04-18 08:46:19 +09:00 committed by GitHub
commit ceab4d5ed6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,7 @@ import warnings
from .common import (
HEADRequest,
PATCHRequest,
PUTRequest,
Request,
RequestDirector,

View file

@ -505,6 +505,7 @@ class Request:
HEADRequest = functools.partial(Request, method='HEAD')
PATCHRequest = functools.partial(Request, method='PATCH')
PUTRequest = functools.partial(Request, method='PUT')