Samuel Colvin

Results 1016 comments of Samuel Colvin

Thanks for reporting. Seems pretty niche, do you think we need to make any changes in pydantic it just update the docs?

Totally agree. We should review prior to V2 and make sure all pydantic types exhibit the same behaviour.

We'll see if we can support this in V2, no guarantees though.

Yes, it's fixed in pydantic-core and will be fixed in V2.

I'm not sure `x: Json[Dict[int, int]]` should be invalid actually. You may agree or disagree with pydantic's enthusiasm for coercion over validation (e.g. if you have an `int` field, `"1"`...

I acknowledge the problem, we'll need to find a fix in V2.

> Thanks @hramezani Do you have an estimated release date for V2? https://pydantic-docs.helpmanual.io/blog/pydantic-v2/#plan-timeframe

We don't have any special support for sqlalchemy. How is pydantic supposed to know it shouldn't loo at that attribute? This there's a generic way to say "this attitude is...