Skip to content

upgrade home-built sentinel to typing_extensions.Sentinel #4045

@d-v-b

Description

@d-v-b

We define a sentinel class here, and we use it throughout the codebase where want to allow None to work as a fill value declaration.

typing_extensions>=4.14 has a backport of the stdlib Sentinel type , which does the same thing as our home-built sentinel. So we should swap our implementation over to that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions