A string literal containing only characters from a given set should be a subtype of Sequence of the union of those literal characters.
from collections.abc import Sequence
from typing import Literal
def func(tags: Sequence[Literal["a", "b"]]) -> None:
pass
func("abba")
https://play.ty.dev/381e87b8-2438-4287-a1cd-2e26c04a6dd1