codethief
(codethief)
6
@JakubDotPy
Just to throw an idea, maybe the Final variables could be inferred as TypedDict in the same way that x: Final = 123 is inferred as Literal[123]?
This was already brought up in the other thread:
and there were two responses (mine included) arguing why Final would not be appropriate.
1 Like