MCPcopy Index your code
hub / github.com/microsoft/playwright-python / patch

Method patch

playwright/_impl/_fetch.py:217–244  ·  view source on GitHub ↗
(
        self,
        url: str,
        params: ParamsType = None,
        headers: Headers = None,
        data: DataType = None,
        form: FormType = None,
        multipart: MultipartType = None,
        timeout: float = None,
        failOnStatusCode: bool = None,
        ignoreHTTPSErrors: bool = None,
        maxRedirects: int = None,
        maxRetries: int = None,
    )

Source from the content-addressed store, hash-verified

215 )
216
217 async def patch(
218 self,
219 url: str,
220 params: ParamsType = None,
221 headers: Headers = None,
222 data: DataType = None,
223 form: FormType = None,
224 multipart: MultipartType = None,
225 timeout: float = None,
226 failOnStatusCode: bool = None,
227 ignoreHTTPSErrors: bool = None,
228 maxRedirects: int = None,
229 maxRetries: int = None,
230 ) -> "APIResponse":
231 return await self.fetch(
232 url,
233 method="PATCH",
234 params=params,
235 headers=headers,
236 data=data,
237 form=form,
238 multipart=multipart,
239 timeout=timeout,
240 failOnStatusCode=failOnStatusCode,
241 ignoreHTTPSErrors=ignoreHTTPSErrors,
242 maxRedirects=maxRedirects,
243 maxRetries=maxRetries,
244 )
245
246 async def put(
247 self,

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.95

Tested by

no test coverage detected