Proposal: `PrivateSet[T]` — a type hint for externally read-only, internally writable fields

ReadOnly is arguably the best name for the purpose and should not cause confusion since the current use is confined to TypedDict only.

You can refer to the existing thread/PEP on this topic:

1 Like