```python class Foo(Enum): A = 1 F = Foo # works x: Literal[Foo.A] # name-defined error y: Literal[F.A] ``` Is there a simple workaround here? I also tried `F: Final = Foo` which doesn't work either