Alexandre Piccin
Alexandre Piccin
Any updates on this? If we could cache sync functions would be awesome!
@Krukov do you plan to add this feature? It's the only drawback I can see in this library.
## Problems - **RuntimeError risk**: previous implementation mutated dictionaries during iteration, leading to `RuntimeError: dictionary changed size during iteration`. - **Inconsistent paths**: separate logic for `dict` vs. `BaseModel` increased code...
Having the same problem here. Please update.
Any updates on when this feature is gonna be avaliable?
> I think both cases are bugs; in case in the OP the attribute being shadowed is a `ClassVar`. I think that's valid Python and not something Pydantic should care...
Hi @CrystalWindSnake. Thanks for the reply. I would go with the second approach. It fits both scenarios: If the user wants to dynamically change the theme, they should use shared=False...