Skip to content

AttrsInstance protocol in the new attrs namespace #1089

@tsx

Description

@tsx

AttrsInstance protocol was added in #890

However attrs.asdict and attrs.astuple still take Any as the instance. This reduces type safety for people using the "modern" API. Was there any reason for these two functions being left out of the original AttrsInstance change?

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