Samuel Colvin
Samuel Colvin
I'll try to merge for v1.10 soon.
@hauh is correct, if we're to support this, we would need to modify `_decompose_class` to try kwargs on get before `getattr`. Please update.
please update.
The docs build is failing because #4339 was merged. It'll be failing locally and the error message explains how to fix it, so should be easy to fix. Please update.
Thanks so much @Bobronium for looking into this. I wonder if we should delay this feature to V2? @Bobronium @dosisod @PrettyWood @hramezani what do you think?
The best option long term is https://github.com/pydantic/pydantic-core/issues/223, I think that there's quite an elegant solution in rust and we don't have to worry about breaking changes. My worry is that...
Thanks so much for understanding, we'll do our best to make this happen in V2.
If it fixed in master of is there a PR?
Thanks for reporting. Let's fix in V2, we should also double check documentation exactly matches logic then. Happy to accept a PR now to correct docs.
This is fixed in pydantic-core I believe using [speedate](https://github.com/samuelcolvin/speedate), will be released in V2. Let me know if the rules applied by `speedate` are not satisfactory.