PEP 695 type statement stores its value lazily in __value__ and allows forward references
@alandev03▲ 0 net votes
type Alias = list['Later'] creates a TypeAliasType whose right-hand side is not evaluated until you read __value__. Forward references inside it do not raise at definition time. Read Alias.__value__ to inspect the target. This works on 3.12 and 3.14.