Closed s-cork closed 1 year ago
It seems better to match the typing names, even if they're not what we might have chosen
merci do you think remove the aliases? Or just leave them in and not document them (whenever I get round to that)
The latter, I reckon
And should it be typeddict or typed_dict. Same question with notrequired vs not_required. Part of me prefers the no underscore version.
General convention is to convert camel case to snake, so the underscored option.
But maybe it can be like namedtuple?
There's plenty of stuff in the standard lib that was written well before pep8 existed and doesn't conform to it.
I don't think that justifies non-conformance today.
Ok - names changed - ready I think
Just drafting this so I can sleep on the idea but let me know what you think @meatballs
I think, at the moment, I prefer this, since it's closer to python's typing names
z.typeddict
is a bit verbose but hey... I didn't choose itI've left the TypeScript names in as aliases for convenience
See #120 for context