Skip to content

Provide a better way to allow static type-narrowing for the UPath constructor #446

@ap--

Description

@ap--

Currently it seems all python type-checkers seem to have some limitation regarding either __new__ overloads or type.__call__ overloads.

see: #435

This issue tracks if we can come up with a better way to overload the constructor thats supported by all typecheckers.

xref / blocked-by:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions