Mehmet Berkay Özbay

Results 7 comments of Mehmet Berkay Özbay

Using dataclasses instead of pydantic in a project can make it less dependent on third-party packages for data validation and settings management. For example, in my own Python client for...

> Ah, good suggestion. I opted for `pydantic` as there is less boilerplate to write and there is more standardisation for error handling (not to mention it's now it is...

> > > Ah, good suggestion. I opted for `pydantic` as there is less boilerplate to write and there is more standardisation for error handling (not to mention it's now...

> I seem to have made a mistake. The current version of `pydantic` is still built in Python, the upcoming release [V2](https://docs.pydantic.dev/latest/blog/pydantic-v2/) will be built in Rust. Saying this, I...

there is only one question (in my opinion) is needed to answer, will we keep using the original `json` of python or `json` function of `pydantic` package? My suggestion is...

> > there is only one question (in my opinion) is needed to answer, will we keep using the original `json` of python or `json` function of `pydantic` package? My...

> I am happy to throw together a PR for this feature with what we have discussed here. Along with some unit tests 😉 Of course 😆