facebook / facebook/pyrefly

is it possible to consider change to P.kwargs

Open
#3,953 1 comment 0 reactions 0 assignees View on GitHub
needs-discussion typechecking
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

```py
def post(self, *args: t.Any, **kw: t.Any) -> TestResponse:
"""Call :meth:`open` with ``method`` set to ``POST``."""
kw["method"] = "POST"
return self.open(*args, **kw)
```

example:

in flask, it will inject "method" as "POST".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.