-
### Initial Checks
- [X] I have searched Google & GitHub for similar requests and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this feat…
-
### Initial Checks
- [X] I have searched Google & GitHub for similar requests and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this feat…
-
So after reasoning with @agraul in this thread [here](https://github.com/cobbler/libcobblersignatures/pull/34#discussion_r658921306), we have decided to get rid of properties and use a dataclass for `…
-
### Describe the bug
When setting the value for `error_handling` to `"raise"`, the behavior deviates from the expected. Instead of raising the exception through to the main process, the `raise erro…
-
### 📚 The doc issue
PyTorch provides a few initialization strategies. However, changing the default (Xavier), while made easier via the `nn.init` submodule, can result in code duplication. Is it wo…
-
`Cache` class was introduced as a proxy for instantiating the different backends. There should be only one way of doing things and `Cache` is the preferred way of doing that so will deprecate the othe…
-
```py
from typing import Callable
def x(f: Callable[[], None]):
f.__name__ # str
```
-
(Opening a new issue to continue the discussion from #2972 which will be closed by https://github.com/charliermarsh/ruff/pull/3022)
I went through all the PyCharm inspections, filtered those I deem…
-
Some ways to call certain functions are just wrong, and are known to be a bug. For example, [passing type=bool to argparse's add_argument method doesn't work](https://stackoverflow.com/q/15008758). To…
-
In plain FastAPI I can add headers to my response as described [here](https://fastapi.tiangolo.com/advanced/response-headers/#use-a-response-parameter)
```python
def get_headers(response: Response):…