Skip to content

Expose DataclassInstance #115

Closed
Closed
@NeilGirdhar

Description

@NeilGirdhar

Just wanted to track this so that I can update my code if it happens.

There are various times when it's necessary to annotate something as a dataclass including

  • functions that accept dataclasses only, and
  • and dataclass-makers that return subclasses of dataclass.

Therefore, it would be very convenient to eventually expose DataclassInstance. Suggested here python/typeshed#9362 (comment), and moved to _typeshed here: python/typeshed#9676.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions