David Montague

Results 40 issues of David Montague

We ran into an issue where the .pyi file was broken for python3.7 which prevented us from using pydantic-core==2.0.0 in pydantic v2. Could we add testing for the type-checking in...

unconfirmed

This would help us more safely use of invalid schemas while building recursive generics in python (see [here](https://github.com/pydantic/pydantic/blob/5049d115edaa4615c45b46ae9362855d0fbc890d/pydantic/_internal/_core_utils.py#L205-L206)), and might even allow us to remove the use of `MockValidator`.

https://github.com/pydantic/pydantic/blob/5049d115edaa4615c45b46ae9362855d0fbc890d/pydantic/_internal/_core_utils.py#L232 I think given the utility we are getting from this and the fact that it is really not specific to pydantic in any way, it makes sense to move...

When assigning an open PR to someone in response to a "please review" comment — can we also have hooky add the user to the list of reviewers (the whole...

I realize I have done a terrible job of maintaining that repository, and given the recent activity on this fork, I'd be happy to give the maintainers of this repository...

question

# Description This closes https://github.com/open-telemetry/opentelemetry-python-contrib/issues/1742 — "httpx instrumentation doesn't work for httpx.get, httpx.post, etc.". The `httpx.get`, `httpx.post`, etc. methods ultimately use `httpx._api.request`, which makes instantiates `httpx._api.Client`. But `httpx.Client` is modified...

We are trying to set it up so that multiple different users can add the "linear" label to issues on GitHub, and get it to create a sync'ed issue in...

bug

### Description In this case, the outermost task did a retry of a failure, and the retry succeeded. I think what we can do to better handle things today is,...

Feature Request

Demonstration of the bug: ```python from dataclasses import field import pydantic @pydantic.dataclasses.dataclass(config=pydantic.ConfigDict(validate_assignment=True)) class X: x: int = field(init=False) def __post_init__(self): self.x = 0 X() ``` raises: ``` pydantic_core._pydantic_core.ValidationError: 1 validation...

bug V2
non-breaking-change

Ran into a bug trying to use `list[int]` as a field type on a `BaseModel` in Python 3.9. (Note it is also broken with Python 3.10.). Interestingly, things are handled...