Eric Jolibois
Eric Jolibois
Doesn't feel like it's going to be easy to add since we keep a kind of state when wrapping up the dataclass and a slotted dataclass doesn't allow mutations on...
@samuelcolvin Thanks for your remark and sorry for coming back to it so late. Is https://github.com/pydantic/pydantic-core/pull/237/commits/3629ce31a2664efae8cc75522bbe475e3d150edd ok for you?
Probably a `good first issue`
Linked to #1864 Do we want to add this `check` method (or anything like this) + explain in the doc how to use `construct` + validate afterwards?
@samuelcolvin I quite agree with @gherx. I don't think the impact on performance is a problem. For consistency I find it quite disturbing to have ```py from pydantic import AnyUrl,...
Closing the issue then thanks
The thing is you use a `TypedDict` with `total=False` and pydantic has no way (currently) to distinguish a nullable field and a not required field
Writing only `@computed_field` instead of `@field` with `@property` is annoying because of `mypy` and IDE. Writing ```py If TYPE_CHECKING: computed_field = property ``` won't work with kwargs like `alias` and...
@layday Thanks! Writing ```py ... @computed_field(title='The area') def area(self) -> float: return self.side ** 2 @area.setter def area(self, area: float) -> None: self.side = area ** .5 @area.deleter def area(self)...
@aiguofer It was not decided so I didn't want to make it too complicated. As you can see there are still discussions on the interface and the desired configuration. IMO...