pycrdt icon indicating copy to clipboard operation
pycrdt copied to clipboard

fixed getattr default on Typed classes

Open Faraphel opened this issue 2 months ago • 0 comments

See issue https://github.com/y-crdt/pycrdt/issues/314

reraise KeyError as an AttributeError when using getattr on Typed classes so that the function can recognize when to use the given default value.

Faraphel avatar Oct 09 '25 12:10 Faraphel