Python Type Hinting with Literal | Towards Data Science
More powerful than it seems: use typing.Literal to create literal types

Source: Towards Data Science
More powerful than it seems: use typing.Literal to create literal types
More powerful than it seems: use typing.Literal to create literal types

Source: Towards Data Science