Skip to content

feat: Change date_range 'holidays' type-annotation to Collection instead of Sequence #91

@aleewen

Description

@aleewen

In date_range, the argument holidays takes a Sequence[date] annotation. However, because ordering doesn't matter here, this can be changed to Collection[date]. I suspect that other arguments across the repo may be able to change as well to allow the type-checker to resolve properly.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions