-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Deprecate json_serializable_dataclass #4460
Copy link
Copy link
Closed
Labels
area/serializationkind/healthFor CI/testing/release process/refactoring/technical debt itemsFor CI/testing/release process/refactoring/technical debt itemstriage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on
Description
Activity
Metadata
Metadata
Assignees
Labels
area/serializationkind/healthFor CI/testing/release process/refactoring/technical debt itemsFor CI/testing/release process/refactoring/technical debt itemstriage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on
Dataclasses are implemented with somewhat complex metaprogramming, and
tooling (PyCharm, mypy) have special cases for dealing with classes
decorated with
@dataclass. There is very little support (and no plans forsupport) for decorators that wrap
@dataclasslike this.See #4391 for new suggested way of making dataclasses serializable