Skip to content

TYP: Remove Sequence[str] in type annotations #47232

Open
@Dr-Irv

Description

@Dr-Irv

In various places, we use Sequence[str] as a type annotation. The problem is that a regular string also matches Sequence[str] . So we need to look at the various places we use Sequence[str] and change the type accordingly. Maybe just List or ArrayLike, dependent on the context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Typingtype annotations, mypy/pyright type checking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions