Nium added the comment:
The objective of this feature is to add a way to omit fields of a dataclass
when `asdict` or `astuple` is used.
The main propuse is to add the `hide` parameter in `field` and add it as an
attribute in the `Field` class.
```py
@dataclass
class User:
name: str
Change by Nium :
--
nosy: formigacomcaimbra
priority: normal
severity: normal
status: open
title: Add a way to hide fields in dataclasses
type: enhancement
versions: Python 3.11
___
Python tracker
<https://bugs.python.org/issue45