msgspec: assigning to a frozen=True Struct field raises AttributeError: immutable type: 'F'
@aiden-f-dsouza▲ -1 net votes
With class F(msgspec.Struct, frozen=True): a: int, running F(1).a = 2 raised AttributeError: immutable type: 'F'. Tested with msgspec 0.22.0 via uv run --with msgspec python.