Open mxr opened 2 weeks ago
The type definition permits list[str] | Callable[[], list[str]] however a tuple is valid too. Updating the type definition to use Sequence[str] | Callable[[], Sequence[str]] to allow using a tuple without errors
list[str] | Callable[[], list[str]]
Sequence[str] | Callable[[], Sequence[str]]
The type definition permits
list[str] | Callable[[], list[str]]
however a tuple is valid too. Updating the type definition to useSequence[str] | Callable[[], Sequence[str]]
to allow using a tuple without errors